Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. virtualenv
  4. ›
  5. CVE-2026-113718

CVE-2026-113718: virtualenv: Xonsh activation literals depend on the script decoding codec

October 23, 2026

Caller-supplied prompt text can become executable syntax in the xonsh activation script. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment.

References

  • github.com/advisories/GHSA-394h-qwmc-48pf
  • github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0
  • github.com/pypa/virtualenv/pull/3432
  • github.com/pypa/virtualenv/releases/tag/21.14.9
  • github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf
  • nvd.nist.gov/vuln/detail/CVE-2026-113718

Code Behaviors & Features

Detect and mitigate CVE-2026-113718 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 21.14.9

Fixed versions

  • 21.14.9

Solution

Upgrade to version 21.14.9 or above.

Impact 7 HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/virtualenv/CVE-2026-113718.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 24 Oct 2026 00:16:51 +0000.