Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39844: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in zauberzeug nicegui

0
Medium
VulnerabilityCVE-2026-39844cvecve-2026-39844cwe-22
Published: Wed Apr 08 2026 (04/08/2026, 20:13:31 UTC)
Source: CVE Database V5
Vendor/Project: zauberzeug
Product: nicegui

Description

CVE-2026-39844 is a path traversal vulnerability in the Python-based UI framework NiceGUI versions prior to 3. 10. 0. The issue arises because PurePosixPath only recognizes forward slashes as path separators, allowing an attacker on Windows to bypass sanitization by using backslashes in upload filenames. This can lead to arbitrary file write on Windows systems when applications construct file paths using file. name, a pattern shown in NiceGUI's examples. The vulnerability has a medium severity with a CVSS score of 5. 9 and is fixed in version 3. 10. 0.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 12:15:05 UTC

Technical Analysis

NiceGUI versions before 3.10.0 are vulnerable to a path traversal attack (CWE-22) due to improper limitation of pathname to a restricted directory. The sanitization relies on PurePosixPath which only recognizes forward slashes, enabling attackers on Windows to use backslashes in filenames to bypass checks. This allows arbitrary file writes when the application constructs file paths from the uploaded file's name. The vulnerability is resolved in NiceGUI 3.10.0.

Potential Impact

An attacker can exploit this vulnerability on Windows systems to write arbitrary files outside the intended directory by uploading files with specially crafted filenames containing backslashes. This can lead to unauthorized modification of files, potentially impacting the integrity of the system or application data. There is no indication of confidentiality or availability impact. No known exploits in the wild have been reported.

Mitigation Recommendations

This vulnerability is fixed in NiceGUI version 3.10.0. Users should upgrade to version 3.10.0 or later to remediate the issue. Since no official patch link or advisory is provided, verify the upgrade availability from the vendor's official sources. Patch status is not explicitly confirmed beyond the fix in 3.10.0, so check vendor advisories for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-07T19:13:20.377Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69d6bc281cc7ad14daadeae3

Added to database: 4/8/2026, 8:35:52 PM

Last enriched: 4/16/2026, 12:15:05 PM

Last updated: 5/24/2026, 10:53:14 AM

Views: 77

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses