CVE-2019-3828
Ansible Path Traversal vulnerability
Also known as GHSA-74vq-h4q8-x6jv, PYSEC-2019-5
Mitigation
- Upgrade ansible to one of 2.5.15, 2.6.14, 2.7.8 (or later in the same release line).
Who should check
- Projects that depend on PyPI package ansible (< 2.5.15)
- Anyone running Red Hat Ansible 2.5.15; 2.6.14; 2.7.8
Vulnerability facts
- Affected
- ansible < 2.5.15
- Fixed in
- 2.5.15, 2.6.14, 2.7.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.2 (v3.0, CNA)CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: High
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.52% chance of exploitation in 30 days (percentile 38, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
Ansible fetch module before versions 2.5.15, 2.6.14, 2.7.8 has a path traversal vulnerability which allows copying and overwriting files outside of the specified destination in the local ansible controller host, by not restricting an absolute path.
Affected and fixed versions
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-2019-3828. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2019-3828.md Affected: ansible < 2.5.15 Fixed in: 2.5.15, 2.6.14, 2.7.8 Steps: 1. Search this machine and project for ansible (PyPI), Red Hat Ansible: 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
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html
- https://usn.ubuntu.com/4072-1/
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html
- https://access.redhat.com/errata/RHSA-2019:3744
- https://access.redhat.com/errata/RHSA-2019:3789
- https://nvd.nist.gov/vuln/detail/CVE-2019-3828
- https://github.com/advisories/GHSA-74vq-h4q8-x6jv
Patches
- https://github.com/ansible/ansible/pull/52133
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3828
- https://github.com/ansible/ansible/commit/396a2f74717477d80600450e2b7e45349d7b5110
- https://github.com/ansible/ansible/commit/4be3215d2f9f84ca283895879f0c6ce1ed7dd333
- https://github.com/ansible/ansible/commit/f3edc091523fbe301926b7a0db25fbbd96940d93
FAQ
Is CVE-2019-3828 being exploited?
There is no confirmed exploitation: CVE-2019-3828 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.52% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2019-3828?
Medium: CVSS 4.2 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2019-3828?
ansible < 2.5.15.
Is there a fix for CVE-2019-3828?
Yes. Fixed in 2.5.15, 2.6.14, 2.7.8. Upgrade ansible to one of 2.5.15, 2.6.14, 2.7.8 (or later in the same release line).
How do I check if I'm affected by CVE-2019-3828?
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.