Advisory record · GHSA-jfrm-rx66-g536

NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()

CVSS 7.5 HighEPSS 0.0026 · 17th percentile

Published by the GitHub Advisory Database at 18 May 2026, 20:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
niceguiPyPI<3.12.03.12.0
Identifiers
GHSA-jfrm-rx66-g536 · CVE-2026-45553 · PYSEC-2026-2679
Weakness (CWE)
CWE-200
Published
18 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

NiceGUI versions before 3.12.0 are vulnerable through the ui.restructured_text() element, which renders reStructuredText with Docutils without disabling file insertion directives. An attacker who can supply reStructuredText content to an affected page, such as through query parameters or form fields, can use directives like include or csv-table with a file option to read files the NiceGUI server process can access. Upgrade nicegui to version 3.12.0 or later. Applications that only pass trusted static strings to this element are not affected.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0026, the 17th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:02 UTC First seen by agentprime
  2. 31 Oct 2026, 15:02 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.