Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 57%

CVE-2026-41328: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in dgraph-io dgraph

0
Critical
VulnerabilityCVE-2026-41328cvecve-2026-41328cwe-943
Published: Fri Apr 24 2026 (04/24/2026, 18:25:43 UTC)
Source: CVE Database V5
Vendor/Project: dgraph-io
Product: dgraph

Description

A critical vulnerability (CVE-2026-41328) in dgraph-io dgraph prior to version 25. 3. 3 allows an unauthenticated attacker to gain full read access to all data in the database when ACL is not enabled. The attack exploits improper neutralization of special elements in data query logic (CWE-943) via crafted HTTP POST requests that inject malicious Dgraph Query Language (DQL) payloads. This vulnerability is fixed in version 25. 3. 3.

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 20:41:15 UTC

Technical Analysis

Dgraph versions before 25.3.3 have a vulnerability due to improper neutralization of special elements in data query logic (CWE-943). In the default configuration without ACL enabled, an unauthenticated attacker can perform two HTTP POST requests to port 8080: first to set up a schema predicate with specific annotations via the /alter endpoint, and second to send a crafted JSON mutation to /mutate?commitNow=true. The vulnerability arises because the addQueryIfUnique function in edgraph/server.go constructs DQL queries using fmt.Sprintf with an unsanitized predicateName that includes a language tag extracted from JSON keys without validation. This allows injection of arbitrary DQL code, leading to unauthorized full read access to the database. The issue is resolved in dgraph version 25.3.3.

Potential Impact

An unauthenticated attacker can exploit this vulnerability to gain full read access to all data stored in the affected Dgraph database instances running default configurations without ACL enabled. This compromises confidentiality but does not affect integrity or availability. The vulnerability has a CVSS 3.1 base score of 9.1 (critical), reflecting its ease of exploitation over the network without privileges and its high impact on confidentiality.

Mitigation Recommendations

This vulnerability is fixed in dgraph version 25.3.3. Users should upgrade to version 25.3.3 or later to remediate this issue. If upgrading immediately is not possible, enabling Access Control Lists (ACL) in the configuration can mitigate the risk by preventing unauthenticated access. Patch status is not explicitly stated in vendor advisory content, but the fix is included in version 25.3.3. Users should consult the official dgraph release notes and advisories for detailed remediation instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T14:01:46.672Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ebb81d87115cfb68646f73

Added to database: 4/24/2026, 6:36:13 PM

Last enriched: 5/1/2026, 8:41:15 PM

Last updated: 6/9/2026, 2:52:52 PM

Views: 154

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses