{"id":"EDB-52534","name":"NiceGUI 3.6.1 - Path Traversal","description":"NiceGUI 3.6.1 - Path Traversal","cves":["CVE-2026-25732"],"author":"banyamer","published":"2026-04-30","platform":"multiple","type":"webapps","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/52534","path":"exploits/multiple/webapps/52534.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-52534.py","vulnerabilities":[{"id":"CVE-2026-25732","state":"PUBLISHED","title":"NiceGUI's Path Traversal via Unsanitized FileUpload.name Enables Arbitrary File Write","titleSource":"CVE Program","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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2026-25732","cvss":{"version":"3.1","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-25732"},"updatedAt":"2026-02-09T15:27:21.089Z","retrievedAt":"2026-11-25T16:15:50.660Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-52534.png?v=2","url":"https://exploitbin.com/exploits/EDB-52534","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-52534/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-52534/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}