CVE-2025-10854 Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices
HighCVSS 8.1
EPSS 0.67%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi txtai(PyPI) | <= 9.0.0 | after 9.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi txtai(PyPI) | <= 9.0.0 | No fix listed |
References
- github.com patch
- research.jfrog.com third-party-advisory