Command injectionin Red Hat Ansible.
No public exploit found; not on exploited lists.
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.
- Upgrade ansible (PyPI) to 2.7.16, 2.8.8, 2.9.3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Aug 2019CVE ID reserved by redhat.
- 31 Mar 2020Published in the CVE List.
- 5 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Ansible vulnerabilities
Same weakness: Improper input validation
- bugzilla.redhat.com x_refsource_CONFIRM
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.fedoraproject.org vendor-advisory, x_refsource_FEDORA
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
Patchminder. CVE-2019-14905: Command injection in Red Hat Ansible. https://patchminder.com/cve/cve-2019-14905/ (accessed 5 December 2026).