CVE-2026-45553

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNicegui
PublishedJun 2, 2026
First seenJun 2, 2026

How to fix

Update
  • nicegui3.12.0 or later

Affected products

ProductAffected versionsFixed in
niceguiPyPIv < 3.12.03.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.