Papermerge Core 3.6.0a5 through 3.6.0a16 contains a privilege escalation vulnerability that allows authenticated users to obtain superuser…
CVE-2026-142278
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.
Assessment
- CVSS
- 8.7 (v4.0)
- Severity
- High
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Affected
- Papermerge · Papermerge Core
- Weakness
- CWE-269
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
At the source
References
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/api_tokens/router.py#L35-L53
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/auth/__init__.py#L151-L157
- https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/users/db/api.py#L616-L617
- https://www.vulncheck.com/advisories/papermerge-core-3.6-0a5-through-3.6-0a16-privilege-escalation-via-api-token-scopes
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142278