Skip to content
High 7.8

virtualenv で仮想環境名を介しコマンドを実行される恐れ

CVE-2026-113725 First seen on SecPulse

Summary

virtualenv の bash 用 activate スクリプトに、環境名の処理に不備があり、名前に特定の文字列を含めると、プロンプト表示のたびに利用者のシェルでコマンドが実行される問題が見つかりました。影響を受けるのは 21.14.7 より前の版です。修正版の 21.14.7 に更新してください。

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 の bash 用 activate スクリプトに、環境名の処理に不備があり、名前に特定の文字列を含めると、プロンプト表示のたびに利用者のシェルでコマンドが実行される問題が見つかりました。影響を受けるのは 21.14.7 より前の版です。修正版の 21.14.7 に更新してください。

Affected packages

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

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.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing $(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.

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