Skip to main content

Plainpad CVE-2026-42562

| EUVDEUVD-2026-28929 HIGH
Improper Privilege Management (CWE-269)
2026-05-09 GitHub_M
8.3
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
8.3 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

4
Patch available
May 09, 2026 - 21:02 EUVD
Source Code Evidence Fetched
May 09, 2026 - 20:00 vuln.today
Analysis Generated
May 09, 2026 - 20:00 vuln.today
CVE Published
May 09, 2026 - 19:09 nvd
HIGH 8.3

DescriptionGitHub Advisory

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.

AnalysisAI

Privilege escalation in Plainpad versions prior to 1.1.1 allows any authenticated user to immediately grant themselves administrator privileges via a single HTTP PUT request to the user update endpoint. The vulnerability stems from the API directly accepting the admin parameter from user input without verifying the requesting user's existing privilege level. Affected instances enable low-privilege accounts to bypass authorization controls and access admin-only functionality with no special conditions beyond basic authentication. No public exploit code or active exploitation confirmed at time of analysis, though exploitation requires minimal technical skill given the straightforward attack vector (CVSS AV:N/AC:L/PR:L).

Technical ContextAI

Plainpad is a self-hosted PHP-based note-taking application (CPE: cpe:2.3:a:alextselegidis:plainpad). The vulnerability resides in the UsersController.php update method (PUT /api.php/v1/users/{id}) which performs mass assignment of user-supplied attributes directly to the User model without proper authorization checks. The code incorrectly validated whether the authenticated user ($user) had admin rights before allowing updates, but failed to prevent any authenticated user from setting their own admin flag to true. This is a classic instance of CWE-269 (Improper Privilege Management) - the application trusts client-supplied privilege level data and applies it server-side without verifying the requester's authority to make such changes. The fix introduces a privilege check ensuring only existing administrators can modify the admin attribute, while non-admin users can still update their own non-privileged profile fields.

RemediationAI

Upgrade immediately to Plainpad version 1.1.1 or later, available at https://github.com/alextselegidis/plainpad/releases/tag/1.1.1. The patch (commit 9216a876d27b22c3d9259551636d803f7cb075fc at https://github.com/alextselegidis/plainpad/commit/9216a876d27b22c3d9259551636d803f7cb075fc) adds authorization logic preventing non-admin users from modifying the admin attribute during user profile updates. If immediate patching is not feasible, implement web application firewall (WAF) rules or reverse proxy filters to block PUT requests to /api.php/v1/users/* that contain the admin parameter in the request body from non-admin source IPs, though this workaround is fragile and bypassable if attackers control admin sessions. Alternatively, restrict API access to trusted IP ranges and audit user admin status immediately to detect any unauthorized escalations, then force password resets for all accounts - note this creates operational disruption and does not prevent re-exploitation. No workaround fully mitigates the issue; upgrade to 1.1.1 is the only complete fix.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-42562 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy