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 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege credentials
  2. Delivery
    Authenticate to Plainpad API
  3. Exploit
    Send PUT /api.php/v1/users/{self} with admin=true
  4. Execution
    Server grants admin rights
  5. Persist
    Access admin-only routes
  6. Impact
    Exfiltrate all user data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must possess valid credentials for any authenticated Plainpad user account (CVSS PR:L - low-privileged user). The vulnerable endpoint /api.php/v1/users/{id} must be accessible over the network (CVSS AV:N). No special Plainpad features, non-default configurations, or administrative permissions are required - exploitation succeeds against default installations. No user interaction needed (CVSS UI:N). Limiting factors: attacker must first obtain or create a legitimate user account (via registration if enabled, credential theft, or social engineering), and the Plainpad instance must be running a version prior to 1.1.1. The vulnerability does not affect installations where user registration is fully disabled and no attacker-controlled accounts exist, though this is rarely the case for note-taking applications designed for multi-user access.

Impact

Real-world risk is HIGH for self-hosted Plainpad deployments despite moderate EPSS probability. The CVSS 8.3 score accurately reflects impact (High confidentiality and integrity, Low availability) with network attack vector, low complexity, and low privilege requirement. No user interaction needed makes this trivially exploitable by any authenticated user - including legitimate low-privilege accounts or compromised credentials. The attack is highly automatable and grants complete administrative control, enabling attackers to read all users' notes, modify application settings, create backdoor accounts, or destroy data. SSVC decision factors favor prioritization: exploitation is straightforward (public PoC not required given simplicity), technical impact is total (admin access), and mission impact depends on sensitivity of notes stored. Mitigating factors: requires self-hosted deployment (not SaaS), attacker must first obtain valid credentials (PR:L), and scope is unchanged (no cross-tenant impact). No CISA KEV listing indicates no widespread exploitation detected, but public GitHub advisory and issue disclosure significantly lower exploitation barriers. Organizations using Plainpad should treat this as urgent given the one-request privilege escalation path.

Exploit ScenarioDerived

An attacker with a valid low-privilege Plainpad account (e.g., a regular user account created during normal registration) authenticates to the application and obtains a session token. They craft a PUT request to /api.php/v1/users/{their_user_id} with JSON payload {"admin": true} and submit it to the API endpoint. The server processes this request, directly assigns admin=true to the attacker's user record, and responds successfully. The attacker's next request to admin-only routes (such as user management, system settings, or bulk data export) succeeds with full administrative privileges, granting access to all users' private notes and system configuration. Given low attack complexity (CVSS AC:L), no specialized tools or deep technical knowledge required beyond basic HTTP client usage.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 09, 2026

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).

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.

Affected VersionsENISA

plainpad < 1.1.1

Affected Packages

euvd plainpad fix: 1.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Plainpad gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.3 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
May 09, 2026 - 21:02 EUVD
CVE Published
May 09, 2026 - 19:09 nvd
HIGH 8.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Plainpad versions before 1.1.1 contain a critical privilege escalation vulnerability allowing any authenticated user to elevate themselves to administrator status through a simple API request, potentially exposing sensitive data and system configuration to unauthorized modification. This flaw directly threatens administrative control and compliance posture by enabling low-privilege employees or compromised accounts to assume full system access without detection.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to the affected user update API endpoint (PUT requests to user management) to trusted administrative systems only; (2) Deploy Web Application Firewall rules to block PUT requests containing 'admin' parameter modifications from non-administrative source IPs; (3) Disable user self-service profile/permission modification features if operationally feasible; (4) Implement enhanced logging and alerting on administrative privilege changes to detect exploitation attempts; (5) Enforce multi-factor authentication for all user accounts to reduce value of credential compromise; (6) Conduct immediate audit of administrative accounts for unauthorized modifications.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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