What’s Vulnerable › Vulnerabilities
CVE-2026-45553: NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-02 · updated 2026-07-22
- Weakness: CWE-200
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.
Affected products
- zauberzeug nicegui: before 3.12.0
References
- https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536
Get alerted when CVE-2026-45553 or the next vulnerability affects your stack