CVE-2026-34406

Source
https://cve.org/CVERecord?id=CVE-2026-34406
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34406.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34406
Aliases
  • GHSA-gv25-wp4h-9c35
Published
2026-03-31T21:18:51.205Z
Modified
2026-04-02T13:41:32.770956Z
Severity
  • 9.4 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint
Details

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 edituser 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 "issuperuser": true in the request body. The root cause is that CustomUserSerializer explicitly includes issuperuser in its fields list but omits it from readonlyfields, making it a writable field. The edituser 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-915"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34406.json"
}
References

Affected packages

Git / github.com/aptrs/aptrs

Affected ranges

Type
GIT
Repo
https://github.com/aptrs/aptrs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.0.1"
        }
    ]
}

Affected versions

0.*
0.1
1.*
1.0
1.0.1
2.*
2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34406.json"