CVE-2022-51022 YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint

High 8.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2022-51022?

CVE-2022-51022 is a high-severity vulnerability in liukuo362573 YiShaAdmin, published on 22 Oct 2026.

Official description

YiShaAdmin 2.2 through 3.1, fixed in commit 025b062, contains an unauthenticated path traversal vulnerability in the /admin/File/DownloadFile endpoint that allows attackers to read and delete arbitrary files via the filePath parameter. Attackers can send crafted GET requests with directory traversal sequences in filePath and set the delete parameter to read or remove system files like etc/passwd. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-20.

Weakness: CWE-22

Which versions are affected by CVE-2022-51022?

How do I fix CVE-2022-51022?

No fix has been published for CVE-2022-51022 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-51022 being exploited?

There is no known exploitation of CVE-2022-51022 in the wild and no public exploit code.

Sources

Also known as GHSA-g786-pwww-f3jp.

Is CVE-2022-51022 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free