Severity by source
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
Lifecycle Timeline
4DescriptionGitHub 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.
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-269 – Improper Privilege Management
View allSame technique Privilege Escalation
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-28929