Directory Traversal Affecting ansible-core package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS8-ANSIBLECORE-22647820
  • published20 Nov 2026
  • disclosed17 Nov 2026

Introduced: 17 Nov 2026

NewCVE-2026-130644  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Centos:8 ansible-core.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ansible-core package and not the ansible-core package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A path traversal flaw was found in ansible-core. When installing a collection with ansible-galaxy collection install, the install destination directory is derived from the namespace and name fields declared inside the collection artifact's own metadata, which are not validated as well-formed collection identifiers or checked for path containment. A malicious collection artifact -- delivered as a local file, a remote URL, a source directory, a git repository, or as a dependency -- can use a crafted name value to redirect the install destination outside the configured collections path, causing ansible-galaxy to delete an existing directory writable by the invoking user and then write attacker-controlled files to that location.

CVSS Base Scores

version 3.1