---
title: "CVE-2022-51022: YiShaAdmin - Path Traversal"
description: "YiShaAdmin 2.2 through 3.1 contains an unauthenticated path traversal caused by improper validation of the filePath parameter in /admin/File/DownloadFile endpoint, letting attackers read or delete arbitrary files remotely, exploit requires crafted GET requests with directory traversal sequences."
url: https://panop.io/threat-heartbeat/CVE-2022-51022/
---

# CVE-2022-51022 YiShaAdmin - Path Traversal

YiShaAdmin 2.2 through 3.1 contains an unauthenticated path traversal caused by improper validation of the filePath parameter in /admin/File/DownloadFile endpoint, letting attackers read or delete arbitrary files remotely, exploit requires crafted GET requests with directory traversal sequences.

CVSS base score 9.1 /10

Critical

CISA KEV

Exploited in the wild

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2022-51022)

## Details

Type

Path Traversal

Impact

File System Read, File System Write

CVSS vector

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

Published

22 October 2026

Updated

23 October 2026

Weakness

[CWE-22](https://cwe.mitre.org/data/definitions/22.html)

## Vendor fix

Update to the fixed version including commit 025b062 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2022-51022](https://nvd.nist.gov/vuln/detail/CVE-2022-51022)
- [https://www.cve.org/CVERecord?id=CVE-2022-51022](https://www.cve.org/CVERecord?id=CVE-2022-51022)
- [https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef](https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef)
- [https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d](https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d)
- [https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml](https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml)
- [https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128](https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128)
- [https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint](https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
