CVE-2026-7774 Affecting python3.12 package, versions <3.12.3-1ubuntu0.15


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.62% (46th 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-UBUNTU2404-PYTHON312-17189807
  • published6 Jul 2026
  • disclosed4 Jun 2026

Introduced: 4 Jun 2026

CVE-2026-7774  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 python3.12 to version 3.12.3-1ubuntu0.15 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12 package and not the python3.12 package as distributed by Ubuntu. See How to fix? for Ubuntu:24.04 relevant fixed versions and status.

tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.

CVSS Base Scores

version 3.1