Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Python Software Foundation pymanager
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Python Install Manager是Python开源的一个Python安装管理工具。 Python Install Manager存在安全漏洞,该漏洞源于将当前工作目录包含在sys.path中,可能导致从攻击者控制的目录导入并执行恶意模块。

AI Predicted 6.6 Difficulty: Easy EPSS 0.19% · P7

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-5271

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Possible to hijack modules in current working directory
Source: CVE Program / CVE List V5
Vulnerability 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) from an attacker-controlled directory, a malicious module in that directory can be imported and executed instead of the intended package.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Python Install Manager 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python Install Manager是Python开源的一个Python安装管理工具。 Python Install Manager存在安全漏洞,该漏洞源于将当前工作目录包含在sys.path中,可能导致从攻击者控制的目录导入并执行恶意模块。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Python Software Foundation pymanager 26.0 ~ 26.1 -

II. Public POCs for CVE-2026-5271

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5271

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-5271 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5271

No comments yet


Leave a comment