{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.1.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9216a876d27b22c3d9259551636d803f7cb075fc"
            },
            {
              "fixed": "ab27ad80801fdc8a84a65251eb19fa15c529fe97"
            }
          ],
          "repo": "https://github.com/alextselegidis/plainpad",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pvfv-wvpm-q6f6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-269"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42562.json"
  },
  "details": "Plainpad is a self hosted note taking app. Prior to version 1.1.1, Plainpad allows a low-privilege authenticated user to self-escalate to administrator by submitting admin=true in PUT /api.php/v1/users/{id}. The endpoint directly persists the admin attribute from user input, and the escalated account can immediately access admin-only routes. This issue has been patched in version 1.1.1.",
  "id": "CVE-2026-42562",
  "modified": "2026-07-08T05:36:29.989892769Z",
  "published": "2026-05-09T19:09:48.862Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/alextselegidis/plainpad/releases/tag/1.1.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42562.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/alextselegidis/plainpad/security/advisories/GHSA-pvfv-wvpm-q6f6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42562"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/alextselegidis/plainpad/issues/138"
    },
    {
      "type": "FIX",
      "url": "https://github.com/alextselegidis/plainpad/commit/9216a876d27b22c3d9259551636d803f7cb075fc"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Plainpad: Privilege Escalation via Writable Admin Field in Profile Update (Access Control)"
}