Advisory

GHSA-jpvw-p8pr-9g2x

Also known as: CVE-2023-5115, PYSEC-2026-1120

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: The source's own band: MODERATE

Dates

Published
2023-12-28 21:30 UTC
Modified
2026-07-07 17:56 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences