CVE-2026-115791 Affecting python package, versions <2.7.18-150000.142.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-PYTHON-23352424
  • published3 Dec 2026
  • disclosed1 Dec 2026

Introduced: 1 Dec 2026

NewCVE-2026-115791  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 python to version 2.7.18-150000.142.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python package and not the python package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

When tarfile or zipfile command line interface (CLI) is used to

decompress an archive, a Python script shadowing the stdlib can be

created. Then if an error occurs during decompressing the next file,

the newly created Python script is executed. This is especially true

if the created Python is called traceback.py. The problem is that

Python adds the current directory to sys.path when python -m MODULE is

run, and the archive is also decompressed in the current directory.

The fix removes sys.path[0] in gzip, tarfile and zipfile command line

interface to prevent shadowing standard library modules from extracted

files.

CVSS Base Scores

version 3.1