4.5

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

Analyzed
AliasesGHSA-43mp-35q3-x3fqCGA-2r79-cjfm-wmmpCGA-mrp9-pv6q-cg7m
Published 20-10-2026Last modified 27-10-2026

Vulnerability summary

CVE-2026-113724 is a medium (CVSS 4.5) vulnerability in pypa virtualenv. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 27-10-2026
    Last modifiedVulnerability information updated.

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission with os.chmod(path, ...), which follows a symlink. A planted link inside a read-only directory can therefore cause a victim-owned target outside the destination that is initially not writable by the invoking user to become broadly writable before the retry fails, provided that user owns the target and can change its mode. Another account can use the widened mode only if it can traverse the target's parent directories; root does not reach the demonstrated failure path, and the operation does not itself read the target. This issue is fixed in version 21.14.9.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

11%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.20% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Virtualenv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard11 products
  • nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r8
  • nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-sglang< 0.7.0-r15
Debian1 product
  • python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
PyPI1 product
  • virtualenv< 21.14.9 | ≥ 21.7.5, < 21.14.9
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
Wolfi1 product
  • py3-cassandra-medusaAll versions (No fix recorded) | < 0.31.0-r1

7 vendors · 17 products

References

10 links