CVE-2026-34406 APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint
Attackers can escalate privileges to superuser by modifying the is_superuser field in user edit requests, granting unrestricted access to the APTRS reporting system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-34406?
CVE-2026-34406 is a critical vulnerability in APTRS, published on 31 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-915
Which versions are affected by CVE-2026-34406?
It affects 1 product.
Products include Aptrs Aptrs.
How do I fix CVE-2026-34406?
No fix has been published for CVE-2026-34406 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-34406 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34406 exists.
Sources
Also known as GHSA-gv25-wp4h-9c35.