Quick answers
- Is CVE-2026-45553 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-45553 being exploited in the wild.
- How severe is CVE-2026-45553?
- High severity, with a CVSS score of 7.5, published 2 June 2026.
- Which products and versions are affected?
- nicegui (PyPI) <= 3.11.1, ECOSYSTEM:introduced=0,fixed=3.12.0.
- Is there a fix for CVE-2026-45553?
- Yes. nicegui (PyPI): upgrade to 3.12.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-45553 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-45553?
- Check whether you run nicegui (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- nicegui (PyPI): upgrade to 3.12.0 or later
pip install "nicegui>=3.12.0"
Technical details
The vulnerability exists in the `ui.restructured_text()` component of NiceGUI due to an insecure configuration of the underlying Docutils library. Specifically, the `prepare_content()` function in `nicegui/elements/restructured_text.py` fails to disable file insertion and raw directives when calling `publish_parts()`. An unauthenticated remote attacker can exploit this by submitting specially crafted reStructuredText containing directives such as `include`, `csv-table` with `:file:`, or `raw` with `:file:`. If the application passes this attacker-controlled content to the renderer, the server will embed the contents of local files into the generated HTML. This issue is patched in version 3.12.0 by setting `file_insertion_enabled` and `raw_enabled` to False in the Docutils settings.
Affected products
- zauberzeug NiceGUI <= 3.11.1
Identifiers
- CVE-2026-45553
- GHSA-jfrm-rx66-g536
- PYSEC-2026-2679
Timeline
- 2026-05-12: patched: Version 3.12.0 released
- 2026-05-12: advisory: GitHub Security Advisory GHSA-jfrm-rx66-g536 published
- 2026-06-02: disclosed: NVD publication date