Skip to content
OpenAdvisories
Medium · 5.4 CVE-2025-50817 EUVD-2025-24871GHSA-xqrq-4mgf-ff32

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. Wh…

Published Aug 14, 2025 · Updated Sep 26, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP7 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLES 15 SP6 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLES 15 SP5 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLES 15 SP4 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLES 15 SP3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 python-future 0.15.2-3.8.1 SUSE-SU-2025:03028-1
SLES 12 python-future 0.15.2-3.6.1 SUSE-SU-2025:03029-1
SLES 3 python-future 0.18.3-150400.6.6.1 SUSE-SU-2025:03038-1
SLES for SAP 15 SP5 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLES for SAP 15 SP4 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLES for SAP 15 SP3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE Micro 5.5 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE Micro 5.4 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE Micro 5.3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE Micro 5.2 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE Micro 5.1 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SLE HPC 15 SP5 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLE HPC 15 SP4 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1, SUSE-SU-2025:03038-1
SLE HPC 15 SP3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SUSE Manager Server LTS 4.3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SUSE Manager Proxy LTS 4.3 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
SUSE Enterprise Storage 7.1 python-future 0.18.2-150300.3.6.1 SUSE-SU-2025:03049-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 python-future 0.18.3-150400.6.6.1 SUSE-SU-2025:03038-1

Advisories 4

References