VDB
Sign up
MEDIUM6.3

PYSEC-2026-1120

Ansible symlink attack vulnerability

Quick fix

PYSEC-2026-1120 — ansible: upgrade to the fixed version with the command below.

pip install --upgrade 'ansible>=8.5.0'

Details

An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ansible
Introduced in: 0Fixed in: 8.5.0
Fixpip install --upgrade 'ansible>=8.5.0'

References