---
title: "CVE-2026-41327: Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field"
url: https://erroneo.us/security/cve/CVE-2026-41327/
description: "CVE-2026-41327 (github.com/dgraph-io/dgraph/v25 (Go)): Dgraph is an open source distributed GraphQL database. Prior to 25.3.3, a vulnerability has been…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-04-24
date_modified: 2026-05-04
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-41327"
kev: false
cvss: 9.1
epss: 0.00475
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-41327: Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.5% , percentile 40: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 40% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes github.com/dgraph-io/dgraph/v25 (Go) < 25.3.3, fixed in 25.3.3 ; github.com/dgraph-io/dgraph/v24 (Go) <= 24.1.8, no fixed version listed ; github.com/dgraph-io/dgraph (Go) <= 1.2.8, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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

## Affected packages

- Go `github.com/dgraph-io/dgraph/v25` < 25.3.3 → fixed: 25.3.3
- Go `github.com/dgraph-io/dgraph/v24` <= 24.1.8 → fixed: none listed
- Go `github.com/dgraph-io/dgraph` <= 1.2.8 → fixed: none listed

## Affected products (CVE record)

- dgraph-io dgraph: < 25.3.3

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 0.47% probability of exploitation activity in the next 30 days; percentile 40.

## Sources

- [GitHub Advisory GHSA-mrxx-39g5-ph77](https://github.com/advisories/GHSA-mrxx-39g5-ph77)
- [CVE.org record CVE-2026-41327](https://www.cve.org/CVERecord?id=CVE-2026-41327)
- [NVD entry CVE-2026-41327](https://nvd.nist.gov/vuln/detail/CVE-2026-41327)
- [github.com](https://github.com/dgraph-io/dgraph/security/advisories/GHSA-mrxx-39g5-ph77)
- [github.com](https://github.com/dgraph-io/dgraph/releases/tag/v25.3.3)

---
Source page: https://erroneo.us/security/cve/CVE-2026-41327/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
