Skip to content
High 7.8

virtualenvで任意のコードを実行される恐れ

CVE-2026-113718 First seen on SecPulse

Summary

virtualenvのXonsh向け有効化スクリプト生成処理に脆弱性があり、GBKやBig5などのレガシーな多バイト文字コード環境で、利用者がスクリプトを読み込んだ際に任意の文を実行される恐れがあります。影響を受けるのは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.

virtualenvのXonsh向け有効化スクリプト生成処理に脆弱性があり、GBKやBig5などのレガシーな多バイト文字コード環境で、利用者がスクリプトを読み込んだ際に任意の文を実行される恐れがあります。影響を受けるのは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, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. 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