Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐍
🐍 PyPI
Not in CISA KEV
MEDIUM severity

CVE-2019-14905 — ansible

MEDIUM

CVE-2019-14905 is a medium-severity (CVSS 5.6) Improper Input Validation vulnerability in ansible. A fix is available for ansible — see the affected versions and patch details below.

Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible

Also known asGHSA-frxj-5j27-f8rfPYSEC-2020-206
Published
Updated
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Oct 10, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs52th percentile — riskier than 52% of all scored CVEsHighest risk
0.00%0.41%0.83%1.24%0.1%0.7%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2019-14905 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

3 pkgs affected
🐍ansible🐍ansible🐍ansible

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

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 Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐍PyPIansible≥ 2.7.0a1&&< 2.7.162.7.16pip install --upgrade 'ansible==2.7.16'
🐍PyPIansible≥ 2.8.0a1&&< 2.8.82.8.8pip install --upgrade 'ansible==2.8.8'
🐍PyPIansible≥ 2.9.0a1&&< 2.9.32.9.3pip install --upgrade 'ansible==2.9.3'

Affected Products

8 products · 10 configurations
OS
fedorafedoraproject
1 version
30
Application
backports sleopensuse
1 version
15.0
OS
leapopensuse
1 version
15.1
Application
ansible engineredhat
≥ 2.9.0 && < 2.9.3
range
Application
ansible towerredhat
1 version
3.0.0
Application
ceph storageredhat
1 version
3.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for ansible, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update ansible to 2.7.16 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-14905 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

Ansible Engine 2.7.15, 2.8.7, and 2.9.2 as well as previous versions are affected. Red Hat Gluster Storage 3 and Red Hat Ceph Storage 3 no longer maintain their own version of Ansible. Therefore this fix will be consumed directly from core Ansible. In Red Hat OpenStack Platform, because the flaw has a lower impact and…

Workaround published by Red Hat
There is no mitigation for this issue, the flaw can only be resolved by applying updates.
Source: Red Hat security advisory for CVE-2019-14905 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Ansible Engine 2.7 for RHEL 7ansible-0:2.7.16-1.el7aeRHSA-2020:0217
Red Hat Ansible Engine 2.8 for RHEL 7ansible-0:2.8.8-1.el7aeRHSA-2020:0216
Red Hat Ansible Engine 2.9 for RHEL 7ansible-0:2.9.4-1.el7aeRHSA-2020:0215
Red Hat Ansible Engine 2 for RHEL 7ansible-0:2.9.4-1.el7aeRHSA-2020:0218

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2019-14905 in your dependencies?

Find it across PyPI, including transitive dependencies.

CVE-2019-14905: ansible — Fixed in 2.7.16