---
id: CVE-2026-104103
title: >-
  Ludwig is a low-code framework for building custom LLMs, neural networks, and
  other AI models
summary: >-
  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
  validat…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'
cwe:
  - CWE-22
  - CWE-59
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T18:17:21.540'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-104103'
references:
  - url: >-
      https://github.com/ludwig-ai/ludwig/commit/7f534f31e725cc5362c8f6f85537488443de279a
    label: security-advisories@github.com
  - url: 'https://github.com/ludwig-ai/ludwig/releases/tag/v0.17.8'
    label: security-advisories@github.com
  - url: >-
      https://github.com/ludwig-ai/ludwig/security/advisories/GHSA-qvrm-3x4c-rcxf
    label: security-advisories@github.com
tags:
  - nvd
ingestedAt: '2026-10-14T18:47:39.307Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
