CVE-2025-50817
MEDIUM EPSS 18.6%
Published Aug 14, 202510mo ago · Modified Jun 17, 20262w ago
5.4 CVSS 3.1
Published Aug 14, 2025 10mo ago
Last Modified Jun 17, 2026 2w ago
Description
A vulnerability in the Python-Future 1.0.0 module allows for arbitrary code execution via the unintended import of a file named test.py. When the module is loaded, it automatically imports test.py, if present in the same directory or in the sys.path. This behavior can be exploited by an attacker who has the ability to write files to the server, allowing the execution of arbitrary code. NOTE: Multiple third parties have disputed this issue and stated that it is not a security flaw in python-future and is a documented feature of Python’s import system in the handling of sys.path.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
18.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-77 Command Injection Injection
References 4
- gist.github.com https://gist.github.com/fried/d2108a4932f3a22712dfc04598b5b8ce
- github.com https://github.com/PythonCharmers/python-future
- medium.com https://medium.com/@abcd_68700/cve-2025-50817-python-future-module-arbitrary-code-execution-via-unintended-import-of-test-py-f0818ea93cf4
- pypi.org https://pypi.org/project/future/
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.