---
schema_version: '1.0'
id: security-20260812-dfda46
title: CVE-2026-39844 — nicegui
url: https://osv.dev/vulnerability/PYSEC-2026-2234
url_hash: dfda46aba571f6eee3c2d12dd37311c889dc1437c10f63b01c65815bc33194c5
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-2234
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-39844
- PYSEC-2026-2234
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- nicegui
- PyPI
lang: en
published_at: '2026-04-08T21:16:59Z'
fetched_at: '2026-08-12T16:00:04.518237Z'
updated_at: '2026-08-22T14:45:11Z'
status: published
content_hash: 3ac7ab2e22401cfdc45f3b7cb0c5280d22ac0b684356cf370ec76edbe47bf20b
content_changed_at: '2026-08-22T13:15:21.605739Z'
license_note: full
summary: NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath
  only recognizes forward slashes (/) as path separators, an attacker can bypass this
  sanitization on Windows by using backslashes (\) in the upload filename. Applications
  that construct file paths using f
summary_source: rss
summary_en: NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath
  only recognizes forward slashes (/) as path separators, an attacker can bypass this
  sanitization on Windows by using backslashes (\) in the upload filename. Applications
  that construct file paths using f
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-39844
- library vulnerability
- nicegui
- PyPI
- PYSEC-2026-2234
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- software security
entities_en:
- name: CVE
  type: data
- name: PyPI
  type: artifact
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: PyPI
  type: artifact
related_auto:
- name: Portal
  type: organization
  weight: 1.0
- name: Hugging Face
  type: organization
  weight: 1.0
computed_at: '2026-08-22T14:45:07Z'
---

# CVE-2026-39844 — nicegui

## TL;DR
NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backslashes (\) in the upload filename. Applications that construct file paths using f

## Key Points
- cve / CVE-2026-39844 / PYSEC-2026-2234 / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N / nicegui / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
**Advisory:** PYSEC-2026-2234 (CVE-2026-39844)

**Details:**
NiceGUI is a Python-based UI framework. Prior to 3.10.0, Since PurePosixPath only recognizes forward slashes (/) as path separators, an attacker can bypass this sanitization on Windows by using backslashes (\) in the upload filename. Applications that construct file paths using file.name (a pattern demonstrated in NiceGUI's bundled examples) are vulnerable to arbitrary file write on Windows. This vulnerability is fixed in 3.10.0.

**References:**
- https://github.com/zauberzeug/nicegui/releases/tag/v3.10.0
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-w8wv-vfpc-hw2w
- https://github.com/zauberzeug/nicegui/commit/d38a702e3af2da5b0708f689be8d71413fc77056

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-2234_

## Source
元記事: [CVE-2026-39844 — nicegui](https://osv.dev/vulnerability/PYSEC-2026-2234) — published 2026-04-08T21:16:59Z
