Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-113724

published medium CVSS 3.1 · 4.5

virtualenv: Deletion recovery can change a symlink target's mode

Published
20 Oct 2026, 19:53:29 UTC
Updated
27 Oct 2026, 11:02:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pypa — virtualenv< 21.14.9 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvaarch64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvppc64le Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvs390x Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python313-virtualenvx86_64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvaarch64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvppc64le Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvs390x Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1
SUSE / openSUSE openSUSE-Tumbleweed python314-virtualenvx86_64 Advisory build 21.15.1-1.1 OPENSUSE-SU-2026:12372-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pypa virtualenv < 21.14.9 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

virtualenv: Deletion recovery can change a symlink target's mode

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
7517dbbf3697ba3a9a1a1ced44ef44ede7ede1df10a15832d1701fca56efee8e
Ingested
27 Oct 2026, 11:25:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected