Path traversal in YiShaAdmin lets attackers read and delete files
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
YiShaAdmin from 2.2 through 3.1 contains a path traversal flaw (CWE-22) because a file download endpoint does not restrict the paths it accepts. An unauthenticated remote attacker can send crafted GET requests to read and delete arbitrary files on the server. A public exploit is linked in the references, and the Shadowserver Foundation first observed exploitation on 2023-10-20.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| liukuo362573 | YiShaAdmin | 2.2 – 3.1 | — | Patch available | CNA |
- YiShaAdmin Vendorliukuo362573 Affected 2.2 – 3.1 Fixed in — Patch available CNA
Remediation
Update YiShaAdmin to a release that includes commit 025b062, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Timeline
- 2026-10-22 Threatist record created from CVE-2022-51022
- 2026-10-22 Alias added: GHSA-g786-pwww-f3jp
- 2026-10-23 Priority changed: MEDIUM → LOW
- 2026-11-03 CISA SSVC decision points changed
- 2026-11-03 Priority changed: LOW → HIGH
References
Sources
- CVE-2022-51022 · CVE Program
- CVE-2022-51022 · NVD
- FIRST EPSS
- GHSA-g786-pwww-f3jp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences