CVE Explorer
CVE-2026-25732
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 footgu
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"nicegui","vendor":"zauberzeug","versions":[{"status":"affected","version":"< 3.7.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/zauberzeug/nicegui/blob/main/nicegui/elements/upload_files.py#L110-L115","tags":["x_refsource_MISC"],"url":"https://github.com/zauberzeug/nicegui/blob/main/nicegui/elements/upload_files.py#L110-L115"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/references/1
{"name":"https://github.com/zauberzeug/nicegui/blob/main/nicegui/elements/upload_files.py#L79-L82","tags":["x_refsource_MISC"],"url":"https://github.com/zauberzeug/nicegui/blob/main/nicegui/elements/upload_files.py#L79-L82"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/references/2
{"name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-9ffm-fxg3-xrhh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-9ffm-fxg3-xrhh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:499dfdd80040ad9bc5958092c545173b7b36ae8d8de6d878fb332a38dad1d04e · sha256:ef3bbe760816b746… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.