Ansible galaxy-importer Path Traversal vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | galaxy-importer | <= 0.4.16 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-5189
- https://access.redhat.com/errata/RHSA-2023:7773
- https://access.redhat.com/errata/RHSA-2024:1536
- https://access.redhat.com/errata/RHSA-2024:2010
- https://access.redhat.com/security/cve/CVE-2023-5189
- https://bugzilla.redhat.com/show_bug.cgi?id=2234387
- https://github.com/ansible/galaxy-importer
- https://github.com/ansible/galaxy-importer/blob/2c5c7c05fdfb0835878234b36de32902c703616d/galaxy_importer/collection.py#L160-L165
- https://pypi.org/project/galaxy-importer
- https://github.com/advisories/GHSA-55g2-vm3q-7w52
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N- Weakness (CWE)
CWE-22, CWE-23- Platform
- Python (PyPI)
- Package
galaxy-importer- Disclosed
- 15.11.2023
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1401 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-55g2-vm3q-7w52 - CC BY 4.0
Vulnerability history: galaxy-importer
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.