CVE-2016-3096 json
Link Following in ansible
published 2016-06-03 10 y ago modified 2026-06-17 4 mo ago also GHSA-rh6x-qvg7-rrmj , PYSEC-2016-1 , EUVD-2016-0001
- cvss
- 7.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.
Patch / fix
- pypi ansible 1.9.6.1, 2.0.2.0
- ansible Debian 14, Debian 13, Debian 12 2.0.1.0-2
debian advisories DEBIAN-CVE-2016-3096
- ansible Ubuntu 16.04 LTS 2.0.0.2-2ubuntu1.3
ubuntu advisories UBUNTU-CVE-2016-3096
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ansible-14 openSUSE Tumbleweed 14.6.0-1.1
- ansible-13 openSUSE Tumbleweed 13.7.0-1.1
- ansible-12 openSUSE Tumbleweed 12.2.0-1.1
- ansible-11 openSUSE Tumbleweed 11.11.0-1.1
- ansible-10 openSUSE Tumbleweed 10.6.0-1.1
- ansible-9 openSUSE Tumbleweed 9.8.0-1.1
- ansible openSUSE Tumbleweed 2.2.0.0-1.1
opensuse advisories openSUSE-SU-2026:12447-1openSUSE-SU-2026:10944-1openSUSE-SU-2025:15753-1openSUSE-SU-2025:15605-1openSUSE-SU-2024:14536-1openSUSE-SU-2024:14244-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-3096 updated cvss 6.2
ansible: Code execution vulnerability in lxc_container
-
Red Hat OpenShift Enterprise 3 ansiblenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible | >=2.0.0.0, <2.0.2.0 <1.9.6.1 <2.0.2.0 |
2.0.2.0 1.9.6.1 |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4
patch, web
-
github.com
/ansible/ansible-modules-extras/pull/1941
web, patch
-
github.com
/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away
web, patch
-
github.com
/ansible/ansible-modules-extras/commit/7c3999a92a1cd856ff9bc8913a93ff1aee8bffc3
web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183274.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183252.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-May/184175.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183132.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183103.html
vendor-advisory, web, third-party-advisory
-
security.gentoo.org
/glsa/201607-14
vendor-advisory, web, third-party-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1322925
web, issue-tracking, report
-
groups.google.com
/forum/#%21topic/ansible-announce/tqiZbcWxYig
mailing-list, web
-
groups.google.com
/forum/#%21topic/ansible-announce/E80HLZilTU0
mailing-list, web
-
github.com
/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-3096
advisory
-
github.com
/advisories/GHSA-rh6x-qvg7-rrmj
advisory
-
github.com
/ansible/ansible
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2016-1.yaml
web
-
groups.google.com
/forum/#!topic/ansible-announce/E80HLZilTU0
web
-
groups.google.com
/forum/#!topic/ansible-announce/tqiZbcWxYig
web
Sources
- CVE List CVE-2016-3096
- GitHub Advisory GHSA-rh6x-qvg7-rrmj
- NVD CVE-2016-3096
- OSV PYSEC-2016-1
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.