Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-10854

CVE-2025-10854: txtai Framework Path Traversal Flaw

CVE-2025-10854 is a path traversal vulnerability in txtai framework that exploits symbolic links in tar files to write files anywhere on the filesystem. This article covers technical details, affected versions, and mitigation.

Published: April 28, 2026

CVE-2025-10854 Overview

CVE-2025-10854 is a high-severity arbitrary file write vulnerability in the txtai framework, an AI-powered semantic search library. The vulnerability exists in the handling of compressed tar files when loading embedding indices. While the txtai framework implements a validate function intended to prevent path traversal attacks by ensuring safe filenames, this security control fails to account for symbolic links within tar archives. An attacker can exploit this oversight to write arbitrary files anywhere on the filesystem when txtai processes untrusted embedding indices.

Critical Impact

Attackers can achieve arbitrary file write on systems processing untrusted embedding indices, potentially leading to remote code execution, configuration tampering, or system compromise.

Affected Products

  • txtai framework (versions prior to the security fix)

Discovery Timeline

  • 2025-09-22 - CVE-2025-10854 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-10854

Vulnerability Analysis

This vulnerability is classified as CWE-61 (UNIX Symbolic Link Following), a type of symlink attack that bypasses file path validation controls. The txtai framework provides functionality to load embedding indices from compressed tar files, which is useful for sharing and distributing pre-computed semantic search indices. To protect against path traversal attacks, txtai implements a validate function that checks filenames within the archive to ensure they don't contain malicious path components like ../ sequences.

However, the validation logic contains a critical oversight: it does not inspect or restrict symbolic links embedded within the tar archive. An attacker can craft a malicious tar file containing a symbolic link that points to an arbitrary location on the filesystem (such as /etc/cron.d/ or /root/.ssh/). When txtai extracts this archive, the symbolic link is created, and subsequent files in the archive can be written through this symlink to the attacker-controlled destination.

The network-based attack vector with high complexity indicates that while exploitation requires crafting a specially prepared malicious embedding index and convincing a target to load it, successful exploitation results in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause is incomplete input validation in the tar file extraction routine. The validate function performs filename-based path traversal checks but fails to enumerate and validate tar archive member types. Specifically, it does not check for tarfile.SYMTYPE or tarfile.LNKTYPE entries, which represent symbolic and hard links respectively. This allows symbolic links to bypass the path safety checks entirely, as the symlink name itself may appear safe while pointing to a dangerous destination.

Attack Vector

The attack requires an adversary to prepare a malicious tar archive containing:

  1. A symbolic link with a benign-appearing name pointing to a sensitive directory (e.g., ./cache -> /etc/cron.d)
  2. A malicious file intended to be written through the symlink (e.g., ./cache/malicious_cron)

When a victim application using txtai loads this crafted embedding index, the extraction process creates the symlink and then writes the malicious payload through it to the attacker-specified location. This can be leveraged for various attacks including:

  • Writing cron jobs for scheduled code execution
  • Modifying SSH authorized_keys for persistent access
  • Overwriting application configuration files
  • Replacing system binaries or libraries

The attack is network-accessible because txtai applications may load embedding indices from remote sources, URLs, or user-uploaded files. For detailed technical information about the vulnerability mechanics, refer to the JFrog Vulnerability Report.

Detection Methods for CVE-2025-10854

Indicators of Compromise

  • Presence of unexpected symbolic links in txtai embedding index directories
  • File modifications in sensitive system directories coinciding with txtai embedding loading operations
  • Unexpected files appearing in /etc/cron.d/, /root/.ssh/, or web server directories
  • Tar extraction logs showing symbolic link creation followed by file writes

Detection Strategies

  • Monitor file system activity during txtai embedding index loading operations for symlink creation
  • Implement file integrity monitoring (FIM) on critical system directories to detect unauthorized writes
  • Audit tar file contents before processing with txtai, specifically checking for symbolic link members
  • Deploy application-level logging to track the source and content of loaded embedding indices

Monitoring Recommendations

  • Enable verbose logging for txtai operations to capture embedding index loading events
  • Configure SIEM rules to correlate tar extraction activities with subsequent file writes outside expected directories
  • Monitor for unusual Python process activity performing file operations in system-critical paths
  • Implement network monitoring to identify embedding indices being loaded from untrusted external sources

How to Mitigate CVE-2025-10854

Immediate Actions Required

  • Avoid loading embedding indices from untrusted or unverified sources until a patch is applied
  • Implement input validation to reject tar archives containing symbolic links before passing to txtai
  • Run txtai applications in sandboxed environments with restricted filesystem write permissions
  • Review and audit all sources of embedding indices currently in use

Patch Information

Users should monitor the txtai GitHub issue discussion for official patch information and upgrade to a fixed version when available. The security fix should implement proper validation of tar archive member types, rejecting or safely handling symbolic links during extraction.

Workarounds

  • Pre-scan all tar files for symbolic links using tarfile.getmembers() and reject archives containing SYMTYPE or LNKTYPE entries
  • Restrict the txtai process to operate within a chroot jail or container with limited filesystem access
  • Implement application-level firewall rules to prevent txtai from loading remote embedding indices
  • Use read-only filesystem mounts for sensitive directories when running txtai workloads
bash
# Pre-scan tar files for symbolic links before loading with txtai
python3 -c "
import tarfile
import sys

def check_for_symlinks(tar_path):
    with tarfile.open(tar_path, 'r:*') as tar:
        for member in tar.getmembers():
            if member.issym() or member.islnk():
                print(f'WARNING: Symbolic/hard link detected: {member.name} -> {member.linkname}')
                sys.exit(1)
    print('No symbolic links found - archive appears safe')

check_for_symlinks('embedding_index.tar.gz')
"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechTxtai

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-61
  • Technical References
  • GitHub Issue Discussion

  • JFrog Vulnerability Report
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English