{
  "id": "CVE-2026-12701",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12701",
  "published_at": "2026-07-20T14:18:18.318Z",
  "title": "Pulpcore: pulpcore: relative_path_validator bypass via directory traversal in filesystemexport",
  "vendor": "Red Hat",
  "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
  "cvss": {
    "score": 9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A path traversal vulnerability was found in pulpcore. The relative_path_validator function only verifies that content paths do not begin with \"/\" but fails to block directory traversal sequences such as \"../\" anywhere in the path. An authenticated administrator can craft a relative_path containing embedded traversal sequences (e.g., \"looking/normal/../../../../etc/shadow\") that escapes the intended export directory during FilesystemExport operations. Because the file content is also user-controlled (uploaded artifact), this allows arbitrary file write to any location writable by the Pulp service user, potentially leading to service compromise or further system exploitation.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "0:3.49.63-2.el8ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.5 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.49.63-2.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.49.63-2.el9ap"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.16 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "0:3.49.39-2.el8pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.16 for RHEL 8",
        "ranges": null,
        "fixed_in": [
          "0:3.49.39-2.el8pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.16 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.49.39-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.16 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.49.39-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.17 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.63.21-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.17 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.63.21-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.18 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.73.30-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.18 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.73.30-2.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.19 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.85.15-5.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Satellite 6.19 for RHEL 9",
        "ranges": null,
        "fixed_in": [
          "0:3.85.15-5.el9pc"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.6",
        "ranges": null,
        "fixed_in": [
          "1783979593"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Ansible Automation Platform 2.7",
        "ranges": null,
        "fixed_in": [
          "1783919521"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 8 to 0:3.49.63-2.el8ap or later.",
      "Upgrade Red Hat Ansible Automation Platform 2.5 for RHEL 9 to 0:3.49.63-2.el9ap or later.",
      "Upgrade Red Hat Ansible Automation Platform 2.6 for RHEL 9 to 0:3.49.63-2.el9ap or later.",
      "Upgrade Red Hat Satellite 6.16 for RHEL 8 to 0:3.49.39-2.el8pc or later.",
      "Upgrade Red Hat Satellite 6.16 for RHEL 8 to 0:3.49.39-2.el8pc or later.",
      "Upgrade Red Hat Satellite 6.16 for RHEL 9 to 0:3.49.39-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.16 for RHEL 9 to 0:3.49.39-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.17 for RHEL 9 to 0:3.63.21-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.17 for RHEL 9 to 0:3.63.21-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.18 for RHEL 9 to 0:3.73.30-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.18 for RHEL 9 to 0:3.73.30-2.el9pc or later.",
      "Upgrade Red Hat Satellite 6.19 for RHEL 9 to 0:3.85.15-5.el9pc or later.",
      "Upgrade Red Hat Satellite 6.19 for RHEL 9 to 0:3.85.15-5.el9pc or later.",
      "Upgrade Red Hat Ansible Automation Platform 2.6 to 1783979593 or later.",
      "Upgrade Red Hat Ansible Automation Platform 2.7 to 1783919521 or later."
    ],
    "workarounds": [
      "There is no complete mitigation for this vulnerability. The following measures can reduce risk:\n\n1. If FilesystemExport was never configured on your deployment, you are not affected by this issue.\n2. If FilesystemExporters exist in the database, audit them for path traversal sequences (\"../\"). Existing malicious entries must be cleaned up manually, as the validation functions documented to raise ValidationError do not actually do so in all code paths.\n3. Restrict admin-level access to the Pulp API to only trusted operators. Review and audit which accounts have administrator privileges.\n4. Ensure SELinux is in enforcing mode on Satellite/Pulp servers to limit the directories the Pulp service user can write to.\n5. Monitor filesystem changes outside of expected Pulp directories for signs of exploitation."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42078"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42079"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42082"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42132"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42142"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42150"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42151"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:42240"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
