Advisory

PYSEC-2026-1120

Also known as: CVE-2023-5115, GHSA-jpvw-p8pr-9g2x

Summary

Ansible symlink attack vulnerability

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.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 8.5.0 (ecosystem)

Fixed versions

8.5.0

Fix

  • Fixed version 8.5.0
    pip install --upgrade ansible==8.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences