CVE-2026-104103
8.1 HIGHpublic exploit availablePublished 2026-10-14 · Updated 2026-10-16
AI risk analysis
- Summary
- The Ludwig framework's archive extraction function failed to validate symbolic and hard links in tar archives, allowing an attacker-controlled archive to write files outside the intended extraction directory via path traversal through symlinks or hardlinks, potentially overwriting arbitrary files with the process's privileges.
- Exploitability
- Exploitation requires a user to manually process a malicious archive from a compromised or attacker-controlled source on Python 3.12 or 3.13 runtimes; it cannot be triggered automatically and requires user interaction.
- Blast radius
- If exploited, an attacker could overwrite arbitrary files on the host system with the privileges of the running Ludwig process, potentially leading to data corruption, privilege escalation, or persistent backdoor installation depending on the overwritten file's role.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Ludwig version 0.17.8 or later, which implements proper validation of symlink and hardlink members during archive extraction.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
Ludwig is a low-code framework for building custom LLMs, neural networks, and other AI models. Prior to 0.17.8, ludwig.datasets.archives.extract_archive() validated tar member names before calling TarFile.extractall() but did not validate symlink members or hard-link members. A crafted archive could create a link that escaped the extraction directory and then write a later member through that link, placing attacker-controlled content at an arbitrary filesystem path with the extracting process's privileges. The same containment check used os.path.commonprefix, so a sibling path sharing the destination's character prefix could also pass. The dataset-loading path can download and extract configured archive URLs, but exploitation requires a user to process an archive from a source controlled or compromised by the attacker on supported Python 3.12 and 3.13 runtimes. Python 3.14 is not affected because its default tar data filter rejects escaping links. This issue is fixed in version 0.17.8.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Weaknesses
CWE-22, CWE-59
Public exploit & PoC references
References
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.