CVE-2023-5189: Red Hat Ansible Automation Platform 2.4 for RHEL 8 · Relative Path Traversal
Affects Red Hat Ansible Automation Platform 2.4 for RHEL 8Source CVE Database V5
Not known to be exploited · CVSS 6.3 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Nov 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
AI-suggested
1. Apply official patches or updates from Red Hat as soon as they are released to address CVE-2023-5189. 2. Restrict filesystem permissions on directories used by the galaxy importer to prevent unauthorized write or symlink creation. 3. Implement strict validation and sanitization of tarball contents before extraction, including rejecting tarballs with suspicious or absolute paths and symbolic links. 4. Limit user privileges required to import content into Ansible Automation Hub to trusted administrators only. 5. Monitor logs and file integrity of directories involved in automation workflows for unexpected changes or symlink creations. 6. Consider isolating the Ansible Automation Hub environment using containerization or sandboxing to limit the impact of potential exploitation. 7. Educate administrators on the risks of importing untrusted content and enforce policies to only use verified sources for automation content. 8. Employ network segmentation and access controls to restrict exposure of the Ansible Automation Hub to untrusted networks or users.
Description
A path traversal vulnerability exists in Ansible when extracting tarballs. An attacker could craft a malicious tarball so that when using the galaxy importer of Ansible Automation Hub, a symlink could be dropped on the disk, resulting in files being overwritten.
References
- access.redhat.com/errata/RHSA-2023:7773 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:1536 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2010 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2023-5189 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2234387 (opens in a new tab)