Vulnerabilities

Vulnerability · CVE-2024-12718

Allows modifying some file metadata (e.g.

Published Jun 3, 2025 · catalog updated Jul 31, 2026 · Python Software Foundation CPython

Check this week

CVE-2024-12718 is not in CISA KEV. FIRST estimates a 77.00% chance of exploitation in the next 30 days. Check whether you run Python Software Foundation CPython.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium5.3
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
77.00%
Remediation
Version ranges on file
Affected products
vendor Python Software Foundation CPython 0 <3.9.23

Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. 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. Only Python versions 3.12 or later are affected by these vulnerabilities, earlier

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Python Software Foundation CPython 0 <3.9.230 <3.9.23

How to fix CVE-2024-12718

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2024-12718 is not in CISA KEV. FIRST estimates a 77.00% chance of exploitation in the next 30 days. Check whether you run Python Software Foundation CPython.

Which versions are affected?

Compare what you have installed with Python Software Foundation CPython 0 <3.9.23 0 <3.9.23. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 77.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 3, 2025 · EUVD

    Detected

    Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. 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 extractio

  2. Jul 31, 2026 · EUVD

    Updated

    Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. 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 extractio

Sources

  • CVE.orgVulnerability recordCVE-2024-12718

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2024-54644

    Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.