Back to CVE records
Medium 5.6Published Apr 1, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects Python Software Foundation pymanager and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.6 MEDIUM (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness (CWE)
CWE-427
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
PSF
NVD analysis
Analyzed
Record last updated
Apr 1, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Python Software Foundation pymanager
python_software_foundation:pymanager (from the name)
from 26.0 before 26.1
CNA record
python pymanager
python:pymanager
26.0
NVD

References

  • vendor-advisory, exploit
  • mailing-list, third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.