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:48Z
Modified
2026-10-21T02:57:51Z
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
{
    "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"
}
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
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.1.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "9216a876d27b22c3d9259551636d803f7cb075fc"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "1.1.1",
            "range":  [
                {
                    "fixed":  "ab27ad80801fdc8a84a65251eb19fa15c529fe97"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

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"