Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2026-25732

Prior to 3.7.0, NiceGUI's FileUpload.name property exposes client-supplied filename metadata without sanitization, enabling path traversal when developers use the pattern UPLOAD_DIR / file.name.

EXPLOITHIGH 7.5EPSS 3.38%

Does this matter?

A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 3.4%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

Description

NiceGUI is a Python-based UI framework. Prior to 3.7.0, NiceGUI's FileUpload.name property exposes client-supplied filename metadata without sanitization, enabling path traversal when developers use the pattern UPLOAD_DIR / file.name. Malicious filenames containing ../ sequences allow attackers to write files outside intended directories, with potential for remote code execution through application file overwrites in vulnerable deployment patterns. This design creates a prevalent security footgun affecting applications following common community patterns. Note: Exploitation requires application code incorporating file.name into filesystem paths without sanitization. Applications using fixed paths, generated filenames, or explicit sanitization are not affected. This vulnerability is fixed in 3.7.0.

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.38% probability · 89th percentile
Public exploits
1 in Exploit-DB · first 30 April 2026
CISA KEV
Not listed
Weakness
CWE-22: Path traversal
Affected
zauberzeug/nicegui
Source
security-advisories@github.com

In plain terms

It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
None. No login is needed.
Someone else involved
No. Nobody has to click, open or approve anything.
At risk
Reading data: none. Changing data: serious. Stopping the service: none.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 30 April 2026, about 3 months after the record was published.

EPSS trend
0%3%5%4 December 2026: 3.38%4 December 20264 December 2026

EPSS 3.4% since 4 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-52534source ↗NiceGUI 3.6.1 - Path Traversalmultiple · banyamerwebapps30 April 2026no

The same product

We hold 3 records for zauberzeug/nicegui. None of them is on CISA’s known-exploited list. Follow this product to hear of the next one.

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.