CVE Explorer
CVE-2026-7774
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","modules":["tarfile"],"product":"CPython","repo":"https://github.com/python/cpython","vendor":"Python Software Foundation","versions":[{"lessThan":"3.13.14","status":"affected","version":"0","versionType":"python"},{"lessThan":"3.14.6","status":"affected","version":"3.14.0","versionType":"python"},{"lessThan":"3.15.0b2","status":"affected","version":"3.15.0a1","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpac…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/problemTypes/0/descriptions/0
Source references
11 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/06/04/9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/adp/1/references/0
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/0478bd83d82b255e0f29f613367a59d261e7eaa2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/3
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/0d28f5e46e151718972dfabd91205444d0037b6d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/4
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/10a13bee3c24f9c62b602e696334ff2272a40efc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/8
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/578411982c16f753f4893532510099ef665117da"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/5
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/5cf47a248c35c375d610b87b2f72fd1ed454b558"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/6
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/74cca9a92fb7d653e404843a56b8bdc7b0afdbbf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/7
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/c063191cb7f9170f9565e305f8aa2b79ab2bf609"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/9
{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/149486"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/1
{"tags":["patch"],"url":"https://github.com/python/cpython/pull/149487"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/0
{"tags":["vendor-advisory"],"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/4FU62L2M6RMMHT2QPGQNPEHHUND7CEX5/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab9203f240427b23fc956371a0a9c6c13c5c682047abbff3f3db65eccb61e514 · sha256:1a16a8187dcca24b… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.