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.4%top 70%

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

0
High
VulnerabilityCVE-2026-44840cvecve-2026-44840cwe-943
Published: 07/08/2026 (07/08/2026, 13:27:44 UTC)
Source: CVE Database V5
Vendor/Project: dgraph-io
Product: dgraph

Description

Dgraph is an open source distributed GraphQL database. Prior to version 25.3.4, the `checkUserPassword` GraphQL query in Dgraph is vulnerable to DQL (Dgraph Query Language) injection. User-supplied password values are interpolated directly into a DQL `checkpwd()` query via `fmt.Sprintf` without any escaping or parameterization. An attacker can inject a password containing a double-quote character to break out of the DQL string literal and append arbitrary DQL query blocks. Version 25.3.4 patches the issue.

CVSS v3.1

Score 7.5high

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

Affected software

GitHub Actionsmore threats →ai
dgraph-io/dgraph
pkg:github/dgraph-io/dgraph
Affected versions
<25.3.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:10:14 UTC

Technical Analysis

Dgraph, an open source distributed GraphQL database, has a DQL injection vulnerability (CWE-943) in the checkUserPassword query prior to version 25.3.4. The vulnerability arises because password values are inserted into a DQL checkpwd() query using fmt.Sprintf without escaping or parameterization, enabling attackers to break out of the intended string context and append arbitrary DQL commands. This can lead to unauthorized data exposure due to improper neutralization of special elements in query logic. The vulnerability has a CVSS 3.1 base score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts confidentiality but not integrity or availability. The issue is resolved in version 25.3.4.

Potential Impact

An attacker can exploit this vulnerability to perform DQL injection by crafting a password input containing special characters to manipulate the query logic. This can result in unauthorized disclosure of sensitive data from the database. The vulnerability affects confidentiality but does not impact integrity or availability. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Upgrade Dgraph to version 25.3.4 or later, where this vulnerability is patched. Since the vendor advisory confirms the fix in 25.3.4, applying this official update is the recommended remediation. Patch status is confirmed by the vendor advisory stating the issue is fixed in 25.3.4.

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-05-07T21:21:48.352Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4e5b30c9d9e3dbe33e5269

Added to database: 07/08/2026, 14:14:08 UTC

Last enriched: 07/16/2026, 10:10:14 UTC

Last updated: 08/23/2026, 03:31:36 UTC

Views: 68

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