Cyber Resilience

CVE-2026-4360

Python ≤ 3.1.5

Published
30 June 2026
Modified
23 July 2026
Patch / advisory
CVSS Score v4 2.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0026 18th percentile
Risk Priority 15 floored blend · peak EPSS

Summary

CVE-2026-4360 is a low-severity Improper Preservation of Permissions (CWE-281) vulnerability in Python Python. Its CVSS base score is 2.0 (Low).

Operationally, ranked at the 18th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-7 (Software, Firmware, and Information Integrity) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter='data' to the…

more

extract() function.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

Insufficient information to map techniques.
Confidence: LOW · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2024-7592Same product: Python Python
CVE-2024-6232Same product: Python Python
CVE-2023-33595Same product: Python Python
CVE-2026-3644Same product: Python Python
CVE-2026-6019Same product: Python Python
CVE-2023-40217Same product: Python Python
CVE-2025-13462Same product: Python Python
CVE-2024-9287Same product: Python Python
CVE-2025-13837Same product: Python Python
CVE-2025-12781Same product: Python Python

Affected Assets

python
python
≤ 3.1.5

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-7 Software, Firmware, and Information Integrity
  • CM-7 Least Functionality
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 8 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Ensures integrity verification of extracted files so uid/gid changes introduced by the tarfile hard-link filter bypass are detected before the files are used.

prevent

Limits the system’s ability to run or retain untrusted tar-extraction utilities or scripts, reducing the attack surface for the described filter bypass.

prevent

Enforces least-privilege file ownership so that even if uid/gid values are written incorrectly, the resulting files cannot grant excessive rights to the extracting process.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-05 mostly match
prevents

Enforcing least-privilege permission policies and reviews directly prevents incorrect permission propagation on copy/restore/share operations.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Access-control policy defines how permissions must be preserved when objects are copied or shared.

degrades

Access-rights provisioning and review processes directly address the risk of overly permissive copied objects.

degrades

Privileged-access management includes rules for maintaining correct permissions on copied or restored data.

degrades

Information-access-restriction controls enforce least-privilege permissions that must be preserved during copy/restore operations.

none

Change-management procedures can require verification that permissions remain intact after modifications or restores.

none

Configuration baselines can embed permission settings, indirectly reducing the chance of incorrect preservation.

Hardening callouts derived

Configuration rules from DISA STIG baselines that reduce the attack surface for weaknesses of the type cited by this CVE. Derived transitively via CVE→CWE→STIG over `controls_xwalks` (authoritative rows only).

Windows Server 2016 (1 rule)
  • V-224972 Active Directory Group Policy objects must have proper access control permissions. via CWE-281
Windows Server 2022 (1 rule)
  • V-254395 Windows Server 2022 organization created Active Directory Organizational Unit (OU) objects must have proper access control permissions. via CWE-281

References