The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-42844

CVE-2026-42844: Grav CMS Privilege Escalation Vulnerability

CVE-2026-42844 is a privilege escalation vulnerability in Grav CMS that allows low-privileged API users to create admin accounts and gain full control. This article covers technical details, affected versions, and mitigation.

Published: May 17, 2026

CVE-2026-42844 Overview

CVE-2026-42844 is a privilege escalation vulnerability in Grav, a file-based Web platform. The flaw affects Grav 2.0.0-beta.2 and allows a low-privileged authenticated API user holding the api.media.write permission to abuse the /api/v1/blueprint-upload endpoint. Attackers write an arbitrary YAML file into user/accounts/, effectively creating a new account with api.super privileges. After authenticating as the attacker-controlled account, adversaries gain full administrative control of the Grav API. The issue is tracked under [CWE-269: Improper Privilege Management] and is fixed in Grav API 1.0.0-beta.17.

Critical Impact

Authenticated low-privilege API users can escalate to full administrative control of the Grav API by writing a crafted YAML account file.

Affected Products

  • Grav 2.0.0-beta.2 (file-based Web platform)
  • Grav API versions prior to 1.0.0-beta.17
  • Deployments exposing /api/v1/blueprint-upload to authenticated users

Discovery Timeline

  • 2026-05-12 - CVE-2026-42844 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-42844

Vulnerability Analysis

The vulnerability resides in the Grav API endpoint /api/v1/blueprint-upload. This endpoint is intended for users holding the api.media.write capability and accepts blueprint file uploads. The endpoint does not adequately restrict the destination path or file content type. As a result, an authenticated low-privileged user can write arbitrary YAML files outside the media context.

By targeting the user/accounts/ directory, attackers create a new Grav user account through file write rather than the user management API. The crafted YAML defines an account with the api.super role. Grav loads this account on subsequent authentication, treating the attacker-controlled credentials as a legitimate administrator. The escalation path crosses a privilege boundary without invoking any authorization check on the role granted [CWE-269].

Root Cause

The root cause is improper privilege management combined with insufficient path and content validation on the blueprint-upload endpoint. The handler trusts the supplied filename and YAML payload, allowing it to be written into security-sensitive directories. Grav treats files under user/accounts/ as authoritative identity material, so any writable account YAML becomes a valid user record.

Attack Vector

The attack is network-reachable and requires only low-privileged authentication. The adversary authenticates with an account that has api.media.write, sends a crafted request to /api/v1/blueprint-upload referencing a target path under user/accounts/, and supplies YAML that declares api.super. The attacker then authenticates as the new account and issues administrative API calls. No user interaction is required.

No public proof-of-concept code is referenced in the advisory. See the GitHub Security Advisory GHSA-6xx2-m8wv-756h for vendor technical details.

Detection Methods for CVE-2026-42844

Indicators of Compromise

  • Unexpected YAML files in the user/accounts/ directory with recent modification timestamps.
  • Account YAML containing the api.super privilege that does not match provisioning records.
  • HTTP requests to /api/v1/blueprint-upload originating from non-administrative API tokens.
  • Successful authentication events for accounts that were not created through standard administrative workflows.

Detection Strategies

  • Inspect web server and application logs for POST requests to /api/v1/blueprint-upload and correlate with the requesting user's privilege level.
  • Alert on file creation events in user/accounts/ that are not preceded by an administrative session.
  • Compare the current set of Grav accounts against a known-good inventory and flag additions with elevated roles.

Monitoring Recommendations

  • Enable file integrity monitoring on the Grav user/accounts/ and user/config/ directories.
  • Forward Grav application logs to a centralized log platform and retain authentication and API audit events.
  • Track issuance and use of API tokens, especially those granting api.media.write.

How to Mitigate CVE-2026-42844

Immediate Actions Required

  • Upgrade the Grav API package to version 1.0.0-beta.17 or later, which contains the official fix.
  • Audit user/accounts/ for unauthorized YAML files and remove any account not created through legitimate processes.
  • Rotate credentials and API tokens for all accounts that hold api.media.write or api.super privileges.

Patch Information

The vendor fixed CVE-2026-42844 in Grav API 1.0.0-beta.17. Upgrade instructions and the advisory text are available in the GitHub Security Advisory GHSA-6xx2-m8wv-756h.

Workarounds

  • Restrict network access to the Grav API to trusted administrative networks until patching is complete.
  • Revoke the api.media.write capability from all non-essential accounts.
  • Block requests to /api/v1/blueprint-upload at a reverse proxy or web application firewall for unauthorized roles.
bash
# Example nginx restriction blocking the vulnerable endpoint at the edge
location = /api/v1/blueprint-upload {
    deny all;
    return 403;
}

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechGrav

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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-269
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-42843: Grav API Plugin Privilege Escalation

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

  • CVE-2026-44737: Grav Admin Plugin XSS Vulnerability

  • CVE-2026-42841: Getgrav Grav 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