Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nicegui
  4. ›
  5. CVE-2025-66645

CVE-2025-66645: NiceGUI has a path traversal in app.add_media_files() allows arbitrary file read

December 9, 2025 (updated December 10, 2025)

A directory traversal vulnerability in NiceGUI’s App.add_media_files() allows a remote attacker to read arbitrary files on the server filesystem.

References

  • github.com/advisories/GHSA-hxp3-63hc-5366
  • github.com/zauberzeug/nicegui
  • github.com/zauberzeug/nicegui/commit/a1b89e2a24e1911a40389ace2153a37f4eea92a9
  • github.com/zauberzeug/nicegui/security/advisories/GHSA-hxp3-63hc-5366
  • nvd.nist.gov/vuln/detail/CVE-2025-66645

Code Behaviors & Features

Detect and mitigate CVE-2025-66645 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.4.0

Fixed versions

  • 3.4.0

Solution

Upgrade to version 3.4.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/nicegui/CVE-2025-66645.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:20:14 +0000.