CVE-2026-45553 HIGH

CVE-2026-45553: NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()

Vendor Zauberzeug
Product nicegui
Weakness CWE-200 · Info exposure
Published June 2, 2026
Last update June 3, 2026

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 2, 2026 CVE published
June 3, 2026 Record updated