Security Resilience

CVE-2026-41327

Dgraph ≤ 25.3.3

Public PoC
Published
24 April 2026
Modified
11 November 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.016 76th percentile
Risk Priority 70 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-41327 is a critical-severity Improper Neutralization of Special Elements in Data Query Logic (CWE-943) vulnerability in Dgraph. Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 24% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-41327 is a critical vulnerability in Dgraph, an open source distributed GraphQL database, affecting versions prior to 25.3.3. The issue stems from improper handling of the "cond" field in upsert mutations sent via HTTP POST to the /mutate?commitNow=true endpoint. In Dgraph's default configuration without ACL enabled, the cond value is concatenated directly into a DQL query string using strings.Builder.WriteString after only a cosmetic strings.Replace transformation, without escaping, parameterization, or structural validation. This enables DQL injection, where an attacker can append a syntactically valid named query block that the DQL parser executes server-side. The vulnerability carries a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and is associated with CWE-943.

An unauthenticated attacker with network access can exploit this vulnerability remotely with low complexity and no user interaction required. By crafting a malicious cond field in the upsert mutation, the attacker injects an arbitrary DQL query block, gaining full read access to every piece of data in the database. The injected query executes server-side, and its results are returned directly in the HTTP response, potentially allowing extraction of sensitive information.

The vulnerability is fixed in Dgraph version 25.3.3, as detailed in the project's release notes and GitHub security advisory GHSA-mrxx-39g5-ph77. Security practitioners should upgrade to 25.3.3 or later and enable ACL in configurations to mitigate exposure, particularly for internet-facing instances.

EU & UK References

Vulnerability Data

Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been found in Dgraph that gives an unauthenticated attacker full read access to every piece of data in the database. This affects Dgraph's default configuration where…

more

ACL is not enabled. The attack is a single HTTP POST to /mutate?commitNow=true containing a crafted cond field in an upsert mutation. The cond value is concatenated directly into a DQL query string via strings.Builder.WriteString after only a cosmetic strings.Replace transformation. No escaping, parameterization, or structural validation is applied. An attacker injects an additional DQL query block into the cond string, which the DQL parser accepts as a syntactically valid named query block. The injected query executes server-side and its results are returned in the HTTP response. This vulnerability is fixed in 25.3.3.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-41328Same product: Dgraph Dgraph
CVE-2026-41492Same product: Dgraph Dgraph
CVE-2023-31135Same product: Dgraph Dgraph
CVE-2026-34976Same product: Dgraph Dgraph
CVE-2026-40173Same product: Dgraph Dgraph
CVE-2026-118645Shared CWE-943
CVE-2026-125120Shared CWE-943
CVE-2025-60357Shared CWE-943
CVE-2026-63637Shared CWE-943
CVE-2026-81525Shared CWE-943

Affected Assets

dgraph
dgraph
≤ 25.3.3

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly stops unneutralized special elements from reaching query logic.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development catches injection vulnerabilities before release but does not itself implement the fix.

prevents

Secure coding standards require proper neutralization of special elements in all data queries.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-943, a class-level weakness, and none of its children carries one either.

References