cve.bz

CVE-2023-5115 Absolute Path Traversal

6.3 mediumEPSS 1.0%Fix available

Medium (6.3). EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 8.5.0.

On this page
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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-36 Absolute Path Traversal
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-5115 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-5115?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-5115?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-5115 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Ansible Automation Platform 2.3 for RHEL 80:2.14.11-1.el8ap
Red Hat Ansible Automation Platform 2.3 for RHEL 90:2.14.11-1.el9ap
Red Hat Ansible Automation Platform 2.4 for RHEL 80:2.15.5-1.el8ap
Red Hat Ansible Automation Platform 2.4 for RHEL 90:2.15.5-1.el9ap

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jpvw-p8pr-9g2xPyPIansible<8.5.08.5.0
PYSEC-2026-1120PyPIansible<8.5.08.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10ansible2.7.7+dfsg-1+deb10u2DLA-3695-1
Debian12ansible-core2.14.16-0+deb12u1DEBIAN-CVE-2023-5115
Debian12, 13, 14ansible5.4.0-1DEBIAN-CVE-2023-5115
Debian13, 14ansible-core2.14.11-1DEBIAN-CVE-2023-5115
Ubuntu22.04:LTSansible-coreno fix listedUBUNTU-CVE-2023-5115
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 moreansible, ansible-coreno fix listedUBUNTU-CVE-2023-5115
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 2 moreansibleno fix listedUBUNTU-CVE-2023-5115
Red Hatansible_automation_platform:2.3::el8automation-controller-venv-tower0:4.3.16-1.el8apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el8, ansible_automation_platform_developer:2.3::el8, ansible_automation_platform_inside:2.3::el8ansible-core0:2.14.11-1.el8apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el9automation-controller-venv-tower0:4.3.16-1.el9apRHSA-2023:5701
Red Hatansible_automation_platform:2.3::el9, ansible_automation_platform_developer:2.3::el9, ansible_automation_platform_inside:2.3::el9ansible-core0:2.14.11-1.el9apRHSA-2023:5701
Red Hatansible_automation_platform:2.4::el8automation-controller-venv-tower0:4.4.6-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el8python39-django, python3x-django0:3.2.22-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el8, ansible_automation_platform_developer:2.4::el8, ansible_automation_platform_inside:2.4::el8ansible-core0:2.15.5-1.el8apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9automation-controller-venv-tower0:4.4.6-1.el9apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9python-django, python3-django0:3.2.22-1.el9apRHSA-2023:5758
Red Hatansible_automation_platform:2.4::el9, ansible_automation_platform_developer:2.4::el9, ansible_automation_platform_inside:2.4::el9ansible-core0:2.15.5-1.el9apRHSA-2023:5758
openSUSETumbleweedansible-core2.16.9-1.1openSUSE-SU-2024:14251-1
openSUSETumbleweedansible-core-2.172.17.6-1.1openSUSE-SU-2024:14537-1
openSUSETumbleweedansible-core-2.182.18.10-2.1openSUSE-SU-2025:15638-1
openSUSETumbleweedansible-core-2.192.19.4-1.1openSUSE-SU-2025:15754-1
openSUSETumbleweedansible-core-2.202.20.6-1.1openSUSE-SU-2026:10945-1
openSUSETumbleweedansible-core-2.212.21.6-1.1openSUSE-SU-2026:12451-1
Azure Linux2ansible2.14.11-1AZL-32279
Azure Linux3ansible2.17.0-1AZL-34540

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.3 for RHEL 8ansible-core-0:2.14.11-1.el8apFixed 2023-10-16RHSA-2023:5701
Red Hat Ansible Automation Platform 2.3 for RHEL 9ansible-core-0:2.14.11-1.el9apFixed 2023-10-16RHSA-2023:5701
Red Hat Ansible Automation Platform 2.4 for RHEL 8ansible-core-0:2.15.5-1.el8apFixed 2023-10-16RHSA-2023:5758
Red Hat Ansible Automation Platform 2.4 for RHEL 9ansible-core-0:2.15.5-1.el9apFixed 2023-10-16RHSA-2023:5758
Red Hat Ansible Automation Platform 1.2ansibleWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-5115.

Attack patterns (CAPEC)

  • CAPEC-597 Absolute Path Traversal
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON