CVE-2026-42562

Source
https://cve.org/CVERecord?id=CVE-2026-42562
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42562.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-42562
Aliases
  • GHSA-pvfv-wvpm-q6f6
Published
2026-05-09T19:09:48.862Z
Modified
2026-07-08T08:13:41.485490418Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L CVSS Calculator
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.

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

Affected packages

Git / github.com/alextselegidis/plainpad

Affected ranges

Type
GIT
Repo
https://github.com/alextselegidis/plainpad
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.1.1"
        }
    ]
}

Affected versions

1.*
1.0.0
1.0.0-alpha.1
1.0.0-beta.1
1.0.0-beta.2
1.0.0-beta.3
1.0.0-beta.4
1.1.0
1.1.0-alpha.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42562.json"