CVE-2025-10854
JSON

8.1high

Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices

Severity
8.1high CVSS:3.1 by JFROG
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
JFROG

Description

The txtai framework allows the loading of compressed tar files as embedding indices. While the validate function is intended to prevent path traversal vulnerabilities by ensuring safe filenames, it does not account for symbolic links within the tar file. An attacker is able to write a file anywhere in the filesystem when txtai is used to load untrusted embedding indices

Affected

Product or packageVersionsReported by
txtaiup to 9.0.0CVE List

Classification

CWE-61

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

The txtai framework allows the loading of compressed tar files as embedding indices. While the validate function is intended to prevent path traversal vulnerabilities by ensuring safe filenames, it does not account for symbolic links within the tar file. An attacker is able to write a file anywhere in the filesystem when txtai is used to load untrusted embedding indices

NVD (es)

El framework txtai permite la carga de archivos tar comprimidos como índices de incrustación. Si bien la función de validación está destinada a prevenir vulnerabilidades de salto de ruta al garantizar nombres de archivo seguros, no tiene en cuenta los enlaces simbólicos dentro del archivo tar. Un atacante puede escribir un archivo en cualquier lugar del sistema de archivos cuando se utiliza txtai para cargar índices de incrustación no confiables.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10854 changed 2025-09-22CVE Terms of Use
NVDCVE-2025-10854 changed 2026-11-05Public domain