CVE-2025-65897CWE-22CWE-434path-traversalunrestricted-file-upload

CVE-2025-65897

High · published December 5, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
54.5
In the wild
Unconfirmed
What it is

⚡ An authenticated user could wield a surprisingly sneaky exploit in zdh_web, allowing them to overwrite files on the server with ease! 🔥 Think of it like a restaurant staff member who can sneak into the kitchen and replace the chef’s signature dish with their own unfamiliar recipe. If no one checks, that dish could ruin the entire menu! This vulnerability enables an attacker to write arbitrary files to the server, potentially overwriting existing ones. 📂 The consequences could be absolutely devastating: imagine remote code execution or privilege escalation that lets attackers take control of sensitive operations!

Put simply

Think of it like a restaurant staff member who can sneak into the kitchen and replace the chef’s signature dish with their own unfamiliar recipe. If no one checks, that dish could ruin the entire menu! In zdh_web versions up to 5.6.17, insufficient validation of file upload paths allows authenticated users to upload files anywhere on the server, leading to serious security risks.

What to do

This vulnerability enables an attacker to write arbitrary files to the server, potentially overwriting existing ones. 📂 The consequences could be absolutely devastating: imagine remote code execution or privilege escalation that lets attackers take control of sensitive operations! Update zdh_web to the latest version to ensure proper validation of file upload paths. Additionally, implement strict input validation and file permission controls to protect your server from unauthorized file access. 🛡️ You’ve got this! Fixing this vulnerability is within your reach, and soon your server will be secure! 🚀

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00752 · 54.5th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-12-05T21:15Z
Affected products (1)
ProductVersionsFixed in
zhaoyachao/zdh_web≤ 5.6.17—
References (4)
EPSS history
Timeline
  • 05 DEC 00:00Z
    zdh_web is a data collection, processing, monitoring, scheduling, and management platform
    cvelistv5