# CVE-2019-14905: Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.0, CNA) `CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.71% (percentile 49, 2026-11-26)
- **CWE:** CWE-20, CWE-73
- **Aliases:** GHSA-frxj-5j27-f8rf, PYSEC-2020-206
- **Published:** 2020-03-31T16:20:41.000Z
- **Modified:** 2026-06-17T02:19:17.563Z

## Who should check

- Projects that depend on PyPI package ansible (\>= 2.7.0a1, \< 2.7.16)
- Anyone running Red Hat Ansible 2.9.x before 2.9.3; 2.8.x before 2.8.8; 2.7.x before 2.7.16; 2.7.x and earlier

## Description

A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos\_file\_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.

## Affected and fixed versions

- PyPI `ansible`: affected \>= 2.7.0a1, \< 2.7.16; fixed 2.7.16, 2.8.8, 2.9.3 (osv)
- Red Hat Ansible: 2.9.x before 2.9.3; 2.8.x before 2.8.8; 2.7.x before 2.7.16; 2.7.x and earlier (cvelist)

## Mitigation

- Upgrade ansible to one of 2.7.16, 2.8.8, 2.9.3 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2019-14905. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2019-14905.md
Affected: ansible >= 2.7.0a1, < 2.7.16
Fixed in: 2.7.16, 2.8.8, 2.9.3

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.
```

## FAQ

### Is CVE-2019-14905 being exploited?

There is no confirmed exploitation: CVE-2019-14905 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2019-14905?

High: CVSS 7.3 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2019-14905?

ansible \>= 2.7.0a1, \< 2.7.16.

### Is there a fix for CVE-2019-14905?

Yes. Fixed in 2.7.16, 2.8.8, 2.9.3. Upgrade ansible to one of 2.7.16, 2.8.8, 2.9.3 (or later in the same release line).

### How do I check if I'm affected by CVE-2019-14905?

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.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2020:0218>
- vendor: <https://access.redhat.com/errata/RHSA-2020:0216>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html>
- vendor: <http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2019-14905>
- vendor: <https://github.com/advisories/GHSA-frxj-5j27-f8rf>
- patch: <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905>
- other: <https://github.com/ansible/ansible>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2019-14905>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-frxj-5j27-f8rf> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2020-206> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2019-14905> · JSON: <https://flawdb.com/api/v1/entries/CVE-2019-14905>
