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…

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 versions prior to 25.3.4 contain a vulnerability in the checkUserPassword GraphQL query that allows injection of arbitrary Dgraph Query Language (DQL) commands. This occurs because user-supplied password inputs are directly interpolated into a DQL query string without proper escaping or parameterization. The issue is fixed in version 25.3.4.

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/08/2026, 14:28:44 UTC

Technical Analysis

Dgraph, an open source distributed GraphQL database, is affected by a DQL injection vulnerability (CWE-943) in the checkUserPassword query prior to version 25.3.4. The vulnerability arises from unsafe use of fmt.Sprintf to insert user-supplied password values directly into a DQL checkpwd() query string without escaping special characters. An attacker can exploit this by injecting a password containing a double-quote character to break out of the intended string literal and append arbitrary DQL query blocks, potentially leading to unauthorized data exposure. The vulnerability has a CVSS 3.1 base score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, and impacts confidentiality but not integrity or availability. The issue is resolved in Dgraph version 25.3.4.

Potential Impact

Successful exploitation allows an unauthenticated attacker to inject arbitrary DQL commands via the password parameter in the checkUserPassword query, potentially exposing sensitive data. The vulnerability impacts confidentiality but does not affect integrity or availability. There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade Dgraph to version 25.3.4 or later, where this vulnerability is patched. No other official remediation or temporary fixes are documented. Patch status is confirmed by the versioning information indicating the fix 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/08/2026, 14:28:44 UTC

Last updated: 07/09/2026, 01:00:58 UTC

Views: 9

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