Skip to main content
← All vulnerabilities
CVE-2026-45553PYSEC-2026-2679GHSA-JFRM-RX66-G536

NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.12.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • zauberzeug nicegui

    fixed in 3.12.0

  • niceguiPyPI

    fixed in 3.12.0

References 2

GitHub · zauberzeug/nicegui