CVE-2014-4659: Ansible - Sensitive Credential Information Disclosure

ansible Updated 02 Oct 2025

Summary

20/02/2020
Yes i
Moderate
5.5

CVE-2014-4659: Ansible before 1.5.5 sets 0644 permissions for sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the "deb http://user:pass@s... Affects ansible versions < 1.5.5. Fixed in 1.5.5. How to fix ↓

Also tracked for

The same CVE-2014-4659 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 industry due to its simplicity and flexibility. However, prior to version 1.5.5, Ansible had a vulnerability that resulted in the incorrect permission setting for the sources.list file. This misconfiguration could potentially allow local users to access sensitive credential information in certain circumstances. The sources.list file is used to specify package repositories in Debian-based systems, and it can contain credentials in the format 'deb http://user:pass@server:port/'.

Vulnerability Detail

The vulnerability (CVE-2014-4659) in Ansible arises from the incorrect permission setting (0644) for the sources.list file. This misconfiguration allows local users to read the file and potentially obtain sensitive credential information. An attacker with local access to the system could exploit this vulnerability to gain unauthorized access to the package repositories and potentially escalate their privileges. It is important to note that this vulnerability only affects Ansible versions prior to 1.5.5.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.5.5

This is the first release that contains the fix.

pip install --upgrade "ansible==1.5.5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading Ansible is not immediately feasible, a temporary workaround is to manually set the correct permissions for the sources.list file. The file should be set to 0600, which restricts access to the owner only. This can be achieved by executing the following command:

chmod 0600 /path/to/sources.list

Conclusion

The vulnerability (CVE-2014-4659) in Ansible versions prior to 1.5.5 allows local users to potentially access sensitive credential information due to incorrect permission settings for the sources.list file. It is crucial to upgrade Ansible to version 1.5.5 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ansible →

Share this vulnerability

FAQ

Ansible is an open-source automation tool used for configuration management, application deployment, and orchestration.

The sources.list file is used in Debian-based systems to specify package repositories. It can contain credentials in the format 'deb http://user:pass@server:port/'.

The vulnerability occurs due to the incorrect permission setting (0644) for the sources.list file in Ansible versions prior to 1.5.5. This allows local users to read the file and potentially access sensitive credential information.

If exploited, this vulnerability could allow unauthorized access to package repositories and potentially lead to privilege escalation. Attackers with local access to the system could obtain sensitive credential information.

To fix this vulnerability, it is recommended to upgrade Ansible to version 1.5.5 or later. This version includes the necessary fix to set the correct permissions for the sources.list file.

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 version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.5.5

This is the first release that contains the fix.

pip install --upgrade "ansible==1.5.5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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