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

CVE-2026-113724: virtualenv: Deletion recovery can change a symlink target's mode

October 21, 2026

The deletion error handler obtains permission bits with lstat() but applies them through chmod(), which follows symlinks. On an eligible unlink failure this can change permissions outside the destination.

Anthropic’s OSS Scanner reported this as ANT-2026-UK90QC27 in virtualenv-20261015-005, received on 15 October 2026.

References

  • github.com/advisories/GHSA-43mp-35q3-x3fq
  • github.com/pypa/virtualenv/commit/2bfdc0230d1b2685fedfcfe66c835b9a2ec7c440
  • github.com/pypa/virtualenv/pull/3427
  • github.com/pypa/virtualenv/releases/tag/21.14.9
  • github.com/pypa/virtualenv/security/advisories/GHSA-43mp-35q3-x3fq
  • nvd.nist.gov/vuln/detail/CVE-2026-113724

Code Behaviors & Features

Detect and mitigate CVE-2026-113724 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 4.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

pypi/virtualenv/CVE-2026-113724.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:32 +0000.