CVE-2026-35487: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui
CVE-2026-35487 is a path traversal vulnerability in versions of oobabooga text-generation-webui prior to 4. 3. It allows unauthenticated attackers to read arbitrary . txt files on the server by exploiting the load_prompt() function. The file contents are returned directly in the API response. This vulnerability has a medium severity rating and is fixed in version 4. 3.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-35487 affects the open-source oobabooga text-generation-webui prior to version 4.3. An unauthenticated path traversal flaw in the load_prompt() function permits attackers to read any .txt file on the server filesystem by manipulating the pathname. The contents of the accessed file are returned verbatim in the API response, potentially exposing sensitive information. The issue is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with an attack vector of network, no privileges required, and no user interaction needed. The vulnerability is fixed in version 4.3 of the software.
Potential Impact
Successful exploitation allows an unauthenticated attacker to read arbitrary .txt files on the server hosting the vulnerable text-generation-webui instance. This can lead to disclosure of sensitive information stored in text files. There is no impact on integrity or availability according to the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to version 4.3 or later of oobabooga text-generation-webui, where this vulnerability is fixed. Since the vulnerability is resolved in the official release, no additional mitigation steps are required beyond applying the update. Patch status is confirmed by the vendor stating the fix is included in version 4.3.
CVE-2026-35487: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in oobabooga text-generation-webui
Description
CVE-2026-35487 is a path traversal vulnerability in versions of oobabooga text-generation-webui prior to 4. 3. It allows unauthenticated attackers to read arbitrary . txt files on the server by exploiting the load_prompt() function. The file contents are returned directly in the API response. This vulnerability has a medium severity rating and is fixed in version 4. 3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-35487 affects the open-source oobabooga text-generation-webui prior to version 4.3. An unauthenticated path traversal flaw in the load_prompt() function permits attackers to read any .txt file on the server filesystem by manipulating the pathname. The contents of the accessed file are returned verbatim in the API response, potentially exposing sensitive information. The issue is classified under CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with an attack vector of network, no privileges required, and no user interaction needed. The vulnerability is fixed in version 4.3 of the software.
Potential Impact
Successful exploitation allows an unauthenticated attacker to read arbitrary .txt files on the server hosting the vulnerable text-generation-webui instance. This can lead to disclosure of sensitive information stored in text files. There is no impact on integrity or availability according to the CVSS vector. No known exploits in the wild have been reported.
Mitigation Recommendations
Upgrade to version 4.3 or later of oobabooga text-generation-webui, where this vulnerability is fixed. Since the vulnerability is resolved in the official release, no additional mitigation steps are required beyond applying the update. Patch status is confirmed by the vendor stating the fix is included in version 4.3.
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: 69d52341aaed68159a2ec57c
Added to database: 4/7/2026, 3:31:13 PM
Last enriched: 4/14/2026, 3:54:56 PM
Last updated: 5/23/2026, 3:47:35 AM
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.