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.
Published: 2026-10-22
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Arbitrary file read and delete
Action: Immediate Patch
AI Analysis

Impact

An unauthenticated path traversal flaw exists in YiShaAdmin versions 2.2 through 3.1, located in the /admin/File/DownloadFile endpoint. By supplying a crafted filePath parameter that contains directory traversal sequences, an attacker can read or delete any file the web server can access, including sensitive files such as /etc/passwd. The flaw also allows setting a delete flag, enabling deletion of arbitrary files without user credentials.

Affected Systems

The affected product is YiShaAdmin released by liukuo362573, specifically versions 2.2 to 3.1. The vulnerability was mitigated in commit 025b0628, and later commits are considered safe. Users running the unpatched versions are at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity, and the exploit requires only a crafted HTTP GET request without authentication. No EPSS score is available, and the issue is not listed in CISA KEV. A potential attacker would target the vulnerable endpoint directly, constructing a filePath that navigates outside the intended directory and, optionally, uses the delete parameter to remove files. This path traversal is trivial to perform via standard browsers or automated tools, making the vulnerability readily exploitable.

Generated by OpenCVE AI on October 22, 2026 at 12:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade YiShaAdmin to a version that includes the patch in commit 025b062.
  • If an upgrade is not immediately feasible, block or remove the /admin/File/DownloadFile endpoint and require authentication before file access.
  • Deploy a WAF rule that blocks requests containing directory traversal patterns such as '../' in the filePath parameter.

Generated by OpenCVE AI on October 22, 2026 at 12:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T10:57:33.205Z

Reserved: 2026-10-14T20:25:29.946Z

Link: CVE-2022-51022

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T11:17:05.153

Modified: 2026-10-22T11:17:05.153

Link: CVE-2022-51022

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T12:30:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')