CVE-2026-34406

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:aptrs:aptrs:*:*:*:*:*:python:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) APTRS (Automated Penetration Testing Reporting System) es una herramienta de informes automatizada basada en Python y Django, diseñada para probadores de penetración y organizaciones de seguridad. Antes de la versión 2.0.1, el endpoint edit_user (POST /API/auth/edituser/<pk>) permite a cualquier usuario que pueda alcanzar ese endpoint y enviar un permiso manipulado escalar su propia cuenta (o cualquier otra cuenta) a superusuario al incluir 'is_superuser': true en el cuerpo de la solicitud. La causa raíz es que CustomUserSerializer incluye explícitamente is_superuser en su lista de campos pero lo omite de read_only_fields, convirtiéndolo en un campo editable. La vista edit_user no realiza ninguna validación adicional para evitar que los no-superusuarios modifiquen este campo. Una vez que is_superuser se establece en true, se obtiene acceso sin restricciones a toda la funcionalidad de la aplicación sin requerir re-autenticación. Este problema ha sido parcheado en la versión 2.0.1.

10 Apr 2026, 15:43

Type Values Removed Values Added
CPE cpe:2.3:a:aptrs:aptrs:*:*:*:*:*:python:*:*
CWE NVD-CWE-noinfo
First Time Aptrs
Aptrs aptrs
References () https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56 - () https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56 - Patch
References () https://github.com/APTRS/APTRS/releases/tag/2.0.1 - () https://github.com/APTRS/APTRS/releases/tag/2.0.1 - Release Notes
References () https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35 - () https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35 - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8

31 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 22:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34406

Mitre link : CVE-2026-34406

CVE.ORG link : CVE-2026-34406


JSON object : View

Products Affected

aptrs

  • aptrs
CWE
CWE-915

Improperly Controlled Modification of Dynamically-Determined Object Attributes

NVD-CWE-noinfo