Skip to main content
← All vulnerabilities
CVE-2023-5115GHSA-JPVW-P8PR-9G2XPYSEC-2026-1120

Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.5.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible-core

    Version range not reported

  • ansible

    Version range not reported

  • ansiblePyPI

    fixed in 8.5.0

References 4

access.redhat.com

bugzilla.redhat.com