{"schemaVersion":3,"id":"CVE-2026-102925","aliases":["GHSA-p58f-9548-mpm2","BIT-virtualenv-2026-102925","PYSEC-2026-4013","UBUNTU-CVE-2026-102925","DEBIAN-CVE-2026-102925","CGA-833q-qf54-756f","CGA-wm24-rj2x-8526","CGA-357c-p3cf-7hf5","CGA-3mx9-g4h9-725q","CGA-hgp4-vjx4-6q3p","CGA-r5xg-qgrg-56vq"],"status":"published","duplicateOf":null,"title":null,"description":"virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values already escaped by shlex.quote inside an additional quoted context. In the bash and zsh script, a crafted virtual environment path reaches __VIRTUAL_ENV__ when a relocated environment's recorded directory is absent; in the fish script, crafted Tcl or Tk library paths reach __TCL_LIBRARY__ or __TK_LIBRARY__. The surplus quotes can terminate the data-only quoted run and leave shell metacharacters parsed as commands when a user sources the activation script, allowing code execution with that user's privileges. This issue is fixed in version 21.7.13.","dates":{"published":"2026-09-29T20:50:57.199Z","modified":"2026-09-30T19:25:16.653Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00153,"percentile":0.0403,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-30T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00153,"percentile":0.0403}],"last30":[{"date":"2026-09-30T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00153,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00153,"percentile":0.0403}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"chainguard","product":"mlflow-fips-iamguarded-compat","name":"mlflow-fips-iamguarded-compat","label":"mlflow-fips-iamguarded-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow-fips-iamguarded-compat","purlType":"apk","versions":[{"text":"< 3.16.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.1-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3-cassandra-medusa","name":"py3-cassandra-medusa","label":"py3-cassandra-medusa","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3-cassandra-medusa","purlType":"apk","versions":[{"text":"< 0.30.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.30.1-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"request-1276","name":"request-1276","label":"request-1276","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/request-1276","purlType":"apk","versions":[{"text":"< 0.30.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.30.1-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"py3-cassandra-medusa","name":"py3-cassandra-medusa","label":"py3-cassandra-medusa","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/py3-cassandra-medusa","purlType":"apk","versions":[{"text":"< 0.30.1-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.30.1-r3","eol":null,"hubHref":null},{"vendor":"debian","product":"python-virtualenv","name":"python-virtualenv","label":"python-virtualenv","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-virtualenv","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-virtualenv","name":"python-virtualenv","label":"python-virtualenv","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-virtualenv","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"pypa","product":"virtualenv","name":"virtualenv","label":"virtualenv","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 21.7.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 21.7.13","eol":null,"hubHref":"/vendor/pypa/virtualenv"},{"vendor":"PyPI","product":"virtualenv","name":"virtualenv","label":"virtualenv","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/virtualenv","purlType":"pypi","versions":[{"text":"< 21.7.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 21.7.13","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-p58f-9548-mpm2","label":"github.com/pypa/virtualenv/security/advisories/GHSA-p58f-9548-mpm2","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory"]},{"url":"https://github.com/pypa/virtualenv/pull/3252","label":"github.com/pypa/virtualenv/pull/3252","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX"]},{"url":"https://github.com/pypa/virtualenv/commit/4d5a105ec2a2723b8c7f4571bb68f4f71d01e3f6","label":"github.com/pypa/virtualenv/commit/4d5a105ec2a2723b8c7f4571bb68f4f71d01e3f6","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","REPORT"]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.7.13","label":"github.com/pypa/virtualenv/releases/tag/21.7.13","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102925","label":"nvd.nist.gov/vuln/detail/CVE-2026-102925","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2026-4013.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2026-4013.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/virtualenv","label":"github.com/pypa/virtualenv","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/virtualenv","label":"pypi.org/project/virtualenv","hostname":"pypi.org","tags":["WEB","PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2026-102925","label":"ubuntu.com/security/CVE-2026-102925","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-102925","label":"www.cve.org/CVERecord?id=CVE-2026-102925","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-102925","label":"security-tracker.debian.org/tracker/CVE-2026-102925","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102925.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102925.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11974-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11974-1"]},"timeline":[{"kind":"published","date":"2026-09-29T20:50:57.199Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-30T19:25:16.653Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:35:58.765Z","stale":false,"partial":false}}