{"id":"CVE-2026-45553","published":"2026-06-02T15:34:39Z","modified":"2026-06-03T13:49:28Z","title":"NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()","vendor":"zauberzeug","product":"nicegui","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00432,"percentile":0.29287,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0","tags":["x_refsource_MISC"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":5.86},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"zauberzeug","affectedVersions":[{"vendor":"zauberzeug","product":"nicegui","versions":["< 3.12.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-03T13:49:17.577124Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"nicegui","vulnerableRanges":["<3.12.0"],"patched":["3.12.0"],"from":["GHSA-jfrm-rx66-g536","PYSEC-2026-2679"],"provenance":"source"}],"summary":{"text":"The flaw is in NiceGUI's ui.restructured_text() component, where server-side Docutils rendering leaves file insertion directives enabled, allowing local file read. An attacker who can supply content passed to ui.restructured_text() over the network, without authentication or user interaction, can use directives such as include, csv-table with :file:, or raw with :file: to read files accessible to the NiceGUI server process; applications that only pass trusted static strings are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:04Z"},"euvd":{"id":"EUVD-2026-33963","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-27156","published":"2026-02-24","fixed":"3.8.0","kev":false},{"cve":"CVE-2026-33332","published":"2026-03-24","fixed":"3.9.0","kev":false},{"cve":"CVE-2026-39844","published":"2026-04-08","fixed":"3.10.0","kev":false,"link":{"from":"CVE-2026-39844","to":"CVE-2026-45553","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nicegui","fromFixed":"3.10.0","toFixed":"3.12.0","daysApart":55}]}},{"cve":"CVE-2026-45553","published":"2026-06-02","fixed":"3.12.0","kev":false},{"cve":"CVE-2026-45554","published":"2026-06-02","fixed":"3.12.0","kev":false}],"package":"PyPI:nicegui"}}