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

lamp-cloud through 5.10.0 Unauthorized Profile Modification via PUT endpoints

lamp-cloud through 5.10.0 fails to validate user identity in PUT /anyone/baseInfo and PUT /anyone/avatar endpoints, allowing authenticated attackers to modify arbitrary user profiles. Attackers can supply target user IDs in request bodies to rewrite profile fields including nickname, ID card, sex, nation, education, work description, and avatar attachments of other users.

Problem type

Affected products

dromara

lamp-cloud

<= 5.10.0 - AFFECTED

References

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-94534
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-94534",
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "dateUpdated": "2026-09-21T21:28:13.569Z",
    "dateReserved": "2026-09-21T18:25:18.522Z",
    "datePublished": "2026-09-21T21:28:13.569Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck",
        "dateUpdated": "2026-09-21T21:28:13.569Z"
      },
      "datePublic": "2026-09-19T00:00:00.000Z",
      "title": "lamp-cloud through 5.10.0 Unauthorized Profile Modification via PUT endpoints",
      "descriptions": [
        {
          "lang": "en",
          "value": "lamp-cloud through 5.10.0 fails to validate user identity in PUT /anyone/baseInfo and PUT /anyone/avatar endpoints, allowing authenticated attackers to modify arbitrary user profiles. Attackers can supply target user IDs in request bodies to rewrite profile fields including nickname, ID card, sex, nation, education, work description, and avatar attachments of other users."
        }
      ],
      "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-03-anyone-baseinfo-write-bola.py",
          "name": "Proof of concept, profile overwrite",
          "tags": [
            "exploit"
          ]
        },
        {
          "url": "https://github.com/LinYuanyi1/cve-request-poc/blob/master/lamp/poc-06-anyone-avatar-write-bola.py",
          "name": "Proof of concept, avatar overwrite",
          "tags": [
            "exploit"
          ]
        },
        {
          "url": "https://github.com/dromara/lamp-cloud/blob/bdc1a406eb0f6291e9f6dbad9cbccd67bc6a37b6/lamp-oauth/lamp-oauth-controller/src/main/java/top/tangyh/lamp/oauth/controller/UserInfoController.java#L68-L78",
          "name": "Vulnerable code, avatar",
          "tags": [
            "technical-description"
          ]
        },
        {
          "url": "https://github.com/dromara/lamp-cloud/blob/bdc1a406eb0f6291e9f6dbad9cbccd67bc6a37b6/lamp-oauth/lamp-oauth-controller/src/main/java/top/tangyh/lamp/oauth/controller/UserInfoController.java#L128-L136",
          "name": "Vulnerable code, baseInfo",
          "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-profile-modification-via-put-endpoints",
          "name": "VulnCheck Advisory: lamp-cloud through 5.10.0 Unauthorized Profile Modification via PUT endpoints",
          "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:N/I:H/A:L",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "availabilityImpact": "LOW",
            "baseScore": 7.1,
            "baseSeverity": "HIGH"
          }
        },
        {}
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Mingsheng Lin",
          "type": "finder"
        }
      ]
    }
  }
}