id: PYSEC-2026-1401 published: "2026-07-07T11:45:26.817403Z" modified: "2026-07-07T17:24:11.176670Z" aliases: - CVE-2023-5189 - GHSA-55g2-vm3q-7w52 summary: Ansible galaxy-importer Path Traversal vulnerability details: 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: - package: name: galaxy-importer ecosystem: PyPI purl: pkg:pypi/galaxy-importer ranges: - type: ECOSYSTEM events: - introduced: "0" - last_affected: 0.4.16 versions: - 0.1.0 - 0.1.1 - 0.1.2 - 0.1.2.dev0 - 0.1.3 - 0.1.3b1 - 0.1.3b10 - 0.1.3b11 - 0.1.3b2 - 0.1.3b3 - 0.1.3b4 - 0.1.3b5 - 0.1.3b6 - 0.1.3b7 - 0.1.3b8 - 0.1.4 - 0.1.5 - 0.1.6 - 0.1.7 - 0.1.7a1 - 0.1.8 - 0.2.0 - 0.2.1 - 0.2.11 - 0.2.12 - 0.2.13 - 0.2.14 - 0.2.15 - 0.2.16 - 0.2.1a1 - 0.2.2 - 0.2.2a1 - 0.2.2a2 - 0.2.2a3 - 0.2.2a4 - 0.2.3 - 0.2.4 - 0.2.5 - 0.2.5a1 - 0.2.5a2 - 0.2.6 - 0.2.7 - 0.2.8 - 0.2.8rc1 - 0.2.8rc10 - 0.2.8rc11 - 0.2.8rc12 - 0.2.8rc3 - 0.2.8rc4 - 0.2.8rc5 - 0.2.8rc9 - 0.2.9 - 0.3.0 - 0.3.1 - 0.3.2 - 0.3.3 - 0.3.4 - 0.4.0 - 0.4.0.post1 - 0.4.1 - 0.4.10 - 0.4.11 - 0.4.12 - 0.4.13 - 0.4.14 - 0.4.15 - 0.4.16 - 0.4.2 - 0.4.3 - 0.4.4 - 0.4.5 - 0.4.6 - 0.4.7 - 0.4.8 - 0.4.9 references: - type: ADVISORY url: https://nvd.nist.gov/vuln/detail/CVE-2023-5189 - type: WEB url: https://access.redhat.com/errata/RHSA-2023:7773 - type: WEB url: https://access.redhat.com/errata/RHSA-2024:1536 - type: WEB url: https://access.redhat.com/errata/RHSA-2024:2010 - type: WEB url: https://access.redhat.com/security/cve/CVE-2023-5189 - type: WEB url: https://bugzilla.redhat.com/show_bug.cgi?id=2234387 - type: PACKAGE url: https://github.com/ansible/galaxy-importer - type: WEB url: "https://github.com/ansible/galaxy-importer/blob/2c5c7c05fdfb0835878234b36de32902c703616d/galaxy_importer/collection.py#L160-L165" - type: PACKAGE url: https://pypi.org/project/galaxy-importer - type: ADVISORY url: https://github.com/advisories/GHSA-55g2-vm3q-7w52 severity: - type: CVSS_V3 score: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N