Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Local vector with low privileges required to reach the API; impact limited to file deletion affecting integrity and availability only, with no confidentiality breach.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in Jevon-Zhong Ai-doctor 0.0.1. This vulnerability affects the function deleteImage of the file ai-doctor-server/src/filemanagement/filemanagement.service.ts. Performing a manipulation of the argument imagePath results in path traversal. The attack must be initiated from a local position. The project was informed of the problem early through an issue report but has not responded yet.
AnalysisAI
Path traversal in Jevon-Zhong Ai-doctor 0.0.1 allows local low-privilege users to manipulate the imagePath argument of the deleteImage function to escape the intended image directory and delete arbitrary files accessible to the server process. The attack vector is strictly local (AV:L, PR:L), and publicly available exploit code exists (CVSS 4.0 E:P). No vendor patch has been issued and the project has not responded to the disclosure report filed via GitHub.
Technical ContextAI
Ai-doctor is a Node.js/TypeScript application; the vulnerable component is the deleteImage function in ai-doctor-server/src/filemanagement/filemanagement.service.ts, a server-side file management service. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) identifies the root cause: the imagePath argument is not sanitized or validated before being used in a filesystem deletion operation, permitting sequences such as ../../ to traverse outside the intended image storage directory. CPE cpe:2.3:a:jevon-zhong:ai-doctor:*:*:*:*:*:*:*:* uses a wildcard version component, indicating NVD considers all known versions potentially affected, though only version 0.0.1 is explicitly described in the disclosure.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project maintainer has not responded to the GitHub issue report (https://github.com/Jevon-Zhong/Ai-doctor/issues/1). As a compensating control, administrators should restrict local system access to only fully trusted users, ensuring no low-privilege accounts can invoke the deleteImage API endpoint. A direct code-level workaround is to add input validation in filemanagement.service.ts that rejects any imagePath containing .. sequences or absolute path prefixes before passing the argument to the filesystem operation - this eliminates the traversal vector without requiring broader architectural changes. Additionally, running the Ai-doctor server process under a dedicated, minimally privileged OS account limits the set of files that can be deleted even if exploitation occurs. Monitor the upstream repository for any maintainer response or patch release.
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54853
GHSA-rhch-h3c6-w784