AI Science Tracker

Generated POSIX console launchers interpret destination paths as shell syntax

virtualenv (Python virtual environment creation and seeding tool) · AI involvement attributed to Anthropic OSS Scanner (specific model/version not identified in the item-level advisory)

Finding and attribution

A destination path passed to virtualenv can be embedded incompletely quoted in a generated POSIX console launcher. When the launcher is later executed, shell expansions in a path containing spaces or a long shebang can run commands with the user’s privileges. Creation and activation alone do not trigger it; Windows launchers are unaffected.

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-113722.

AI and human contribution (source account): The primary pypa advisory credits Anthropic OSS Scanner report ANT-2026-5DZVLGL1 and includes observed control/attack reproductions. Anthropic says OSS Scanner reports are generated by its strongest models; model/version for this item is unspecified.

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. Virtualenv quotes raw interpreter paths for POSIX wrappers and repairs launchers written by pip seeding. Recreate environments to regenerate existing launchers. A later pip install/upgrade can reintroduce affected launchers because pip’s vendored distlib is not changed; use trusted destination paths. 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: High · highest recorded score 7.8. Documented technical effects: code execution.

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-113722: code execution.
Prerequisites / affected scope: When an attacker influences a virtualenv destination interpreter path with spaces or long shebang, generated POSIX shell wrapper expands command substitutions/backticks..
Exploitation evidence: The cited source does not establish exploitation in the wild.. Impact source · checked 16 Nov 2026.

Documented fix: Virtualenv quotes raw interpreter paths for POSIX wrappers and repairs launchers written by pip seeding. Recreate environments to regenerate existing launchers. A later pip install/upgrade can reintroduce affected launchers because pip’s vendored distlib is not changed; use trusted destination paths. Fixed in virtualenv 21.14.9. Deployed patch status is not checked.

Original evidence

Download this source record (JSON)

Open this case in the interactive tracker · Browse all static security cases