Skip to content
High 8.4

virtualenvに設定の読み取り処理の脆弱性、環境の隔離が弱まるおそれ

CVE-2026-113715 First seen on SecPulse

Summary

2026年10月20日に公表されたCVE-2026-113715は、Python仮想環境ツールvirtualenvの脆弱性です。pyvenv.cfgの読み取りで行区切り文字が混ざると、設定項目が書き換えられ、システムのサイトパッケージの取り込みや標準ライブラリの読み込み先が変わるおそれがあります。21.14.9より前の版が対象で、修正版は21.14.9です。標準の作成処理はこの経路を使わないため、影響は限られるとされています。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

2026年10月20日に公表されたCVE-2026-113715は、Python仮想環境ツールvirtualenvの脆弱性です。pyvenv.cfgの読み取りで行区切り文字が混ざると、設定項目が書き換えられ、システムのサイトパッケージの取り込みや標準ライブラリの読み込み先が変わるおそれがあります。21.14.9より前の版が対象で、修正版は21.14.9です。標準の作成処理はこの経路を使わないため、影響は限られるとされています。

Affected packages

PackageAffected → Fixed
pypavirtualenv —
pipvirtualenv
< 21.14.9→ 21.14.9
PyPIvirtualenv
< 21.14.9→ 21.14.9
Bitnamivirtualenv
< 21.14.9→ 21.14.9

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untrusted caller who influences the destination pathname can include a line-boundary character such as U+2028 to inject keys including home and include-system-site-packages, causing path data to change configuration structure before final output. Setting include-system-site-packages to true weakens environment isolation, while an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. The builtin creator does not use this readback path. This issue is fixed in version 21.14.9.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details