CVE-2026-34406
published critical CVSS 4.0 · 9.4APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| APTRS | — | APTRS< 2.0.1 | Affected | Not stated | GitHub_M |
Description
APTRS (Automated Penetration Testing Reporting System) is a Python and Django-based automated reporting tool designed for penetration testers and security organizations. Prior to version 2.0.1, the edit_user endpoint (POST /api/auth/edituser/<pk>) allows Any user who can reach that endpoint and submit crafted permission to escalate their own account (or any other account) to superuser by including "is_superuser": true in the request body. The root cause is that CustomUserSerializer explicitly includes is_superuser in its fields list but omits it from read_only_fields, making it a writable field. The edit_user view performs no additional validation to prevent non-superusers from modifying this field. Once is_superuser is set to true, gaining unrestricted access to all application functionality without requiring re-authentication. This issue has been patched in version 2.0.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| APTRS | APTRS | < 2.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-915 CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
3Provider assertions
2GitHub_M · cna
APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a0391b4766365d732b919a68f9131e7455475393bd41c85e15838b437de0dfd
- Ingested
- 23 Sep 2026, 09:11:13 UTC
- Source record
- Official CVE record