PYSEC-2026-1401

Vulnerability from pysec - Published: 2026-07-07 11:45 - Updated: 2026-07-07 17:24
VLAI
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.

Impacted products
Name purl
galaxy-importer pkg:pypi/galaxy-importer

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "galaxy-importer",
        "purl": "pkg:pypi/galaxy-importer"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "0.4.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2023-5189",
    "GHSA-55g2-vm3q-7w52"
  ],
  "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.",
  "id": "PYSEC-2026-1401",
  "modified": "2026-07-07T17:24:11.176670Z",
  "published": "2026-07-07T11:45:26.817403Z",
  "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": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Ansible galaxy-importer Path Traversal vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…