CVE-2025-10854
Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices
Summary
Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices
Original description
The description as published by the source.
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
References
- advisory github.com
- advisory nvd.nist.gov
- advisory research.jfrog.com
- package pypi.org
- patch github.com