---
id: CVE-2011-2185
aliases:
  - GHSA-xwg2-qc6c-7c3q
  - PYSEC-2026-808
title: Fabric vulnerable to symlink attack on tmp files
summary: Fabric vulnerable to symlink attack on tmp files
severity: medium
vendor: fabric
product: fabric
ecosystem: pip
affected:
  - fabric < 1.1.0
patched:
  - fabric 1.1.0
published: '2022-05-17'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-xwg2-qc6c-7c3q'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2011-2185'
  - url: >-
      https://github.com/fabric/fabric/commit/3445b5653cd297039443110548fb3cab2e8e25af
  - url: >-
      https://github.com/fabric/fabric/commit/d7470d2db919ffcee80c245cf87e6d8d4ba6909c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=710462'
  - url: 'https://github.com/fabric/fabric'
  - url: 'http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629003'
  - url: 'http://code.fabfile.org/projects/fabric/files/Fabric-1.1.0.tar.gz'
  - url: >-
      http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062534.html
  - url: 'http://www.openwall.com/lists/oss-security/2011/06/03/5'
  - url: 'http://www.openwall.com/lists/oss-security/2011/06/06/12'
tags:
  - osv
  - pip
epss: 0.0033
epssPercentile: 0.26327
ingestedAt: '2026-07-08T18:25:54.705Z'
---

## Overview

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 packages

- `fabric < 1.1.0`

## Remediation

Upgrade to a patched release:

- `fabric 1.1.0`
