CVE-2019-3828: Path Traversal Vulnerability in Ansible

ansible Updated 02 Oct 2025

Summary

15/04/2019
Yes i
Low
4.2

CVE-2019-3828: Ansible Path Traversal vulnerability. Affects ansible across 3 version ranges.

< 2.5.15 >= 2.6.0a1, < 2.6.14 >= 2.7.0a1, < 2.7.8

Fixed in 2.5.15, 2.6.14 or 2.7.8, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2019-3828 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Ansible is an open-source automation tool that allows users to automate IT tasks such as configuration management, application deployment, and orchestration. It is widely used in the DevOps community for its simplicity and flexibility. However, Ansible versions prior to 2.5.15, 2.6.14, and 2.7.8 are vulnerable to a path traversal vulnerability. This vulnerability enables an attacker to copy and overwrite files outside of the specified destination on the local Ansible controller host.

Vulnerability Detail

The path traversal vulnerability in Ansible arises from the lack of proper limitation on a pathname to a restricted directory. By not restricting an absolute path, an attacker can exploit this vulnerability to access and modify files outside of the intended destination. This can lead to unauthorized access, data leakage, and potential compromise of the Ansible controller host.

How To Fix

Latest published version: 14.5.0 as of 22 Oct 2026

pip install --upgrade "ansible==14.5.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.5.15 2.5.15
    pip install --upgrade "ansible==2.5.15"
  • >= 2.6.0a1, < 2.6.14 2.6.14
    pip install --upgrade "ansible==2.6.14"
  • >= 2.7.0a1, < 2.7.8 2.7.8
    pip install --upgrade "ansible==2.7.8"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the fixed versions of Ansible.

Conclusion

The path traversal vulnerability in Ansible can lead to unauthorized access, data leakage, and potential compromise of the system. It is crucial to upgrade to the fixed versions of Ansible (2.5.15, 2.6.14, or 2.7.8) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ansible →

Share this vulnerability

FAQ

This vulnerability allows an attacker to access and modify files outside of the intended destination on the local Ansible controller host. It can lead to unauthorized access, data leakage, and potential compromise of the system.

No, only Ansible versions prior to 2.5.15, 2.6.14, and 2.7.8 are affected by this vulnerability. It is recommended to upgrade to the fixed versions to mitigate the risk.

There is no known public exploit for this vulnerability at the moment. However, it is crucial to apply the recommended fix to prevent any potential exploitation.

No, this vulnerability can only be exploited by an attacker with access to the local Ansible controller host.

There is no evidence of active exploitation of this vulnerability at the moment. However, it is still recommended to apply the fix as a proactive security measure.

Related vulnerabilities

Recent vulnerabilities recorded for ansible.

How To Fix

Latest published version: 14.5.0 as of 22 Oct 2026

pip install --upgrade "ansible==14.5.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.5.15 2.5.15
    pip install --upgrade "ansible==2.5.15"
  • >= 2.6.0a1, < 2.6.14 2.6.14
    pip install --upgrade "ansible==2.6.14"
  • >= 2.7.0a1, < 2.7.8 2.7.8
    pip install --upgrade "ansible==2.7.8"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback