{"id":"CVE-2026-34406","sourceIdentifier":"security-advisories@github.com","published":"2026-03-31T22:16:18.990","lastModified":"2026-07-24T21:10:00.143","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"APTRS","product":"APTRS","versions":[{"version":"< 2.0.1","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":9.4,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-03T16:37:51.859124Z","id":"CVE-2026-34406","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-915"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:aptrs:aptrs:*:*:*:*:*:python:*:*","versionEndExcluding":"2.0.1","matchCriteriaId":"FE83DFB0-C9D9-4F10-A3DA-901FFBCDCC6D"}]}]}],"references":[{"url":"https://github.com/APTRS/APTRS/commit/d1f1b3a5d1953082af8e075712ca29742e900d56","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/APTRS/APTRS/releases/tag/2.0.1","source":"security-advisories@github.com","tags":["Release Notes"]},{"url":"https://github.com/APTRS/APTRS/security/advisories/GHSA-gv25-wp4h-9c35","source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"]}]}