Fabric vulnerable to symlink attack on tmp files
Fabric before 1.1.0 allows local users to overwrite arbitrary files via a symlink attack on (1) a /tmp/fab.*.tar file or (2) certain other files in the top level of /tmp/.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | fabric | < 1.1.0 | 1.1.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2185
- https://github.com/fabric/fabric/commit/3445b5653cd297039443110548fb3cab2e8e25af
- https://github.com/fabric/fabric/commit/d7470d2db919ffcee80c245cf87e6d8d4ba6909c
- https://bugzilla.redhat.com/show_bug.cgi?id=710462
- https://github.com/fabric/fabric
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629003
- http://code.fabfile.org/projects/fabric/files/Fabric-1.1.0.tar.gz
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062534.html
- http://www.openwall.com/lists/oss-security/2011/06/03/5
- http://www.openwall.com/lists/oss-security/2011/06/06/12
- https://pypi.org/project/fabric
- https://github.com/advisories/GHSA-xwg2-qc6c-7c3q
- Weakness (CWE)
CWE-59- Platform
- Python (PyPI)
- Package
fabric- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-808 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-xwg2-qc6c-7c3q - CC BY 4.0
Vulnerability history: fabric
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.