PatchSiren cyber security CVE debrief
CVE-2026-113721 pypa CVE debrief
CVE-2026-113721 debrief: Anthropic's OSS Scanner reported a vulnerability in virtualenv, where generated activation files and pyvenv.cfg can follow existing links and write outside the requested environment. This vulnerability can potentially lead to security issues if not addressed. Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure. The vulnerability is related to the template writer and configuration writer in virtualenv, which can write outside the requested environment. The affected code is in the template writer and configuration writer. The CVE record was published on 2026-10-22T17:
- Vendor
- pypa
- Product
- virtualenv
- CVSS
- MEDIUM 4.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-22
- Original CVE updated
- 2026-10-22
- Advisory published
- 2026-10-22
- Advisory updated
- 2026-10-22
Who should care
Defenders who use virtualenv should care about this vulnerability, as it can potentially lead to security issues. Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure. This vulnerability can be exploited by an attacker who can prepare file links in the destination before creation. The invoking user must have write permission at the linked target. The destination
Why it matters
CVE-2026-113721 is a vulnerability in virtualenv that can potentially lead to security issues if not addressed. Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure.
- Verify and update virtualenv to version 21.14.9 or later to prevent potential security issues
- Review environments for potential exposure to ensure security
Technical summary
The vulnerability is related to the template writer and configuration writer in virtualenv, which can write outside the requested environment. The affected code is in the template writer and configuration writer. The vulnerability can potentially lead to security issues if not addressed. Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure. This vulnerability can be exploited by an attacker who can prepare file links in the destination before creation. The invoking user must have write permission at the linked target.
Defensive priority
Defenders should prioritize verifying and updating virtualenv to version 21.14.9 or later, and review their environments for potential exposure.
Recommended defensive actions
- Verify and update virtualenv to version 21.14.9 or later
- Review environments for potential exposure
- Monitor for suspicious activity related to virtualenv
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The vulnerability was reported by Anthropic's OSS Scanner and is related to the template writer and configuration writer in virtualenv. The affected code is in the template writer and configuration writer.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-113721 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-113721
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-113721 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-113721
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
virtualenv: Generated files can follow existing destination links
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-558c-9hv2-4prj.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/pypa/virtualenv/security/advisories/GHSA-558c-9hv2-4prj
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/pypa/virtualenv/pull/3431
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/pypa/virtualenv/commit/d25f28699eefb1fc34a251e5adf2b5de844c36cd
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/pypa/virtualenv
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/pypa/virtualenv/releases/tag/21.14.9
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.