CVE-2026-45553
HIGH 7.5CVSS 3.1NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()
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.
- Published
- 2 Jun 2026
- Last modified
- 22 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200
- Also known as
- GHSA-jfrm-rx66-g536PYSEC-2026-2679
- Sources
- NVDJSONOSV GHSA-jfrm-rx66-g536JSONOSV PYSEC-2026-2679JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | nicegui | < 3.12.0 | 3.12.0 |
References
- https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0 · WEB
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45553 · ADVISORY
- https://github.com/zauberzeug/nicegui · PACKAGE
- https://pypi.org/project/nicegui · PACKAGE
- https://github.com/advisories/GHSA-jfrm-rx66-g536 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 2 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 May 2026)