tarfile.tar_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() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process.
This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.
{
"cna_assigner": "PSF",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114583.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.11.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.12.0"
},
{
"fixed": "3.12.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.13.0"
},
{
"fixed": "3.13.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.14.0"
},
{
"fixed": "3.14.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.15.0"
},
{
"fixed": "3.15.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "3.16.0a1"
},
{
"fixed": "3.16.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "0901ad4ffb22605f12b705d1c1197f0a01f0ba0b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "c6ada40177436e4e2533a7b252082b5f0c043477"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e7e0b3523ad6ba8472873dda594cf4021a16f8b5"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "04d8fca7da2cf3ebc0881fec8a53a1330c3b665d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bc93f8ad4c4a0f92d184ec8fccc8ff8a651dcec2"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f4401da82e2baec5dab06cf070fbca77d53220f0"
}
],
"source": "REFERENCES_COMMIT"
}
]
}