CVE-2026-45553: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in zauberzeug nicegui
NiceGUI is a Python-based UI framework. Prior to version 3.12.0, ui.restructured_text() renders reStructuredText server-side with Docutils without disabling file insertion directives. When a NiceGUI application passes attacker-controlled content to ui.restructured_text(), an attacker can use standard Docutils directives (include, csv-table with :file:, raw with :file:) to read local files readable by the NiceGUI server process. Applications that only pass trusted static strings to ui.restructured_text() are not affected. This issue has been patched in version 3.12.0.
AI Analysis
Technical Summary
NiceGUI versions before 3.12.0 have a vulnerability in the ui.restructured_text() function where server-side rendering of reStructuredText via Docutils does not disable file insertion directives such as include, csv-table with :file:, and raw with :file:. This enables an attacker controlling the input to read arbitrary local files readable by the server process, leading to exposure of sensitive information. The vulnerability is tracked as CVE-2026-45553 and has a CVSS 3.1 score of 7.5 (high severity). The vulnerability is patched in NiceGUI version 3.12.0.
Potential Impact
An attacker able to supply input to ui.restructured_text() in affected NiceGUI versions can read local files on the server that the NiceGUI process has permission to access. This results in unauthorized disclosure of sensitive information. There is no impact on integrity or availability reported. Applications that do not pass attacker-controlled content to ui.restructured_text() are not vulnerable.
Mitigation Recommendations
This vulnerability is fixed in NiceGUI version 3.12.0. Users should upgrade to version 3.12.0 or later to remediate this issue. If upgrading is not immediately possible, ensure that ui.restructured_text() is only called with trusted static strings and never with attacker-controlled input to avoid exploitation.
CVE-2026-45553: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in zauberzeug nicegui
Description
NiceGUI is a Python-based UI framework. Prior to version 3.12.0, ui.restructured_text() renders reStructuredText server-side with Docutils without disabling file insertion directives. When a NiceGUI application passes attacker-controlled content to ui.restructured_text(), an attacker can use standard Docutils directives (include, csv-table with :file:, raw with :file:) to read local files readable by the NiceGUI server process. Applications that only pass trusted static strings to ui.restructured_text() are not affected. This issue has been patched in version 3.12.0.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
NiceGUI versions before 3.12.0 have a vulnerability in the ui.restructured_text() function where server-side rendering of reStructuredText via Docutils does not disable file insertion directives such as include, csv-table with :file:, and raw with :file:. This enables an attacker controlling the input to read arbitrary local files readable by the server process, leading to exposure of sensitive information. The vulnerability is tracked as CVE-2026-45553 and has a CVSS 3.1 score of 7.5 (high severity). The vulnerability is patched in NiceGUI version 3.12.0.
Potential Impact
An attacker able to supply input to ui.restructured_text() in affected NiceGUI versions can read local files on the server that the NiceGUI process has permission to access. This results in unauthorized disclosure of sensitive information. There is no impact on integrity or availability reported. Applications that do not pass attacker-controlled content to ui.restructured_text() are not vulnerable.
Mitigation Recommendations
This vulnerability is fixed in NiceGUI version 3.12.0. Users should upgrade to version 3.12.0 or later to remediate this issue. If upgrading is not immediately possible, ensure that ui.restructured_text() is only called with trusted static strings and never with attacker-controlled input to avoid exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-12T17:48:47.880Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1efb66e29bf47b50db3525
Added to database: 06/02/2026, 15:48:54 UTC
Last enriched: 06/10/2026, 11:16:25 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 36
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.
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.