Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35485: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui

0
High
VulnerabilityCVE-2026-35485cvecve-2026-35485cwe-22
Published: Tue Apr 07 2026 (04/07/2026, 14:47:37 UTC)
Source: CVE Database V5
Vendor/Project: oobabooga
Product: text-generation-webui

Description

CVE-2026-35485 is a path traversal vulnerability in oobabooga's text-generation-webui versions prior to 4. 3. It allows unauthenticated attackers to read arbitrary files on the server by sending crafted directory traversal payloads via the API. The vulnerability arises because the load_grammar() function does not properly restrict pathname access, and Gradio does not validate dropdown input server-side. This issue is fixed in version 4. 3. The vulnerability has a high severity score of 7. 5 and impacts confidentiality but not integrity or availability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/14/2026, 15:58:40 UTC

Technical Analysis

The text-generation-webui project, an open-source web interface for Large Language Models, contained a path traversal vulnerability (CWE-22) in the load_grammar() function prior to version 4.3. Due to insufficient validation of user input in Gradio's dropdown values, an attacker can submit directory traversal strings (e.g., ../../../etc/passwd) via the API without authentication. This allows reading any file on the server filesystem without extension restrictions. The vulnerability was publicly disclosed with a CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) and is fixed in version 4.3.

Potential Impact

Successful exploitation allows an unauthenticated attacker to read arbitrary files on the server hosting text-generation-webui, potentially exposing sensitive information. The vulnerability impacts confidentiality but does not affect integrity or availability. There are no known exploits in the wild at the time of disclosure.

Mitigation Recommendations

Upgrade to text-generation-webui version 4.3 or later, where this path traversal vulnerability is fixed. Since no official patch or temporary workaround details are provided, updating to the fixed version is the recommended remediation. Patch status is not explicitly confirmed beyond the fix in version 4.3, so users should verify with the vendor or project repository for the latest guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-02T20:49:44.454Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d51c3eaaed68159a2c1622

Added to database: 4/7/2026, 3:01:18 PM

Last enriched: 4/14/2026, 3:58:40 PM

Last updated: 5/23/2026, 3:47:46 AM

Views: 51

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses