Finding and attribution
With the stdlib venv creator, a destination path containing Unicode line separators can be read back by splitlines() as configuration structure. An attacker-controlled destination can inject `home` and `include-system-site-packages` values into the final pyvenv.cfg; the built-in creator does not use this readback path.
Product: virtualenv (Python virtual environment creation and seeding tool). AI system: Anthropic OSS Scanner (specific model/version not identified in the item-level advisory). Team / organization: Anthropic and Python Packaging Authority (virtualenv maintainers).
CVE identifiers: CVE-2026-113715.
AI and human contribution (source account): The primary pypa advisory credits Anthropic OSS Scanner report ANT-2026-6ZQHJ6VI and presents its reproducer/control. Anthropic’s OSS Scanner documentation confirms reports are generated directly by its strongest models; no per-case model/version is supplied.
Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.
Discovery context: The pypa maintainer advisory publicly identifies an Anthropic OSS Scanner report ID for this individual issue. Anthropic says OSS Scanner sends reports directly from its strongest models; this case has no named model/version. No exploitation or zero-day claim is made.
Remediation status: fix documented. The venv creator rejects line-boundary characters before filesystem access, checks the resolved destination, and rebuilds final configuration from selected settings instead of merging the intermediate stdlib file. Use another creator or reject such paths on older versions. Requires an attacker to influence destination and the venv creator path. Fixed in virtualenv 21.14.9. Deployed patch status is not checked.
A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.
Disclosed 17 Oct 2026. AI attribution dated 17 Oct 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.
Recorded CVSS: Low · highest recorded score 2. Documented technical effects: data modification, other.
Severity, consequences and exploitation evidence
Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.
- CVE-2026-113715: CVSS 4.0 · 2 (Low) ·
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N. GitHub_M (CNA; CVE Program record) · checked 16 Nov 2026.
CVE-2026-113715: data modification, other.
Prerequisites / affected scope: virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untrusted caller who influences the destination pathname can include a line-boundary character such as U+2028 to inject keys including home and include-system-site-packages, causing path data to change configuration structure before final output. Setting include-system-site-packages to true weakens environment isolation, while an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. The builtin creator does not use this readback path. This issue is fixed in version 21.14.9. CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection').
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.
Documented fix: The venv creator rejects line-boundary characters before filesystem access, checks the resolved destination, and rebuilds final configuration from selected settings instead of merging the intermediate stdlib file. Use another creator or reject such paths on older versions. Requires an attacker to influence destination and the venv creator path. Fixed in virtualenv 21.14.9. Deployed patch status is not checked.