CVE-2026-19326 Details
Description
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.
A path traversal vulnerability has been identified in Jevon-Zhong Ai-Doctor version 0.0.1. The issue arises in the 'deleteImage' function within 'ai-doctor-server/src/filemanagement/filemanagement.service.ts'. The vulnerability allows an authenticated user to manipulate the 'imagePath' argument, escaping the intended 'uploadImgs' directory and deleting arbitrary files on the server that the process is permitted to remove. This exploitation is possible through the image deletion endpoint, which directly passes the resolved path to a file deletion function without proper validation.
To address this vulnerability, it is recommended to implement validation for the 'imagePath' parameter by rejecting traversal sequences, path separators, and absolute paths. Additionally, the final resolved path should be checked to ensure it remains within the 'uploadImgs' directory before performing any deletion. As a best practice, consider storing upload identifiers separately from filesystem paths and mapping them to server-side locations when needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 9, 2026CISA-ADP
Assessed Aug 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Jevon-Zhong/Ai-doctor/issues/1 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/Jevon-Zhong/Ai-doctor/ | [email protected] | ProductSource CodeVendor |
| https://github.com/Jevon-Zhong/Ai-doctor/issues/1 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://vuldb.com/cve/CVE-2026-19326 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/865243 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/387160 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/387160/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Jevon-Zhong Ai-doctor | 0.0.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | CVE Modified | CISA-ADP |
| Aug 9, 2026 | New CVE Received | [email protected] |
Volerion