Vulnerability · Published Jun 2, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity information exposure in nicegui from zauberzeug. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 82.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPInicegui3.12.0GHSA-jfrm-rx66-g536
PyPInicegui3.12.0PYSEC-2026-2679

Affected products (as reported)

VendorProductVersions
zauberzeug nicegui < 3.12.0

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References