CVE Explorer
CVE-2026-4360
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 extract() function.
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.15.0b4","status":"affected","version":"0","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2,"baseSeverity":"LOW","exploitMaturity":"NOT_DEFINED","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-281","description":"CWE-281","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/problemTypes/0/descriptions/0
Source references
9 source assertions{"tags":["patch"],"url":"https://github.com/python/cpython/commit/5e0ef3f1afe892e4f64eb83368db57ac4c40cba0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/3
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/7b57e8d51446297b8c7c482d224bc5f1938e4301"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/4
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/7ccdbaba2c54250a70d7f25632152df7655a5e0a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/5
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/cf23b9153181062150d061468b6d24af33fe214f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/8
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/d2b2f5eacab4dd48446b63340613b05dcbbf0b44"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/7
{"tags":["patch"],"url":"https://github.com/python/cpython/commit/eee3ddf0ca10283cc7fea724aae9cd8665f8d15e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/6
{"tags":["issue-tracking"],"url":"https://github.com/python/cpython/issues/151987"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/2
{"tags":["patch"],"url":"https://github.com/python/cpython/pull/151988"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/1
{"tags":["vendor-advisory"],"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/TWZW2PC2AZOV6FENIHFSRC63OM7MBGSB/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a083d0efc7501d70c77128bb8029fb51999c64d64286f7af1d4c66b34b47c592 · sha256:98d86d6242da0596… · /containers/cna/references/0
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.