CVE-2026-45553 Details
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.
A local file disclosure vulnerability exists in NiceGUI versions prior to 3.12.0, specifically within the reStructuredText rendering function 'ui.restructured_text()'. This function processes user-supplied reStructuredText using Docutils, without disabling file insertion directives. As a result, an attacker can exploit this by injecting content that utilizes standard Docutils directives, such as 'include', 'csv-table' with ':file:', or 'raw' with ':file:', to read local files accessible to the NiceGUI server process. The vulnerability arises when applications pass untrusted or user-controlled content to 'ui.restructured_text()', leaving sensitive files like application '.env' files, database URLs, API tokens, and other confidential information exposed.
Users can upgrade to NiceGUI version 3.12.0 or later, where this vulnerability has been patched. For those unable to upgrade, the vulnerability can be mitigated by sanitizing input to 'ui.restructured_text()' to ensure that only trusted static strings are used.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 2, 2026CISA-ADP
Assessed Jun 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0 | [email protected] | Release NotesVendor |
| https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NiceGUI | <= 3.11.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 2, 2026 | New CVE Received | [email protected] |
Volerion