CVE-2011-4617
Virtualenv Allows Symlink Attack on /tmp/
Also known as GHSA-3jhc-wjqf-5f2c, PYSEC-2011-23
Mitigation
- Upgrade virtualenv to 1.5 or later.
Who should check
- Projects that depend on PyPI package virtualenv (< 1.5)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- virtualenv < 1.5
- Fixed in
- 1.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 1.2 (v2.0, NVD)AV:L/AC:H/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-59
- Modified
Description
virtualenv.py in virtualenv before 1.5 allows local users to overwrite arbitrary files via a symlink attack on a certain file in /tmp/.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI virtualenv | < 1.5 | 1.5 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2011-4617. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2011-4617.md Affected: virtualenv < 1.5 Fixed in: 1.5 Steps: 1. Search this machine and project for virtualenv (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://bitbucket.org/ianb/virtualenv/changeset/8be37c509fe5
- http://openwall.com/lists/oss-security/2011/12/19/4
- http://openwall.com/lists/oss-security/2011/12/19/2
- http://openwall.com/lists/oss-security/2011/12/19/5
- https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2011-23.yaml
- https://github.com/pypa/virtualenv
- https://web.archive.org/web/20200228151935/https://bitbucket.org/ianb/virtualenv/commits/8be37c509fe5
FAQ
Is CVE-2011-4617 being exploited?
There is no confirmed exploitation: CVE-2011-4617 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2011-4617?
Low: CVSS 1.2 (v2.0, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2011-4617?
virtualenv < 1.5.
Is there a fix for CVE-2011-4617?
Yes. Fixed in 1.5. Upgrade virtualenv to 1.5 or later.
How do I check if I'm affected by CVE-2011-4617?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.