CVE-2025-10854
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe txtai framework's embedding index loader processes tar archives but fails to validate symbolic links during extraction. The existing validate function only checks regular filenames for path traversal patterns, but does not inspect or block symlinks that can resolve to arbitrary filesystem locations. When an attacker crafts a malicious tar file containing symlinks pointing outside the intended extraction directory, the extraction process follows these links and writes files to any reachable filesystem location.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check txtai installation and versionRun 'pip show txtai' or 'pip list | grep txtai' to identify the installed version of the txtai packageAffected if The installed version falls within any affected version range (compare to the latest patched version from the txtai project)
-
Identify embedding index configurationReview application configuration files (e.g., config.yaml, settings.py) or code for txtai embedding setup. Look for 'embeddings', 'index', or 'indexer' configuration sections that specify a source for loading pre-computed indicesAffected if Embedding indices are configured to load from an external source, particularly a file path or URL that points to a compressed archive
-
Determine if tar archives are used for embedding indicesInspect the embedding index configuration or initialization code. Check if indices are loaded from .tar, .tar.gz, .tgz, or similar archive filesAffected if Embedding indices are loaded from tar-based archive files containing the embedding index data
-
Examine the extraction code path for symlink handlingLocate the txtai embedding index loader code (typically in the 'txtai' package under 'archive', 'embeddings', or 'index' modules). Inspect the extraction/validation logic for tar file handling. Search for 'extract', 'validate', 'symlink', or 'link' related functionsAffected if The extraction code does not explicitly validate or reject symbolic link entries in tar archives before extraction
-
Verify extraction destination is not sandboxedCheck if the extraction process uses a sandboxed or chroot'd environment, or if it validates that extracted files remain within a designated directory. Review the 'path' parameter passed to extraction functionsAffected if Files are extracted to user-controlled directories without symlink resolution guards or directory containment checks
A user is affected if they load embedding indices from tar archives using txtai, the source is untrusted or attacker-controlled, and the extraction does not block or sanitize symbolic links in the archive.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataImplement symlink validation during tar extraction to reject or sanitize archive entries containing symbolic links, or use extraction methods that do not follow symlinks. Additionally, only load embedding indices from trusted sources.
- Consultation3.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,648.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-10854 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-10854 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data