Security mailing lists by PureSourceCode

CVE-2023-5115

MEDIUM 6.3CVSS 3.1

Ansible: malicious role archive can cause ansible-galaxy to overwrite arbitrary files

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.

Published
18 Dec 2023
Last modified
26 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-22CWE-36
Also known as
GHSA-jpvw-p8pr-9g2xPYSEC-2026-1120
Sources
NVDJSONCVE ListJSONOSV GHSA-jpvw-p8pr-9g2xJSONOSV PYSEC-2026-1120JSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
CVE List redhat CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:*
= 1.2
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:*:*:*:*:*:*
= 2.3
NVD redhat ansible_automation_platform
cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:*
= 2.4
NVD redhat ansible_inside
cpe:2.3:a:redhat:ansible_inside:1.1:*:*:*:*:*:*:*
= 1.1
NVD redhat ansible_inside
cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:*
= 1.2
NVD redhat ansible_developer
cpe:2.3:a:redhat:ansible_developer:1.0:*:*:*:*:*:*:*
= 1.0
NVD redhat ansible_developer
cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:*
= 1.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
CVE List https://access.redhat.com/downloads/content/package-browser/ ansible-core
cpe:/a:redhat:ansible_automation_platform:2.3::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ ansible-core
cpe:/a:redhat:ansible_automation_platform:2.3::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ ansible-core
cpe:/a:redhat:ansible_automation_platform:2.4::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ ansible-core
cpe:/a:redhat:ansible_automation_platform:2.4::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ ansible
cpe:/a:redhat:ansible_automation_platform
all versions
OSV PyPI ansible < 8.5.0 8.5.0

References

History

  • 26 Nov 2026 18:37 UTC · NVD: updated (other details)
  • 26 Nov 2026 17:37 UTC · CVE List: first stored (published 18 Dec 2023)
  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 18 Dec 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Dec 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.