{"id":"CVE-2026-42562","summary":"Plainpad: Privilege Escalation via Writable Admin Field in Profile Update (Access Control)","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.","aliases":["GHSA-pvfv-wvpm-q6f6"],"modified":"2026-07-08T08:13:41.485490418Z","published":"2026-05-09T19:09:48.862Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42562.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-269"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alextselegidis/plainpad","events":[{"introduced":"0"},{"fixed":"9216a876d27b22c3d9259551636d803f7cb075fc"},{"fixed":"ab27ad80801fdc8a84a65251eb19fa15c529fe97"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.1.1"}]}}],"versions":["1.1.0","1.1.0-alpha.1","1.0.0","1.0.0-beta.4","1.0.0-beta.3","1.0.0-beta.2","1.0.0-beta.1","1.0.0-alpha.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42562.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"}]}