CVE-2025-66645
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-09

Last updated on: 2025-12-10

Assigner: GitHub, Inc.

Description
NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to directory traversal through the App.add_media_files() function, which allows a remote attacker to read arbitrary files on the server filesystem. This issue is fixed in version 3.4.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-09
Last Modified
2025-12-10
Generated
2026-06-16
AI Q&A
2025-12-10
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nicegui nicegui 3.3.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in NiceGUI versions 3.3.1 and below involves a directory traversal issue in the App.add_media_files() function. It allows a remote attacker to read arbitrary files on the server filesystem by exploiting this flaw.

Impact Analysis

An attacker exploiting this vulnerability can read sensitive files on the server, potentially exposing confidential information, configuration files, or other data that should be protected. This can lead to information disclosure without requiring authentication.

Mitigation Strategies

Upgrade NiceGUI to version 3.4.0 or later, as this version fixes the directory traversal vulnerability in the App.add_media_files() function.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-66645. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart