# CVE-2025-10854: Symlink Following in txtai leads to arbitrary file write when loading untrusted embedding indices

- Severity: High 8.1 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-09-22T12:04:51.805Z
- Modified: 2026-11-05T23:10:00.150Z
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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

(As written by CVE List.)

## Affected

- txtai: up to 9.0.0

## References

- <https://github.com/neuml/txtai/issues/965> (patch)
- <https://research.jfrog.com/vulnerabilities/txtai-arbitrary-file-write-jfsa-2025-001471363/> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-10854](https://www.cve.org/CVERecord?id=CVE-2025-10854), CVE Terms of Use, modified 2025-09-22
- NVD: [CVE-2025-10854](https://nvd.nist.gov/vuln/detail/CVE-2025-10854), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-10854 · Whole record: https://cve.day/CVE-2025-10854.json · Rebuilt by cve.day 2026-11-25T22:59:04.918Z
