Skip to content
Heist/ feed
Back to feed
High

YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-51022
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 16:49 UTC · Revision 1

Source evidence

YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint

core-osv · Original source

Published 22 Oct 2026, 10:57 UTC

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.

osv:CVE-2022-51022
Complete source record
{
  "id": "264b7ffab8129f031ce9b86133f76017cbed5cf88f4842d2352a787b433bcc57",
  "url": "https://osv.dev/vulnerability/CVE-2022-51022",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "YiShaAdmin 3.1 Unauthenticated Path Traversal via DownloadFile endpoint",
    "summary": "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.",
    "evidence": "osv:CVE-2022-51022",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-51022",
      "aliases": [
        "CVE-2022-51022"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/liukuo362573/yishaadmin",
              "type": "GIT",
              "events": [
                {
                  "introduced": "92557226ae0f84ca8b7eeb2fda6046585840b80c"
                },
                {
                  "fixed": "025b0628b1295bd2d9fd6c9b5b82692a345151ef"
                },
                {
                  "fixed": "c3b66e66bf6d70a561190cd8da7f4df7b141931d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.2"
                      },
                      {
                        "last_affected": "3.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "025b0628b1295bd2d9fd6c9b5b82692a345151ef"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c3b66e66bf6d70a561190cd8da7f4df7b141931d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.1",
            "v2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-51022.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.080665991Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51022.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-51022",
        "https://www.vulncheck.com/advisories/yishaadmin-3.1-unauthenticated-path-traversal-via-downloadfile-endpoint",
        "https://github.com/liukuo362573/YiShaAdmin/commit/025b0628b1295bd2d9fd6c9b5b82692a345151ef",
        "https://github.com/liukuo362573/YiShaAdmin/commit/c3b66e66bf6d70a561190cd8da7f4df7b141931d",
        "https://github.com/liukuo362573/YiShaAdmin",
        "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/yishaadmin-lfi.yaml",
        "https://huntr.com/bounties/2acdd87a-12bd-4ce4-994b-0081eb908128"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/51xxx/CVE-2022-51022.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-51022",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519913,
  "published_at": "2026-10-22T10:57:33.205+00:00"
}