CVE-2025-4138

HIGHNVD 7.57.5
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2025-06-03. NVD baseline CVSS 7.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Elevated

Also known asEUVD-2025-16724 (ENISA EUVD) · GHSA-4g4g-fqw4-prp2 (GitHub Security Advisories)Source: ENISA EUVD

7.5EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • Public exploit or proof-of-concept code is available
CISA-KEV: Not listedEPSS PROB: 1.5%CVSS: 7.5Exploit: Public PoCExposed services: Not assessed

A fix is available — apply it.

Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata.

You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() using the filter= parameter with a value of "data" or "tar". See the tarfile extraction filters documentation https://docs.python.org/3/library/tarfile.html#tarfile-extraction-filter  for more information.

Note that for Python 3.14 or later the default value of filter= changed from "no filtering" to `"data", so if you are relying on this new default behavior then your usage is also affected.

Note that none of these vulnerabilities significantly affect the installation of source distributions which are tar archives as source distributions already allow arbitrary code execution during the build process. However when evaluating source distributions it's important to avoid installing source distributions with suspicious links.

CVSS v3
7.5
EG Score
7.5HIGHmedium confidence
EG Risk
65
EG Risk 65/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity75% × 45%
Impact severity (EG Severity): CVSS 7.5 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation40% × 40%
EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
1.5%
EPSS %ILE
75th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (7.5): severity, escalated by confirmed exploitation. This CVE's 7.5 is its impact severity (EG Severity), not escalated.

EG Severity
7.5 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
1.5% within 30 daysSource: FIRST EPSS. FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Source timeline

Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).

CVE.orgMITRE · CVE ProgramCVE Record published3 Jun 2025, 12:59 UTCrecorded later, in a bulk import or a late collectionCVE.org recordOn this page: description
GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)LicenceGitHub advisory publishedGHSA-4g4g-fqw4-prp23 Jun 2025, 15:31 UTCrecorded later, in a bulk import or a late collectionGitHub advisoryOn this page: GitHub advisory ID
Red Hat Product Security© Red Hat, Inc. (CC BY 4.0)LicenceVendor advisory publishedRHSA-2025:991830 Jun 2025, 13:43 UTCrecorded later, in a bulk import or a late collectionRHSA-2025:9918 on EchelonGraph
CVE.orgMITRE · CVE ProgramCVE Record last updated31 Jul 2026, 14:03 UTC—CVE.org recordOn this page: description

Advisory Details (10)

Auto-updated Jul 30, 2026
Patch available. Sources: github_pr, github_commit.
GitHub commit

commit 4633f3f497b1 (python/cpython)

Fix landed in python/cpython commit 4633f3f497b1 — awaiting tagged release

https://github.com/python/cpython/commit/4633f3f497b1ff70e4a35b6fe2c907cbe2d4cb2e
GitHub commit

commit 28463dba112a (python/cpython)

Fix landed in python/cpython commit 28463dba112a — awaiting tagged release

https://github.com/python/cpython/commit/28463dba112af719df1e8b0391c46787ad756dd9
GitHub commit

commit aa9eb5f757ce (python/cpython)

Fix landed in python/cpython commit aa9eb5f757ce — awaiting tagged release

https://github.com/python/cpython/commit/aa9eb5f757ceff461e6e996f12c89e5d9b583b01
GitHub commit

commit 19de092debb3 (python/cpython)

Fix landed in python/cpython commit 19de092debb3 — awaiting tagged release

https://github.com/python/cpython/commit/19de092debb3d7e832e5672cc2f7b788d35951da
Web page

Mitigation for CVE-2025-4517, CVE-2025-4330, CVE-2025-4138, and CVE-2024-12718 · GitHub

https://gist.github.com/sethmlarson/52398e33eff261329a0180ac1d54f42f
GitHub commit

commit 9e0ac76d96cf (python/cpython)

Fix landed in python/cpython commit 9e0ac76d96cf — awaiting tagged release

https://github.com/python/cpython/commit/9e0ac76d96cf80b49055f6d6b9a6763fb9215c2a
GitHub commit

commit 3612d8f51741 (python/cpython)

Fix landed in python/cpython commit 3612d8f51741 — awaiting tagged release

https://github.com/python/cpython/commit/3612d8f51741b11f36f8fb0494d79086bac9390a
Web page

Mailman 3 Multiple CVEs (1 CRITICAL, 3 HIGH, 1 MODERATE) affecting the tarfile module - Security-announce - python.org

https://mail.python.org/archives/list/[email protected]/thread/MAXIJJCUUMCL7ATZNDVEGGHUMQMUUKLG/
GitHub pull request

gh-135034: Normalize link targets in tarfile, add `os.path.realpath(strict='allow_missing')`

Fix merged in python/cpython PR #135037 on 2025-06-03 — awaiting tagged release

https://github.com/python/cpython/pull/135037
Web page

Multiple tarfile extraction filter bypasses (`filter="tar"`/`filter="data"`) · Issue #135034 · python/cpython · GitHub

https://github.com/python/cpython/issues/135034

Patch Availability(18)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntupython3.13-venv (3.13.3-1ubuntu0.2) @ plucky2026-11-26ubuntu
redhatopenshift-serverless-1/logic-swf-devmode-rhel8:1.36.0-72026-01-22redhat
redhatpython39-devel:3.9-8100020251126112422.d47b87a42025-12-18redhat
redhatcert-manager/jetstack-cert-manager-rhel9:v1.16.5-17605157572025-10-16redhat
redhatdiscovery/discovery-server-rhel9:2.0.1-17544787272025-08-06redhat
redhatrhpam-7/rhpam-smartrouter-rhel8:7.13.5-4.17520657552025-07-17redhat
redhatpython3-0:3.6.8-51.el8_8.102025-07-08redhat
redhatpython3-0:3.6.8-47.el8_6.82025-07-07redhat
redhatpython3.9-0:3.9.18-3.el9_4.82025-07-07redhat
redhatpython3.12-0:3.12.9-1.el9_6.12025-07-02redhat
redhatpython3.12-0:3.12.9-2.el10_0.22025-07-01redhat
redhatpython3.11-0:3.11.13-1.el8_102025-07-01redhat
redhatpython3-0:3.6.8-70.el8_102025-07-01redhat
redhatpython3.9-0:3.9.21-2.el9_6.12025-07-01redhat
redhatpython3.11-0:3.11.11-2.el9_6.12025-07-01redhat
redhatpython3.12-0:3.12.1-4.el9_4.62025-07-01redhat
redhatpython3.12-0:3.12.11-1.el8_102025-07-01redhat
redhatpython3.11-0:3.11.7-1.el9_4.82025-06-30redhat

These rows come from Ubuntu and Red Hat. Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(16 across 9 ecosystems)
Alpine:v3.20(2)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
python3-tkinter—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
Alpine:v3.21(2)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
python3-tkinter—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
Alpine:v3.22(2)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
python3-tkinter—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
Alpine:v3.23(2)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
python3-tkinter—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
Alpine:v3.24(2)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
python3-tkinter—
  • every version up to 3.12.11-r0: fixed in 3.12.11-r0
—
Debian:13(2)
PackageVulnerable rangeFix by version rangeDependents
pypy37.3.19+dfsg-2 ... 8.0.1+dfsg-1 (14 versions)
  • every version on: no fix on record
—
python3.13—
  • every version up to 3.13.4-1: fixed in 3.13.4-1
—
Debian:14(2)
PackageVulnerable rangeFix by version rangeDependents
pypy37.3.19+dfsg-2, 7.3.20+dfsg-1
  • every version up to 7.3.20+dfsg-2: fixed in 7.3.20+dfsg-2
—
python3.13—
  • every version up to 3.13.4-1: fixed in 3.13.4-1
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
python3—
  • every version up to 3.11.13-r0: fixed in 3.11.13-r0
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
pypy37.3.11+dfsg-2 ... 8.0.1+dfsg-1 (32 versions)
  • every version on: no fix on record
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(1)

Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.

Data Freshness Timeline

(refreshed 8× in last 7d / 39× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 301 rows on record for this CVE, as 98 entries (2 repeats merged).

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 2 repeat rows among the latest 100 are merged into the row they repeat. The 201 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-12-05 21:10 UTCEPSS rescoreEPSS 1.5% · 75th percentile
  2. 2026-12-04 16:28 UTCEPSS rescoreEPSS 1.5% · 75th percentile
  3. 2026-12-03 16:30 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  4. 2026-12-03 11:58 UTCEchelonGraph re-scored
  5. 2026-12-03 11:58 UTCVendor advisory
  6. 2026-12-03 11:58 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  7. 2026-12-02 16:44 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  8. 2026-12-01 16:42 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  9. 2026-11-30 16:35 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  10. 2026-11-28 16:35 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  11. 2026-11-27 16:32 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  12. 2026-11-26 23:53 UTCEchelonGraph re-scored
  13. 2026-11-26 23:53 UTCVendor advisory
  14. 2026-11-26 23:53 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  15. 2026-11-26 16:34 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  16. 2026-11-25 16:35 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  17. 2026-11-24 16:41 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  18. 2026-11-23 16:41 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  19. 2026-11-21 16:36 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  20. 2026-11-20 16:35 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  21. 2026-11-20 11:47 UTCEchelonGraph re-scored
  22. 2026-11-20 11:47 UTCVendor advisory
  23. 2026-11-20 11:47 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  24. 2026-11-19 16:32 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  25. 2026-11-18 16:32 UTCEPSS rescoreEPSS 1.5% · 74th percentile
Show 73 more
  1. 2026-11-18 03:26 UTCOSV refresh
  2. 2026-11-17 16:33 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  3. 2026-11-16 16:46 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  4. 2026-11-15 16:51 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  5. 2026-11-14 16:37 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  6. 2026-11-13 23:42 UTCEchelonGraph re-scored
  7. 2026-11-13 23:42 UTCVendor advisory
  8. 2026-11-13 23:42 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  9. 2026-11-13 16:50 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  10. 2026-11-12 16:32 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  11. 2026-11-11 16:36 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  12. 2026-11-10 16:40 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  13. 2026-11-09 16:33 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  14. 2026-11-08 16:37 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  15. 2026-11-07 16:36 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  16. 2026-11-07 04:30 UTCEchelonGraph re-scored
  17. 2026-11-07 04:30 UTCVendor advisory
  18. 2026-11-07 04:30 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  19. 2026-11-06 16:34 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  20. 2026-11-05 16:35 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  21. 2026-11-04 16:33 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  22. 2026-11-03 16:44 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  23. 2026-11-02 16:43 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  24. 2026-10-31 16:31 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  25. 2026-10-31 16:09 UTCEchelonGraph re-scored
  26. 2026-10-31 16:09 UTCVendor advisory
  27. 2026-10-31 16:09 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  28. 2026-10-30 16:32 UTCEPSS rescoreEPSS 1.5% · 74th percentile
  29. 2026-10-29 16:31 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  30. 2026-10-28 16:30 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  31. 2026-10-27 16:30 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  32. 2026-10-26 16:30 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  33. 2026-10-25 16:31 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  34. 2026-10-25 16:26 UTCEchelonGraph re-scored
  35. 2026-10-25 03:58 UTCEchelonGraph re-scored
  36. 2026-10-25 03:58 UTCVendor advisory
  37. 2026-10-25 03:58 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  38. 2026-10-24 16:31 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  39. 2026-10-23 16:30 UTCEPSS rescoreEPSS 1.4% · 72nd percentile
  40. 2026-10-22 16:33 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  41. 2026-10-21 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  42. 2026-10-20 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  43. 2026-10-19 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  44. 2026-10-18 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  45. 2026-10-18 15:53 UTCVendor advisory
  46. 2026-10-18 15:53 UTCGHSA enrichmentGHSA-4g4g-fqw4-prp2 · GitHub severity HIGH · GitHub CVSS 7.5
  47. 2026-10-18 05:34 UTCEchelonGraph re-scored
  48. 2026-10-17 16:33 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  49. 2026-10-16 16:38 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  50. 2026-10-15 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  51. 2026-10-14 16:31 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  52. 2026-10-13 16:32 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  53. 2026-10-12 17:05 UTCEchelonGraph re-scored
  54. 2026-10-12 16:33 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  55. 2026-10-11 20:38 UTCEchelonGraph re-scored
  56. 2026-10-11 18:49 UTCEchelonGraph re-scored
  57. 2026-10-11 15:26 UTCEchelonGraph re-scored
  58. 2026-10-11 13:47 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  59. 2026-10-10 19:59 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  60. 2026-10-10 10:03 UTCOSV refresh
  61. 2026-10-09 20:06 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  62. 2026-10-08 17:10 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  63. 2026-10-07 23:47 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  64. 2026-10-06 15:17 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  65. 2026-10-05 17:42 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  66. 2026-10-03 14:24 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  67. 2026-10-01 19:49 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  68. 2026-09-30 15:02 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  69. 2026-09-28 13:50 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  70. 2026-09-27 13:45 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  71. 2026-09-26 15:58 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  72. 2026-09-26 00:25 UTCEPSS rescoreEPSS 1.4% · 71st percentile
  73. 2026-09-24 14:02 UTCEPSS rescoreEPSS 1.4% · 71st percentile

Publicly available exploits

(2 references)

Public exploit code is referenced for this CVE (2 GitHub PoCs). Defenders should treat patch urgency accordingly.

GitHub repositories: 1 of 2 labelled (1 exploit code).

  • GitHub PoCDesertDemons/CVE-2025-4138-4517-POC
    Published Feb 15, 2026

    CVE-2025-4138 / CVE-2025-4517 — Python tarfile PATH_MAX Symlink Filter Bypass

    Open source ↗
  • GitHub PoCthefizzyfish/CVE-2025-4138_tarfile_filter_bypassExploit code (read on 2026-11-24)
    Published Feb 15, 2026

    CVE-2025-4138 - Python Arbitrary file write outside extraction directory

    Open source ↗

Labels marked on GitHub repositories are EchelonGraph's. Gemini (Google Vertex AI) and Claude (Anthropic) read each repository's description, the first 6,000 bytes of its README and up to 200 paths of its file list; where they do not give the same label with every check passing, or the repository's text uses words of both kinds, a second Claude model is asked once. These labels are shown only where at least two of these models gave them (all three where the text uses words of both kinds) and every quote and file those models cited was found in the repository (rule poc-kind-verifier-v4). Each label shows the day its repository was read; it is read again only when those checks change, and is taken down if it no longer passes them. Repository content belongs to its authors.

Frequently asked(5)

What is CVE-2025-4138?
CVE-2025-4138 is a high-severity vulnerability; its CVE record was published on June 3, 2025. Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or…
When was the CVE record for CVE-2025-4138 published?
The CVE record for CVE-2025-4138 was published on June 3, 2025. That is the record's publication date; the vulnerability itself may have been made public earlier. CVE.org's record carries a last-updated date of July 31, 2026; it may have been updated since EchelonGraph last read it.
Is CVE-2025-4138 actively exploited?
CVE-2025-4138 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1.5% probability of exploitation in the next 30 days (75th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-4138?
CVE-2025-4138 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2025-4138?
A fix for CVE-2025-4138 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2025-4138 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-4138

Explore →

Is Your Infrastructure Affected by CVE-2025-4138?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.