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

CVE-2026-41328: Dgraph Database SQLi Vulnerability

CVE-2026-41328 is a SQL injection flaw in Dgraph Database that allows unauthenticated attackers full read access to all database data. This article covers technical details, affected versions, impact, and mitigation.

Published: April 30, 2026

CVE-2026-41328 Overview

A critical DQL injection vulnerability has been discovered in Dgraph, an open source distributed GraphQL database. Prior to version 25.3.3, an unauthenticated attacker can gain full read access to every piece of data stored in the database. This vulnerability affects Dgraph deployments using the default configuration where Access Control Lists (ACL) are not enabled.

The attack exploits improper input validation in the language tag position of JSON mutation keys, allowing attackers to inject arbitrary DQL (Dgraph Query Language) queries that execute server-side and return results in the HTTP response.

Critical Impact

Unauthenticated attackers can extract all data from affected Dgraph databases through DQL injection, resulting in complete confidentiality and integrity compromise.

Affected Products

  • Dgraph versions prior to 25.3.3
  • Dgraph deployments with ACL disabled (default configuration)
  • Dgraph Go module installations

Discovery Timeline

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

Technical Details for CVE-2026-41328

Vulnerability Analysis

This vulnerability represents a DQL injection flaw (CWE-943) in Dgraph's mutation handling mechanism. The attack requires no authentication and can be executed remotely over the network with low complexity, making it particularly dangerous for internet-exposed Dgraph instances.

The exploitation process involves two sequential HTTP POST requests to port 8080. First, the attacker sets up a schema predicate with @unique @index(exact) @lang directives via the /alter endpoint, which is also unauthenticated in the default configuration. Second, a crafted JSON mutation is sent to /mutate?commitNow=true containing a specially constructed JSON key that includes the predicate name followed by an @ symbol and a DQL injection payload in the language tag position.

Root Cause

The root cause lies in the addQueryIfUnique function located in edgraph/server.go. This function constructs DQL queries using fmt.Sprintf with an unsanitized predicateName that includes the raw pred.Lang value. The Lang field is extracted from JSON mutation keys by the x.PredicateLang() function, which simply splits on the @ character and performs no validation.

Critically, no function in the codebase validates the Lang field before it is incorporated into the DQL query template. This allows attackers to inject a closing parenthesis to escape the eq() function, add an arbitrary named query block, and use a # comment character to neutralize any trailing template syntax. The injected query then executes server-side with full database access.

Attack Vector

The attack is network-based and requires no user interaction or authentication. An attacker sends a crafted JSON mutation where the key contains a malicious language tag. The injection payload escapes the intended query context and injects arbitrary DQL that can enumerate and extract all database contents.

The injected query results are returned directly in the HTTP response, providing immediate data exfiltration capabilities. Since the attack targets the default configuration where ACL is disabled, many Dgraph deployments may be vulnerable without administrators realizing the exposure.

Detection Methods for CVE-2026-41328

Indicators of Compromise

  • Unusual HTTP POST requests to /alter endpoint creating schemas with @lang directives
  • HTTP POST requests to /mutate?commitNow=true containing suspicious JSON keys with @ symbols followed by special characters like ), {, or #
  • Large or unexpected data volumes in mutation response bodies
  • Unexpected schema modifications in Dgraph audit logs

Detection Strategies

  • Monitor HTTP traffic to Dgraph port 8080 for requests containing DQL injection patterns in JSON keys
  • Implement web application firewall (WAF) rules to detect and block requests with injection payloads in mutation endpoints
  • Review Dgraph access logs for unauthenticated requests to /alter and /mutate endpoints
  • Deploy network intrusion detection signatures for Dgraph DQL injection patterns

Monitoring Recommendations

  • Enable comprehensive logging for all Dgraph HTTP API endpoints
  • Set up alerts for schema modifications via unauthenticated requests
  • Monitor for bulk data extraction patterns in response sizes
  • Implement baseline monitoring for normal Dgraph query patterns to detect anomalies

How to Mitigate CVE-2026-41328

Immediate Actions Required

  • Upgrade Dgraph to version 25.3.3 or later immediately
  • Enable ACL (Access Control Lists) on all Dgraph deployments to require authentication
  • Restrict network access to Dgraph port 8080 using firewall rules
  • Review logs for signs of exploitation before patching

Patch Information

This vulnerability is fixed in Dgraph version 25.3.3. The fix addresses the input validation issue by properly sanitizing the Lang field extracted from JSON mutation keys before incorporating it into DQL queries. Organizations should upgrade to 25.3.3 or later as soon as possible.

For detailed patch information, refer to the GitHub Security Advisory.

Workarounds

  • Enable ACL authentication on Dgraph to prevent unauthenticated access to /alter and /mutate endpoints
  • Place Dgraph behind a reverse proxy or API gateway that validates and sanitizes incoming requests
  • Implement network segmentation to limit access to Dgraph instances from trusted sources only
  • Monitor and alert on any requests containing special characters in JSON mutation keys
bash
# Example: Restrict network access to Dgraph port 8080
iptables -A INPUT -p tcp --dport 8080 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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.10%

  • 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
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-41327: Dgraph GraphQL 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