Loading advisory.
Loading advisory.
Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible
A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and…
Published 2020-03-16 15:07 UTC · Modified 2024-09-04 20:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| ansible | PyPI | < 2.7.17 >= 2.8.0a1, < 2.8.11 >= 2.9.0a1, < 2.9.7 >= 2.8.0, < 2.8.9 >= 2.9.0, < 2.9.6 versions 1.0, 1.1, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5, 1.5.1, 1.5.2 and 161 more | 2.7.17, 2.8.11, 2.9.7, 2.8.9, 2.9.6 | pip install --upgrade 'ansible>=2.7.17'pip install --upgrade 'ansible>=2.8.11'pip install --upgrade 'ansible>=2.9.7'pip install --upgrade 'ansible>=2.8.9'pip install --upgrade 'ansible>=2.9.6' |
A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |