Busybox: tar deferred hardlink target resolved through a deferred symlink escapes the extraction directory
6.3 medium
Medium (6.3) in red hat.
A flaw was found in BusyBox. When extracting an archive, the tar utility improperly resolves deferred hardlink targets across symbolic links pointing outside the intended extraction directory. An attacker could provide a specially crafted archive that links to sensitive files outside the extraction tree, allowing subsequent extraction operations to overwrite arbitrary files on the system.
Severity
CVSS 3.1
6.3 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE
CWE-59Improper Link Resolution Before File Access (Link Following)
Show the promptExplain CVE-2026-124745 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-124745?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-124745?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-124745 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
red hat:red hat enterprise linux 6
red hat:red hat hardened images
Attack patterns (CAPEC)
CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.