Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nicegui
  4. ›
  5. CVE-2026-45553

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

May 18, 2026 (updated June 9, 2026)

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.

References

  • github.com/advisories/GHSA-jfrm-rx66-g536
  • github.com/zauberzeug/nicegui/releases/tag/v3.12.0
  • github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536
  • nvd.nist.gov/vuln/detail/CVE-2026-45553

Code Behaviors & Features

Detect and mitigate CVE-2026-45553 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.12.0

Fixed versions

  • 3.12.0

Solution

Upgrade to version 3.12.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/nicegui/CVE-2026-45553.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:46 +0000.