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-2026-35487

CVE-2026-35487: Oobabooga Text Generation Path Traversal

CVE-2026-35487 is a path traversal vulnerability in Oobabooga Text Generation Web UI that allows unauthenticated attackers to read sensitive .txt files from the server. This article covers technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-35487 Overview

CVE-2026-35487 is a path traversal vulnerability affecting text-generation-webui, an open-source web interface for running Large Language Models. Prior to version 4.3, an unauthenticated path traversal vulnerability in the load_prompt() function allows attackers to read any .txt file on the server filesystem. The file content is returned verbatim in the API response, potentially exposing sensitive configuration files, credentials, or other text-based data stored on the server.

Critical Impact

Unauthenticated attackers can read arbitrary .txt files from the server filesystem, potentially exposing sensitive configuration data, credentials, API keys, or other confidential information stored in text format.

Affected Products

  • oobabooga text-generation-webui versions prior to 4.3

Discovery Timeline

  • 2026-04-07 - CVE-2026-35487 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-35487

Vulnerability Analysis

This vulnerability is classified as CWE-22 (Path Traversal), allowing attackers to access files outside of intended directories by manipulating file path inputs. The load_prompt() function fails to properly sanitize user-supplied input, enabling directory traversal sequences (such as ../) to escape the intended prompt directory and access arbitrary .txt files anywhere on the server filesystem.

Since text-generation-webui is commonly deployed in AI/ML environments, servers may contain sensitive configuration files, API keys for LLM providers, training data, or internal documentation in text format. The unauthenticated nature of this vulnerability significantly increases the risk, as no credentials are required to exploit it.

Root Cause

The root cause is insufficient input validation in the load_prompt() function. The function accepts user-controlled file paths without properly sanitizing or validating them against directory traversal sequences. This allows attackers to use path manipulation characters like ../ to navigate outside the intended prompt storage directory and access arbitrary text files on the system.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious API request to the load_prompt() endpoint containing directory traversal sequences in the filename parameter. The vulnerable function processes this input without adequate validation, reads the specified file from the filesystem, and returns its contents directly in the API response.

For example, an attacker targeting a Linux-based deployment could attempt to read system configuration files or application-specific text files by manipulating the path parameter. The vulnerability is limited to files with the .txt extension, but many sensitive files such as notes, configuration backups, and credential exports use this extension.

Detection Methods for CVE-2026-35487

Indicators of Compromise

  • Unusual API requests to the prompt loading endpoint containing ../ or encoded path traversal sequences
  • Access log entries showing attempts to load prompts with suspicious path patterns
  • Unexpected file access events for .txt files outside the designated prompt directories
  • API responses containing system file content or error messages indicating path traversal attempts

Detection Strategies

  • Monitor web server and application logs for path traversal patterns such as ../, ..%2f, %2e%2e/, or similar encoded sequences
  • Implement Web Application Firewall (WAF) rules to detect and block directory traversal attempts
  • Review access logs for requests to the load_prompt() endpoint with anomalous path parameters
  • Deploy endpoint detection solutions to identify file read operations outside expected application directories

Monitoring Recommendations

  • Enable verbose logging for the text-generation-webui application to capture all file access attempts
  • Configure alerts for file access events on sensitive text files such as configuration or credential files
  • Implement network monitoring to detect unusual API request patterns targeting the vulnerable endpoint
  • Establish baseline behavior for legitimate prompt loading operations to identify anomalous activity

How to Mitigate CVE-2026-35487

Immediate Actions Required

  • Upgrade text-generation-webui to version 4.3 or later immediately
  • If upgrade is not immediately possible, restrict network access to the application using firewall rules
  • Implement authentication in front of the web interface to prevent unauthenticated access
  • Review server logs for any indication of exploitation attempts

Patch Information

The vulnerability has been fixed in text-generation-webui version 4.3. Users should upgrade to this version or later to remediate the vulnerability. For detailed information about the fix, refer to the GitHub Security Advisory GHSA-mfgg-vvc6-vqq7.

Workarounds

  • Deploy a reverse proxy or WAF in front of the application to filter path traversal attempts before they reach the vulnerable endpoint
  • Restrict network access to the text-generation-webui instance to trusted IP addresses only
  • Implement authentication mechanisms such as HTTP Basic Auth or OAuth at the network layer if the application lacks built-in authentication
  • Run the application in a containerized environment with minimal filesystem access to limit the impact of successful exploitation

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechOobabooga Text Generation Web Ui

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Vendor Resources
  • GitHub Security Advisory
  • 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