2026-09-21 21:28CVE-2026-94533VulnCheck
PUBLISHED5.2CWE-639

lamp-cloud through 5.10.0 Unauthorized File Download via /anyone/file

lamp-cloud through 5.10.0 contains an authorization bypass vulnerability in FileAnyoneController that allows authenticated users to download arbitrary attachments. Attackers can retrieve other users' stored files by supplying valid attachment identifiers to the /anyone/file/down and /anyone/file/download endpoints, as the application never validates file ownership against the created_by column.

Problem type

Affected products

dromara

lamp-cloud

<= 5.10.0 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-94533
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-94533",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-09-21T21:28:12.305Z",
    "dateReserved": "2026-09-21T18:25:17.934Z",
    "datePublished": "2026-09-21T21:28:12.305Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-09-21T21:28:12.305Z"
      },
      "datePublic": "2026-09-19T00:00:00.000Z",
      "title": "lamp-cloud through 5.10.0 Unauthorized File Download via /anyone/file",
      "descriptions": [
        {
          "lang": "en",
          "value": "lamp-cloud through 5.10.0 contains an authorization bypass vulnerability in FileAnyoneController that allows authenticated users to download arbitrary attachments. Attackers can retrieve other users' stored files by supplying valid attachment identifiers to the /anyone/file/down and /anyone/file/download endpoints, as the application never validates file ownership against the created_by column."
        }
      ],
      "affected": [
        {
          "vendor": "dromara",
          "product": "lamp-cloud",
          "repo": "https://github.com/dromara/lamp-cloud",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "status": "affected",
              "versionType": "custom",
              "lessThanOrEqual": "5.10.0"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-639 Authorization Bypass Through User-Controlled Key",
              "cweId": "CWE-639",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://github.com/LinYuanyi1/cve-request-poc/blob/master/lamp/poc-02-anyone-file-download-bola.py",
          "name": "Proof of concept",
          "tags": [
            "exploit"
          ]
        },
        {
          "url": "https://github.com/dromara/lamp-cloud/blob/bdc1a406eb0f6291e9f6dbad9cbccd67bc6a37b6/lamp-base/lamp-base-controller/src/main/java/top/tangyh/lamp/file/controller/FileAnyoneController.java#L88-L106",
          "name": "Vulnerable code",
          "tags": [
            "technical-description"
          ]
        },
        {
          "url": "https://github.com/dromara/lamp-cloud",
          "tags": [
            "product"
          ]
        },
        {
          "url": "https://www.vulncheck.com/advisories/lamp-cloud-through-5.10.0-unauthorized-file-download-via-anyone-file",
          "name": "VulnCheck Advisory: lamp-cloud through 5.10.0 Unauthorized File Download via /anyone/file",
          "tags": [
            "third-party-advisory"
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM"
          }
        },
        {}
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Mingsheng Lin",
          "type": "finder"
        }
      ]
    }
  }
}