Live threats

All CVEs / Ansible-vault Project

CVE-2017-2809Ansible-vault Project Ansible-vault

High 7.8

Priority
47
CVSS 3.0
7.8
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
Yes
Published
Sep 14, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible-vault.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible-vault < 1.0.5 1.0.5 pip install "ansible-vault>=1.0.5"
PyPI ansible-vault < 1.0.5 1.0.5 pip install "ansible-vault>=1.0.5"

Per OSV / GitHub Advisories (GHSA-c2w9-48qc-qpj4, PYSEC-2017-5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ansible-vault_projectansible-vault≤ 1.0.4

Official sources

References

Links published by the sources. Open them with care.