Skip to content
Noroxi
CVE-2019-3828· NVD / CVE Program· CNA redhat

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 out

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.

MediumCVSS 4.2 · v3.1—No exploit Fix available
Published
Mar 27, 2019
Updated
Jun 16, 2026
EPSS
0.5% · 43th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

16

Monitor

Low priority for now.

CVSS
16 / 40 · 4.2 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

CNA vs NVD score

NVD
4.2
CNA · redhat
4.2
agree

CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
redhatansible

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • redhat ansible2.5.0 and later · before 2.5.15
  • redhat ansible2.6.0 and later · before 2.6.14
  • redhat ansible2.7.0 and later · before 2.7.8

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • Red Hat Ansible

    • 2.5.15, 2.6.14, 2.7.8affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10ansiblefrom 2.5.0 · before 2.8.11-r02.8.11-r0
Alpine:v3.11ansiblefrom 2.5.0 · before 2.9.7-r02.9.7-r0
Alpine:v3.13ansible-basebefore 2.9.7-r02.9.7-r0
Alpine:v3.8ansiblefrom 2.5.0 · before 2.5.15-r02.5.15-r0
Alpine:v3.9ansiblefrom 2.5.0 · before 2.7.17-r02.7.17-r0
Debian:12ansiblebefore 2.7.7+dfsg-12.7.7+dfsg-1
Debian:9ansiblebefore 2.2.1.0-2+deb9u12.2.1.0-2+deb9u1
PyPIansiblefrom 2.5.0 · before 2.5.152.5.15
PyPIansiblefrom 2.6.0 · before 2.6.142.6.14
PyPIansiblefrom 2.6.0a1 · before 2.6.142.6.14
PyPIansiblefrom 2.7.0 · before 2.7.82.7.8
PyPIansiblefrom 2.7.0a1 · before 2.7.82.7.8
PyPIansiblebefore 2.5.152.5.15
Red Hat:ansible_engine:2::el7ansiblebefore 0:2.7.8-1.el7ae0:2.7.8-1.el7ae
Red Hat:ansible_engine:2.5::el7ansiblebefore 0:2.5.15-1.el7ae0:2.5.15-1.el7ae
Red Hat:ansible_engine:2.5::el7ansible-docbefore 0:2.5.15-1.el7ae0:2.5.15-1.el7ae
Red Hat:ansible_engine:2.6::el7ansiblebefore 0:2.6.14-1.el7ae0:2.6.14-1.el7ae
Red Hat:openstack:14::el7ansiblebefore 0:2.6.19-1.el7ae0:2.6.19-1.el7ae
SUSE:HPE Helion OpenStack 8ansiblebefore 2.4.6.0-3.9.12.4.6.0-3.9.1
SUSE:HPE Helion OpenStack 8ansible1before 1.9.6-7.3.11.9.6-7.3.1
SUSE:HPE Helion OpenStack 8ardana-ansiblebefore 8.0+git.1589740980.6c3bcdc-3.73.18.0+git.1589740980.6c3bcdc-3.73.1
SUSE:HPE Helion OpenStack 8ardana-clusterbefore 8.0+git.1585685203.3e71e49-3.36.18.0+git.1585685203.3e71e49-3.36.1
SUSE:HPE Helion OpenStack 8ardana-freezerbefore 8.0+git.1586539529.b7d295f-3.21.18.0+git.1586539529.b7d295f-3.21.1
SUSE:HPE Helion OpenStack 8ardana-input-modelbefore 8.0+git.1589740934.0e0ad61-3.39.18.0+git.1589740934.0e0ad61-3.39.1

+96

Other highest-scoring records for the same primary product.

  • CVE-2014-4678The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrar
    41Plan
  • CVE-2014-4657The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrar
    40Plan
  • CVE-2014-4967Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to
    40Plan
  • CVE-2014-4966Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substring
    40Plan
  • CVE-2017-7550A flaw was found in the way Ansible (2.3.x before 2.3.3, and 2.4.x before 2.4.1) passed certain parameters to the jenkins_plugin module.
    40Plan
  • CVE-2016-8628Ansible before version 2.2.0 fails to properly sanitize fact variables sent from the Ansible controller.
    37Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:ansible2.8.11-r0 · Alpine:v3.10Package registry (OSV)
alpine:ansible-base2.9.7-r0 · Alpine:v3.13Package registry (OSV)
debian:ansible2.7.7+dfsg-1 · Debian:12Package registry (OSV)
opensuse:ansible2.7.8-bp150.3.6.1 · openSUSE:Leap 15.0Package registry (OSV)
PyPI:ansible2.5.15Package registry (OSV)
PyPI:ansible2.6.14Package registry (OSV)
PyPI:ansible2.7.8Package registry (OSV)
red hat:ansible0:2.7.8-1.el7ae · Red Hat:ansible_engine:2::el7Package registry (OSV)
red hat:ansible-doc0:2.5.15-1.el7ae · Red Hat:ansible_engine:2.5::el7Package registry (OSV)
suse:ansible2.2.3.0-12.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:ansible2.7.8-bp150.3.6.1 · SUSE:Package Hub 12Package registry (OSV)
suse:crowbar-core4.0+git.1580209654.1d112d31f-9.66.5 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-ha4.0+git.1585316203.d6ad2c8-4.52.4 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:crowbar-openstack4.0+git.1589804581.9972163f0-9.71.4 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:grafana4.6.5-1.14.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:keepalived2.0.19-1.8.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:kibana4.6.3-5.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:memcached1.5.17-3.6.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:monasca-installer20180608_12.47-12.1 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-dashboard-theme-SUSE2016.2-5.12.4 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-manila3.0.1~dev30-4.12.2 · SUSE:OpenStack Cloud 7Package registry (OSV)
suse:openstack-manila-doc3.0.1~dev30-4.12.3 · SUSE:OpenStack Cloud 7Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
low · data can be read
Integrity
low · data or configuration can be modified
Availability
none

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality impact
Low
Integrity impact
Low
Availability impact
None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records