Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34406

CVE-2026-34406: APTRS Privilege Escalation Vulnerability

CVE-2026-34406 is a privilege escalation flaw in APTRS (Automated Penetration Testing Reporting System) that allows attackers to gain superuser access. This post explains its impact, affected versions, and mitigation steps.

Published: April 2, 2026

CVE-2026-34406 Overview

CVE-2026-34406 is a critical privilege escalation vulnerability in APTRS (Automated Penetration Testing Reporting System), 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 authenticated user to escalate their own account (or any other account) to superuser status by including "is_superuser": true in the request body.

Critical Impact

Any authenticated user can gain unrestricted superuser access to the entire APTRS application without requiring re-authentication, potentially compromising all penetration testing data and reports.

Affected Products

  • APTRS (Automated Penetration Testing Reporting System) versions prior to 2.0.1
  • Django-based APTRS installations using CustomUserSerializer
  • Systems exposing the /api/auth/edituser/<pk> endpoint

Discovery Timeline

  • 2026-03-31 - CVE-2026-34406 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34406

Vulnerability Analysis

This vulnerability is classified as CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes), commonly known as Mass Assignment. The flaw resides in how the Django REST Framework serializer handles user attribute updates.

The CustomUserSerializer class explicitly includes the is_superuser field in its serializable fields list but critically omits it from the read_only_fields configuration. This design oversight transforms what should be a protected administrative attribute into a writable field accessible to any authenticated user.

The edit_user view compounds this issue by performing no server-side validation to verify whether the requesting user has sufficient privileges to modify superuser status. As a result, a low-privileged user can craft a malicious request that promotes their account to superuser, bypassing all authorization controls.

Root Cause

The root cause is an insecure Django REST Framework serializer configuration where the is_superuser field was inadvertently exposed as writable. The CustomUserSerializer failed to include is_superuser in its read_only_fields tuple, and the corresponding view lacked proper authorization checks to validate whether the requesting user should be allowed to modify privileged account attributes.

Attack Vector

This is a network-based attack requiring low privileges (authenticated user). An attacker with any valid user account can exploit this vulnerability by:

  1. Authenticating to the APTRS application with standard user credentials
  2. Crafting a POST request to /api/auth/edituser/<pk> with their user ID
  3. Including "is_superuser": true in the JSON request body
  4. Gaining immediate superuser access without re-authentication

The attack requires no user interaction and can be executed with low complexity against any APTRS instance prior to version 2.0.1.

python
# Security patch in APTRS/accounts/serializers.py - Fixed GHSA-gv25-wp4h-9c35
 
         # Set is_staff to True by default for new user
         validated_data['is_staff'] = True

        # Only a superuser can create another superuser
        request = self.context.get('request')
        if not (request and request.user.is_superuser):
            validated_data.pop('is_superuser', None)

         groups_data = validated_data.pop('groups', [])#Extract groups
         if 'password' not in validated_data:
             raise serializers.ValidationError("Password is required for creating a new user.")

Source: GitHub Commit d1f1b3a

Detection Methods for CVE-2026-34406

Indicators of Compromise

  • Unexpected changes to user is_superuser field values in the database
  • POST requests to /api/auth/edituser/<pk> containing is_superuser parameter from non-admin users
  • Audit logs showing user permission changes without corresponding administrative actions
  • Users with elevated privileges who should not have superuser status

Detection Strategies

  • Monitor HTTP request bodies to the /api/auth/edituser/ endpoint for is_superuser field modifications
  • Implement database-level audit triggers on user table superuser field changes
  • Review Django application logs for suspicious edit_user view activity
  • Deploy web application firewall rules to detect mass assignment patterns in API requests

Monitoring Recommendations

  • Enable verbose logging for all authentication and user management endpoints
  • Configure SIEM alerts for privilege escalation patterns in APTRS access logs
  • Implement regular user privilege audits to identify unauthorized superuser accounts
  • Monitor for rapid changes in user permissions across the application

How to Mitigate CVE-2026-34406

Immediate Actions Required

  • Upgrade APTRS to version 2.0.1 or later immediately
  • Audit all existing user accounts and verify superuser status is legitimate
  • Review access logs for evidence of exploitation prior to patching
  • Revoke any unauthorized superuser privileges discovered during audit

Patch Information

The vulnerability has been patched in APTRS version 2.0.1. The fix implements proper authorization checks in the serializer to ensure only superusers can modify the is_superuser field. Users should upgrade immediately by following the GitHub Release 2.0.1 instructions. For detailed information about the vulnerability, refer to the GitHub Security Advisory GHSA-gv25-wp4h-9c35.

Workarounds

  • Restrict network access to the APTRS application to trusted administrators only until patching is complete
  • Implement a web application firewall rule to block requests containing is_superuser to user edit endpoints
  • Add custom middleware to validate and strip privileged fields from non-admin requests
  • Disable the edit_user endpoint entirely if user self-service editing is not required
bash
# Configuration example - Upgrade APTRS to patched version
git fetch --tags
git checkout 2.0.1
pip install -r requirements.txt
python manage.py migrate
python manage.py collectstatic --noinput
# Restart your APTRS service after upgrade

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechAptrs

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS 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/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-915
  • Technical References
  • GitHub Commit Changes

  • GitHub Release 2.0.1

  • GitHub Security Advisory GHSA-gv25-wp4h-9c35
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English