CVE Explorer
CVE-2026-5271
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"pymanager","repo":"https://github.com/python/pymanager","vendor":"Python Software Foundation","versions":[{"lessThan":"26.1","status":"affected","version":"26.0","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.6,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpa…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-427","description":"CWE-427 Uncontrolled Search Path Element","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/adp/0/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/04/01/5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/adp/1/references/0
{"tags":["vendor-advisory"],"url":"https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/python/pymanager/security/advisories/GHSA-jr5x-hgm4-rrm6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac57c1beffc21a48e8f2a83b03d52f85bf16dde0d7768d9410f2d82bba5957ed · sha256:6dc9cd0b5432d905… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.