{"id":"CVE-2026-34406","aliases":["CVE-2026-34406"],"related":[],"kind":"vulnerability","state":"published","title":"APTRS: Privilege Escalation via Mass Assignment of is_superuser in User Edit Endpoint","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/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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-31T21:18:51.205Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":9.4,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-915"],"affected":[{"ranges":[{"version":"< 2.0.1","status":"affected"}],"vendor":"APTRS","product":"APTRS","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.0.1"}],"vendor":"aptrs","product":"aptrs","cpe":"cpe:2.3:a:aptrs:aptrs:*:*:*:*:*:python:*:*","source":"nvd"}],"references":[{"url":"https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/APTRS/APTRS/releases/tag/2.0.1","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-03T16:37:51.859Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34406","url":"https://www.cve.org/CVERecord?id=CVE-2026-34406","licence":"CVE Terms of Use","modified":"2026-04-03T16:38:03.750Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34406","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34406","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.641Z","epss":{"score":0.006,"percentile":0.50095,"date":"2026-12-01T12:00:22.000Z"}}