{"id":"CVE-2026-142278","aliases":["EUVD-2026-141552","GHSA-9v9x-r48p-v78x"],"status":"published","title":"Papermerge Core 3.6.0a5 through 3.6.0a16 Privilege Escalation via API Token Scopes","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.","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00499,"percentile":0.44337,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269"],"published":"2026-12-02T16:49:18Z","modified":"2026-12-04T20:45:48Z","products":[{"vendor":"papermerge","product":"papermerge core"}],"references":[{"url":"https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/api_tokens/router.py#L35-L53","tags":["technical-description","article"]},{"url":"https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/auth/__init__.py#L151-L157","tags":["technical-description","article"]},{"url":"https://github.com/papermerge/papermerge-core/blob/3.6.0a16/papermerge/core/features/users/db/api.py#L616-L617","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/papermerge-core-3.6-0a5-through-3.6-0a16-privilege-escalation-via-api-token-scopes","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142278","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-9v9x-r48p-v78x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142278.json","tags":["advisory"]},{"url":"https://github.com/papermerge/papermerge-core","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142278","title":"Papermerge Core 3.6.0a5 through 3.6.0a16 Privilege Escalation via API Token Scopes","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.","status":"published","published":"2026-12-02T16:49:18.844Z","modified":"2026-12-03T14:58:18.872Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-269"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-03"},"updated_at":"2026-12-03T15:08:25.395121Z"}],"euvd":[{"id":"EUVD-2026-141552","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.","status":"published","published":"2026-12-02T16:49:18Z","modified":"2026-12-03T14:58:18Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-9v9x-r48p-v78x","title":"Papermerge Core 3.6.0a5 through 3.6.0a16 contains a privilege escalation vulnerability that...","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.","status":"published","published":"2026-12-02T18:31:50Z","modified":"2026-12-02T18:31:58Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-12-02T18:38:44.755025Z"}],"nvd":[{"id":"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.","status":"published","published":"2026-12-02T17:17:55.873Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-269"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-03"},"updated_at":"2026-12-03T15:17:27.288122Z"}],"osv":[{"id":"CVE-2026-142278","title":"Papermerge Core 3.6.0a5 through 3.6.0a16 Privilege Escalation via API Token Scopes","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.","status":"published","published":"2026-12-02T16:49:18.844Z","modified":"2026-12-04T20:45:48.514268406Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
