A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-42613

CVE-2026-42613: Grav Login Plugin Auth Bypass Vulnerability

CVE-2026-42613 is an authentication bypass flaw in Grav Login plugin that allows unauthenticated attackers to register with admin privileges. This post covers the technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-42613 Overview

CVE-2026-42613 is a critical privilege escalation vulnerability in the Grav content management system (CMS). The flaw resides in the Login::register() method of the Grav Login plugin. The method accepts attacker-controlled groups and access fields from registration POST data without server-side validation. When user registration is enabled and these fields appear in the configured allowed fields list, an unauthenticated attacker can self-register an account with admin.super privileges. The issue is tracked under CWE-20: Improper Input Validation and is fixed in Grav 2.0.0-beta.2.

Critical Impact

Unauthenticated attackers can create administrator accounts with admin.super privileges, granting full control over the affected Grav installation.

Affected Products

  • Grav CMS versions prior to 2.0.0-beta.2
  • Grav Login plugin (grav-plugin-login)
  • Grav deployments with public registration enabled and groups/access listed in allowed fields

Discovery Timeline

  • 2026-05-11 - CVE-2026-42613 published to NVD
  • 2026-05-12 - Last updated in NVD database

Technical Details for CVE-2026-42613

Vulnerability Analysis

The vulnerability is a mass assignment flaw in the Grav Login plugin's registration handler. The Login::register() method processes registration form input and persists user attributes without filtering privileged fields. Two attributes are sensitive: groups, which determines group membership, and access, which defines per-user access control entries.

Grav uses access entries such as admin.super: true to grant administrative authority. By including these fields in the registration POST body, an attacker assigns themselves administrative rights at account creation. Authentication is not required because registration is intended for unauthenticated visitors.

The impact extends across confidentiality, integrity, and availability. An attacker with admin.super can read site content, modify pages and configuration, install plugins, and execute server-side code through Grav's administrative interfaces.

Root Cause

The root cause is missing server-side validation and field allow-listing inside Login::register(). The method trusts the configured allowed fields list, but that list can legitimately include user-controlled profile attributes alongside privileged ones such as groups and access. No separate enforcement prevents privileged attributes from being assigned during registration.

Attack Vector

The attack is performed over the network against the public registration endpoint. The attacker submits a registration request that includes additional parameters for groups and access, specifying administrative values. The server stores the account with the supplied privileges. The attacker then authenticates and reaches the admin panel.

No exploit code is publicly verified. Refer to the GitHub Security Advisory GHSA-pxm6-mhxr-q4mj and GHSA-w48r-jppp-rcfw for technical details.

Detection Methods for CVE-2026-42613

Indicators of Compromise

  • New user accounts in user/accounts/ containing access: entries with admin.super: true that were not provisioned by administrators.
  • Registration POST requests in web server logs containing data[groups] or data[access] parameters.
  • Admin panel logins from accounts created shortly after suspicious registration requests.
  • Unexpected plugin installations, configuration changes, or page modifications following account creation events.

Detection Strategies

  • Audit the user/accounts/ directory for YAML files containing privileged groups or access keys that do not match the expected administrator inventory.
  • Inspect web access logs for POST requests to the registration URL (typically /user/register or the configured route_register) that include groups or access fields.
  • Compare the configured allowed_fields list in the Login plugin configuration against the documented safe defaults.

Monitoring Recommendations

  • Alert on creation of any user file in user/accounts/ that contains admin. access entries.
  • Monitor administrative actions performed by recently created accounts during the first 24 hours after registration.
  • Forward Grav and web server logs to a central log analytics platform for correlation of registration events with subsequent privileged actions.

How to Mitigate CVE-2026-42613

Immediate Actions Required

  • Upgrade Grav and the Login plugin to 2.0.0-beta.2 or later.
  • Disable public user registration until the upgrade is complete by setting enabled: false under the Login plugin's user registration configuration.
  • Review and remove groups and access from the allowed_fields list in the Login plugin configuration if registration must remain enabled on an unpatched instance.
  • Audit existing accounts for unauthorized admin.super privileges and remove any accounts that were not provisioned by administrators.

Patch Information

The fix is delivered in Grav 2.0.0-beta.2. The remediation commit is available at getgrav/grav-plugin-login commit 3d419a0. The patch removes groups and access from the set of fields that can be assigned during self-registration.

Workarounds

  • Disable the Login plugin's registration feature on unpatched instances.
  • Restrict access to the registration endpoint at the web server or reverse proxy layer until patching is complete.
  • Remove groups and access from the Login plugin allowed_fields configuration if registration cannot be disabled.
bash
# Configuration example: user/config/plugins/login.yaml
user_registration:
  enabled: false
  fields:
    - username
    - email
    - password
    - fullname
  # Ensure 'groups' and 'access' are NOT present in the fields list

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGrav

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-pxm6-mhxr-q4mj

  • GitHub Security Advisory GHSA-w48r-jppp-rcfw
  • Related CVEs
  • CVE-2026-42845: Grav Form Plugin Auth Bypass Vulnerability

  • CVE-2026-42844: Grav CMS Privilege Escalation Vulnerability

  • CVE-2026-42842: Grav CMS Form Plugin XSS Vulnerability

  • CVE-2026-44737: Grav Admin Plugin XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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