{"id":"DHI-3mfc-klhu-my2l-u7xo","summary":"virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes…","details":"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.","modified":"2026-11-21T12:30:03.250886361Z","published":"2026-11-10T04:12:10Z","upstream":["CVE-2026-102938"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-3mfc-klhu-my2l-u7xo"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102938"},{"type":"ADVISORY","url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-9h9j-4vrj-gf7g"},{"type":"FIX","url":"https://github.com/pypa/virtualenv/pull/3247"},{"type":"FIX","url":"https://github.com/pypa/virtualenv/commit/a30f995461043acb6cacbf3a890951563ccf7140"},{"type":"WEB","url":"https://github.com/pypa/virtualenv/releases/tag/21.7.11"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3295.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-102938"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-102930"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3296.html"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-102938"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9h9j-4vrj-gf7g"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-102938"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-102938"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-102938"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-102938"}],"affected":[{"package":{"name":"k8ssandra-medusa","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/k8ssandra-medusa"},"versions":["0.29.1-1","0.30.0-0","0.30.0-1","0.30.1-0","0.30.1-1","0.30.1-2","0.30.1-3","0.30.1-4","0.30.1-5","0.30.1-6","0.31.0-0","0.31.0-1","0.31.0-2","0.31.0-3","0.31.1-0","0.31.1-1","0.31.1-10","0.31.1-11","0.31.1-12","0.31.1-13","0.31.1-14","0.31.1-15","0.31.1-16","0.31.1-17","0.31.1-18","0.31.1-19","0.31.1-2","0.31.1-20","0.31.1-21","0.31.1-22","0.31.1-23","0.31.1-24","0.31.1-25","0.31.1-26","0.31.1-27","0.31.1-3","0.31.1-4","0.31.1-5","0.31.1-6","0.31.1-7","0.31.1-8","0.31.1-9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-3mfc-klhu-my2l-u7xo.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}