# CVE-2026-5271: Possible to hijack modules in current working directory

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-01 · Modified: 2026-04-01
- Record: https://cvemate.com/vulnerability/CVE-2026-5271 · JSON: https://cvemate.com/vulnerability/CVE-2026-5271/json

## Description

```text
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)
 from an attacker-controlled directory, a malicious module in that
directory can be imported and executed instead of the intended package.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.206%, percentile 11.211%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- python software foundation pymanager: ≥ 26.0, \< 26.1
- python pymanager: 26.0

## References

- <https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6>
- <http://www.openwall.com/lists/oss-security/2026/04/01/5>

---

Data as of 2026-12-05T03:31:41.504Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
