GHSA-9v9x-r48p-v78xHighCVSS 8.8
Papermerge Core 3.6.0a5 through 3.6.0a16 contains a privilege escalation vulnerability that...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142278
- 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
- https://github.com/advisories/GHSA-9v9x-r48p-v78x