CVE-2026-102938
Last modified
CVE-2026-102938 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses the file with str.splitlines() and accepts the last value for duplicate keys.
Description
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses the file with str.splitlines() and accepts the last value for duplicate keys. An attacker who influences --prompt, VIRTUALENV_PROMPT, or configuration input can insert a recognized line boundary and additional keys, including home, causing consumers to use an attacker-selected base interpreter or corrupted environment metadata. The security impact requires prompt input from outside the operator's trust boundary; directly supplied prompt content primarily corrupts the operator's own environment. This issue is fixed in version 21.7.11.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.7.11 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-102938?
How severe is CVE-2026-102938?
How do I fix CVE-2026-102938?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-102923SparkyFitness is a self-hosted, AI-powered health and fitnes…5.4
- CVE-2026-102925virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-102927HedgeDoc is an open source, real-time collaborative markdown…5.9
- CVE-2026-10293A flaw has been found in UTT HiPER 1200GW up to 2.5.3-170306…8.8
- CVE-2026-102930virtualenv is a tool for creating isolated virtual python en…7.7
- CVE-2026-102937virtualenv is a tool for creating isolated virtual python en…7.3
- CVE-2026-10294A vulnerability has been found in PackageKit up to 1.3.5. Af…4.3
- CVE-2026-102940OpenEMR is a free and open source electronic health records …9.6
- CVE-2026-102941The package github.com/gomarkdown/markdown is a Go library f…7.5
- CVE-2026-102943Dagu is a workflow engine with a built-in Web user interface…6.5
- CVE-2026-102944cpp-httplib is a C++ header-only HTTP/HTTPS library. Prior t…7.5
- CVE-2026-102946joserfc is a Python library that provides an implementation …9.1
Are you affected by CVE-2026-102938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
