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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-05-18T20:21:59.000Z
- Modified: 2026-07-22T19:10:00.120Z
- Also known as: GHSA-jfrm-rx66-g536, PYSEC-2026-2679
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zauberzeug nicegui: < 3.12.0
- nicegui (PyPI): before 3.12.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536> (web)
- <https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0> (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)

## Sources

- CVE List: [CVE-2026-45553](https://www.cve.org/CVERecord?id=CVE-2026-45553), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-jfrm-rx66-g536](https://github.com/advisories/GHSA-jfrm-rx66-g536), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45553](https://nvd.nist.gov/vuln/detail/CVE-2026-45553), Public domain, modified 2026-07-22
- PyPA Advisory Database: [PYSEC-2026-2679](https://osv.dev/vulnerability/PYSEC-2026-2679), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-45553 · Whole record: https://cve.day/CVE-2026-45553.json · Rebuilt by cve.day 2026-11-25T22:59:23.571Z
