The Morning Dev

Only the news worth knowing

‹
 
A65/100

Vulnerability · critical · CVSS 9.4

CVE-2025-4517 Python tarfile flaw: patch verification and incident response

Tier A · Patch today – Before you go home

Who’s exposed: Services extracting untrusted tar archives with filter='data' or filter='tar'

Tier A because: Core infrastructure or popular tool AND remote, no login AND full takeover

Reach

Attack

Damage

Fix

Popular tool · Remote, no login · Full takeover

What to do

  1. Verify that the patch is applied in containers and dependencies, not only in one interpreter
  2. Review archive-handling services that use filter="data" or filter="tar" as part of incident response

The Brief

  • CVE-2025-4517 is a Python tarfile path validation flaw rated critical in the sources.
  • A crafted archive can write files outside the extraction directory when an application uses filter="data" or filter="tar".
  • The flaw can bypass the intended path boundary even when application code uses those tar filters.

Why it matters

Services that extract tar archives from untrusted sources may be exposed to arbitrary file writes, so checking only one Python interpreter may leave other deployed copies vulnerable.

The checklist behind the tier

Checklist · 4 of 10 yes
YesHits tech teamsPython tarfile is used by developers and ops teams running archive-handling services and containers.
NoCore infrastructureJudgment: a flaw in Python's tarfile module is a language-library flaw, not one of the listed core infrastructure systems.
YesPopular toolJudgment: Python is a widely used language runtime, and its standard library tarfile module is used by many teams.
NoExploited in the wildDEV Community sources describe the flaw as a risk to assess and verify; neither reports observed attacks.
NoPublic exploitDEV Community sources describe the flaw and patch verification; neither says exploit code or a PoC is published.
YesRemote, no loginCVSSCVE-2025-4517: CVSS 9.4 – network, no privileges, no user interaction
YesFull takeoverCVSSCVE-2025-4517: CVSS rates confidentiality and integrity impact high
NoSecrets exposedSources report no stolen credentials, tokens, keys, configs, source code or customer data.
NoSupply chainSources describe a path validation flaw in tarfile; they do not report malicious code shipped through a trusted channel.
NoNo fix yetSources discuss patch verification for CVE-2025-4517 in containers and dependencies, implying a patched version exists.

The official record

From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.

Timeline

  1. DEV Community: python

    CVE-2025-4517 incident response for archive-handling services

  2. DEV Community: python

    Patch verification for CVE-2025-4517 in containers and dependencies

Full coverage · 2 sources

First seen · 2 sources · Full story page · How tiers are decided