---
id: CVE-2026-34406
title: >-
  APTRS (Automated Penetration Testing Reporting System) is a Python and
  Django-based automated reporting tool designed for penetration testers and
  security organizations
summary: >-
  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/edit…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-915
vendor: aptrs
product: aptrs
affected:
  - aptrs < 2.0.1
patched:
  - aptrs 2.0.1
published: '2026-03-31'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-34406'
references:
  - url: >-
      https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56
    label: security-advisories@github.com
  - url: 'https://github.com/APTRS/APTRS/releases/tag/2.0.1'
    label: security-advisories@github.com
  - url: 'https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35'
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00799
epssPercentile: 0.54625
ingestedAt: '2026-07-25T21:03:57.903Z'
---

## Overview

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.

## Affected

- `aptrs < 2.0.1`

## Remediation

Upgrade past the affected range:

- `aptrs 2.0.1`
