File Inclusion Vulnerability in NiceGUI Framework by Zauberzeug
CVE-2026-45553
7.5HIGH
What is CVE-2026-45553?
The NiceGUI framework, used for creating user interfaces in Python, has a vulnerability that allows for file inclusion via the ui.restructured_text() method. This occurs when the method processes attacker-controlled content without properly disabling file insertion directives through Docutils, enabling potential access to local files on the server. Applications can mitigate this risk by ensuring that only trusted static strings are passed to ui.restructured_text(). A patch addressing this issue has been released in version 3.12.0.
Affected Version(s)
nicegui < 3.12.0
