GHSA-xqrq-4mgf-ff32

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqrq-4mgf-ff32
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-xqrq-4mgf-ff32/GHSA-xqrq-4mgf-ff32.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqrq-4mgf-ff32
Aliases
  • CVE-2025-50817
Related
Withdrawn
2025-10-06T20:33:43Z
Published
2025-08-14T18:31:30Z
Modified
2026-02-04T02:38:10.514827Z
Severity
  • 7.3 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Withdrawn Advisory: Python-Future Module Arbitrary Code Execution via Unintended Import of test.py
Details

Withdrawn Advisory

This advisory has been withdrawn because it describes a documented feature of Python’s import system in the handling of sys.path. For more information, see https://github.com/PythonCharmers/python-future/issues/650.

Original 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.

Database specific
{
    "github_reviewed": true,
    "severity": "HIGH",
    "github_reviewed_at": "2025-08-14T20:36:51Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "nvd_published_at": "2025-08-14T17:15:40Z"
}
References

Affected packages

PyPI / future

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.14.0

Affected versions

0.*
0.14.0
0.14.1
0.14.2
0.14.3
0.15.0
0.15.1
0.15.2
0.16.0
0.17.0
0.17.1
0.18.0
0.18.1
0.18.2
0.18.3
1.*
1.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-xqrq-4mgf-ff32/GHSA-xqrq-4mgf-ff32.json"