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-41327

CVE-2026-41327: Dgraph GraphQL Database SQLi Vulnerability

CVE-2026-41327 is a SQL injection flaw in Dgraph GraphQL database allowing unauthenticated attackers full read access to all data. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 30, 2026

CVE-2026-41327 Overview

CVE-2026-41327 is a critical DQL (Dgraph Query Language) injection vulnerability in Dgraph, an open source distributed GraphQL database. This flaw allows unauthenticated attackers to gain full read access to every piece of data stored in the database by exploiting improper input handling in upsert mutations. The vulnerability affects Dgraph installations running the default configuration where Access Control Lists (ACL) are not enabled.

Critical Impact

Unauthenticated attackers can extract the entire contents of Dgraph databases through a single crafted HTTP POST request, leading to complete data exfiltration without any authentication requirements.

Affected Products

  • Dgraph versions prior to 25.3.3
  • Dgraph installations with default configuration (ACL disabled)
  • Dgraph Go module (cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:*)

Discovery Timeline

  • 2026-04-24 - CVE-2026-41327 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2026-41327

Vulnerability Analysis

This vulnerability represents a classic injection flaw (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) that occurs when user-controlled input is incorporated into query strings without proper sanitization. The attack exploits Dgraph's upsert mutation endpoint, where the cond field value is directly concatenated into a DQL query string using strings.Builder.WriteString after only a superficial strings.Replace transformation.

The lack of proper escaping, parameterization, or structural validation allows an attacker to break out of the intended query context and inject arbitrary DQL query blocks. The DQL parser accepts these injected blocks as syntactically valid named query blocks, executing them server-side and returning the results directly in the HTTP response.

Root Cause

The root cause of CVE-2026-41327 lies in the unsafe string concatenation pattern used when building DQL queries from user input. Specifically, the cond field in upsert mutations undergoes only a cosmetic transformation via strings.Replace before being concatenated into the query string. This approach fails to:

  1. Properly escape special characters that have syntactic meaning in DQL
  2. Implement parameterized queries or prepared statements
  3. Validate the structural integrity of the input to ensure it conforms to expected patterns
  4. Reject input containing query block delimiters or other injection payloads

Attack Vector

The attack is remarkably straightforward, requiring only a single HTTP POST request to the /mutate?commitNow=true endpoint. An attacker crafts a malicious cond field value within an upsert mutation that contains an additional DQL query block. When processed by the vulnerable code path, this injected query block is parsed and executed alongside the legitimate query, with results returned to the attacker.

The network-based attack vector requires no authentication and no user interaction, making it highly exploitable against any internet-exposed Dgraph instance running without ACL enabled. The attacker can systematically enumerate and extract all data from the database by iterating through different query patterns.

Since no verified code examples are available, readers should consult the GitHub Security Advisory GHSA-mrxx-39g5-ph77 for detailed technical information about the vulnerability mechanism and exploitation technique.

Detection Methods for CVE-2026-41327

Indicators of Compromise

  • Unusual or high-volume POST requests to /mutate?commitNow=true endpoint from external IP addresses
  • HTTP responses containing unexpected data structures or large result sets from mutation endpoints
  • Log entries showing DQL queries with multiple named query blocks where only one was expected
  • Authentication-free access patterns to sensitive data that should require ACL permissions

Detection Strategies

  • Monitor HTTP traffic for POST requests to /mutate endpoints containing suspicious cond field patterns
  • Implement Web Application Firewall (WAF) rules to detect and block DQL injection patterns in request bodies
  • Analyze Dgraph query logs for queries containing unexpected query block structures or delimiters
  • Deploy network-based intrusion detection signatures targeting GraphQL/DQL injection attempts

Monitoring Recommendations

  • Enable comprehensive audit logging for all mutation requests in Dgraph deployments
  • Set up alerting for unusually large response payloads from mutation endpoints
  • Implement rate limiting on mutation endpoints to slow down potential data exfiltration attempts
  • Monitor for bulk data access patterns that deviate from normal application behavior

How to Mitigate CVE-2026-41327

Immediate Actions Required

  • Upgrade Dgraph to version 25.3.3 or later immediately to receive the security fix
  • Enable ACL (Access Control Lists) on all Dgraph deployments to require authentication
  • Restrict network access to Dgraph endpoints using firewall rules or network segmentation
  • Review access logs for evidence of exploitation prior to patching

Patch Information

Dgraph has released version 25.3.3 which addresses this vulnerability by implementing proper input validation and sanitization for the cond field in upsert mutations. Organizations should upgrade to this version immediately. The release is available from the GitHub Release v25.3.3.

For additional details about the vulnerability and the fix, refer to the GitHub Security Advisory GHSA-mrxx-39g5-ph77.

Workarounds

  • Enable ACL on Dgraph deployments to require authentication for all database operations
  • Place Dgraph behind a reverse proxy with strict input validation rules
  • Restrict network access to Dgraph endpoints to trusted internal networks only
  • Implement application-level input validation for any user data passed to Dgraph mutations
bash
# Example: Enable ACL in Dgraph configuration
# Add the following flags when starting Dgraph Alpha
dgraph alpha --acl "secret-file=/path/to/hmac-secret" \
  --whitelist "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

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

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechDgraph

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-943
  • Technical References
  • GitHub Release v25.3.3
  • Vendor Resources
  • GitHub Security Advisory GHSA-mrxx-39g5-ph77
  • Related CVEs
  • CVE-2026-41328: Dgraph Database SQLi Vulnerability

  • CVE-2026-41492: Dgraph Authentication Bypass Vulnerability

  • CVE-2026-40173: Dgraph Auth Bypass Vulnerability

  • CVE-2026-34976: Dgraph Auth Bypass 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