{
  "id": "CVE-2026-5271",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-5271",
  "published_at": "2026-04-01T13:48:07.534Z",
  "title": "Possible to hijack modules in current working directory",
  "vendor": "Python Software Foundation",
  "product": "pymanager",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/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": "pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. As a result, if a user executes a pymanager-generated command (e.g., pip, pytest)\n from an attacker-controlled directory, a malicious module in that \ndirectory can be imported and executed instead of the intended package.",
  "cwe": "CWE-427",
  "cpes": [
    "cpe:2.3:a:python:pymanager:26.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.6,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Python Software Foundation",
        "product": "pymanager",
        "ranges": [
          "\u003e= 26.0, \u003c 26.1"
        ],
        "fixed_in": [
          "26.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pymanager to 26.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
