CVE-2023-5189 | Hub: insecure galaxy-importer tarfile extraction

Exp

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.

Published: 2023-11-14 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-5189 is rated High Exploit Risk (66.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.80%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2023-5189

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2023-5189

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-07 0.72% 0.80% +0.08%
2 2026-04-25 0.64% 0.72% +0.08%
3 2026-01-26 0.64%

Full EPSS history (15 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-5189

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 4.2 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 3.6 [email protected]

Weakness enumeration for CVE-2023-5189

GitHub Security Advisory for CVE-2023-5189

GHSA-55g2-vm3q-7w52 · Severity: medium · Ecosystem: pip — Ansible galaxy-importer Path Traversal vulnerability

OS Trackers for CVE-2023-5189

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2023-5189
ubuntu medium CVE-2023-5189 medium priority: Ubuntu including 2 source packages (ansible, ansible-core), 24 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 12, ignored 8, DNE 4. https://ubuntu.com/security/CVE-2023-5189

Affected software / configurations for CVE-2023-5189

Vendor Product Version Raw CPE
redhat ansible_automation_platform 2.0 cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:*
redhat satellite 6.0 cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*

References for CVE-2023-5189

cvelogic Threat Intelligence