
Cloud Vulnerability DB
A community-led vulnerabilities database
A critical vulnerability (CVE-2025-50817) was discovered in Python-Future version 1.0.0, a widely-used module for Python 2/3 compatibility. The vulnerability allows for arbitrary code execution through 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 vulnerability was discovered by researchers Yutai Kim, Seungyeon Han, and Changmin Hong from lint.co.kr (Medium Blog).
The vulnerability exists in the file python-future-master/src/future/standard_library/init.py at line 491, where an import statement automatically executes test.py when loading the future module. The issue is triggered when importing any functionality that loads future/standard_library/init.py. The vulnerability has been assigned a CVSS v3.1 base score of 5.4 (MEDIUM) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N (NVD).
The vulnerability affects a widely-used module with significant reach: 294 forks on GitHub and usage by over 362,000 repositories. Major projects potentially affected include Splunk Enterprise and PyTorch. The vulnerability can be exploited for remote code execution, system persistence (MITRE ATT&CK T1574.001), and security bypass scenarios. The supply chain nature of this vulnerability means systems could be exposed through dependency chains, potentially affecting critical infrastructure (Medium Blog).
The python-future module has been confirmed as End-of-Support (EoS), meaning no security patches will be provided. Organizations are advised to: implement strict controls on file write permissions in directories where python-future is used, monitor for unexpected test.py files, implement additional network-level controls, and plan migration to alternative solutions such as native Python 3 features or actively maintained compatibility libraries (Medium Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."