Skip to content
High 7.8

virtualenv 不正なプロンプト文字列でコマンドを実行される恐れ

CVE-2026-113723 First seen on SecPulse

Summary

virtualenv の 21.14.9 より前のバージョンでは、作成時に指定されたプロンプト文字列が bash の有効化スクリプト内で実行可能な構文として解釈される場合があります。攻撃者が virtualenv に渡す値を操作し、利用者がその環境を有効化してプロンプトを表示すると、任意のコマンドが実行されるおそれがあります。修正版の 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 の 21.14.9 より前のバージョンでは、作成時に指定されたプロンプト文字列が bash の有効化スクリプト内で実行可能な構文として解釈される場合があります。攻撃者が virtualenv に渡す値を操作し、利用者がその環境を有効化してプロンプトを表示すると、任意のコマンドが実行されるおそれがあります。修正版の 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, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 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