CVE-2026-142278: Papermerge Core 3.6.0a5 through 3.6.0a16 Privilege Escalation via API Token Scopes

Published Dec 2, 2026
·
Updated

Papermerge Core 3.6.0a5 through 3.6.0a16 contains a privilege escalation vulnerability that allows authenticated users to obtain superuser rights by minting API tokens with unrestricted scopes. Attackers can create a token via POST /tokens carrying user.update, then call PATCH /users/{id} setting issuperuser to gain administrative control over all documents.

Affected Software

1 affected component
Papermerge Papermerge Core>=3.6.0a5<=3.6.0a16

Event History

Dec 2, 2026
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Who can exploit this issue?

Any authenticated user in the affected Papermerge Core versions can exploit it. The attack requires an account that can access the API, but does not require prior administrative privileges or user interaction.

2

What access does an attacker gain after exploitation?

The attacker can set their account's is_superuser attribute and obtain administrative control over all documents.

3

How is the privilege escalation performed?

An authenticated attacker creates an API token through POST /tokens with the user.update scope, then uses that token to send PATCH /users/{id} with is_superuser set. This elevates the targeted account to superuser status.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203