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.
{
"cna_assigner": "PSF",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7774.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.10.21"
},
{
"introduced": "3.11.0"
},
{
"fixed": "3.11.16"
},
{
"introduced": "3.12.0"
},
{
"fixed": "3.12.14"
},
{
"introduced": "3.13.0"
},
{
"fixed": "3.13.14"
},
{
"introduced": "3.14.0"
},
{
"fixed": "3.14.6"
},
{
"introduced": "3.15.0a1"
},
{
"fixed": "3.15.0b2"
}
],
"source": "AFFECTED_FIELD"
}