CVE-2025-50817: Path Traversal

Published Aug 14, 2025
·
Updated

A vulnerability in Python-Future modules 0.14.0 and above 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.

Other sources

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.

GitHub

Affected Software

4 affected components
Python-Future Python-Future
pip/future=1.0.0
pip/future>=0.14.0
IBM Concert Software<=1.0.0-2.1.0

Event History

Aug 14, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionWeaknessAffected Software
Jan 21, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-50817?

CVE-2025-50817 is categorized as a high severity vulnerability due to its potential for arbitrary code execution.

2

How do I fix CVE-2025-50817?

To mitigate CVE-2025-50817, remove any unintended 'test.py' files in the working directory or adjust your directory structure.

3

What software versions are affected by CVE-2025-50817?

CVE-2025-50817 affects Python-Future modules version 0.14.0 and above.

4

How can CVE-2025-50817 be exploited?

CVE-2025-50817 can be exploited by placing a malicious 'test.py' file in the same directory as the Python-Future module, which gets imported automatically.

5

Is there a patch available for CVE-2025-50817?

No specific patch has been mentioned for CVE-2025-50817; the recommended action is to manage the presence of 'test.py' files accordingly.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203