High severity8.8NVD Advisory· Published Dec 2, 2026
CVE-2026-142278
CVE-2026-142278
Description
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 is_superuser to gain administrative control over all documents.
Affected products
1- Range: 3.6.0a5 - 3.6.0a16
Patches
Vulnerability mechanics
References
4- github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/api_tokens/router.pynvd
- github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/auth/__init__.pynvd
- github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/users/db/api.pynvd
- www.vulncheck.com/advisories/papermerge-core-3.6-0a5-through-3.6-0a16-privilege-escalation-via-api-token-scopesnvd
News mentions
0No linked articles in our index yet.