製品・ソフトウェアに関する情報
dgraphにおける認証の欠如に関する脆弱性
Title dgraphにおける認証の欠如に関する脆弱性
Summary

Dgraphはオープンソースの分散型GraphQLデータベースです。25.3.1以前のバージョンでは、restoreTenant管理者ミューテーションが認可ミドルウェア設定(admin.go)から欠落しており、適切に認証されていませんでした。同様のrestoreミューテーションがGuardian-of-Galaxy認証を必要とするのに対し、restoreTenantはミドルウェアなしで実行されていました。このミューテーションは攻撃者が制御するバックアップのソースURL(ローカルファイルシステムへのアクセスを含むfile://)、S3/MinIO認証情報、暗号化キーのファイルパス、Vault認証情報のファイルパスを受け入れます。認証されていない攻撃者はデータベース全体を上書きしたり、サーバー側のファイルを読み取ったり、SSRF攻撃を実行したりすることが可能でした。この脆弱性は25.3.1で修正されました。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 6, 2026, midnight
Registration Date April 24, 2026, 11:44 a.m.
Last Update April 24, 2026, 11:44 a.m.
CVSS3.0 : 緊急
Score 10
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected System
dgraph
dgraph 25.3.0 およびそれ以前
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月24日]
  掲載
April 24, 2026, 11:44 a.m.

NVD Vulnerability Information
CVE-2026-34976
Summary

Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing from the authorization middleware config (admin.go), making it completely unauthenticated. Unlike the similar restore mutation which requires Guardian-of-Galaxy authentication, restoreTenant executes with zero middleware. This mutation accepts attacker-controlled backup source URLs (including file:// for local filesystem access), S3/MinIO credentials, encryption key file paths, and Vault credential file paths. An unauthenticated attacker can overwrite the entire database, read server-side files, and perform SSRF. This vulnerability is fixed in 25.3.1.

Publication Date April 7, 2026, 2:17 a.m.
Registration Date April 15, 2026, 11:27 a.m.
Last Update April 23, 2026, 4:51 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:dgraph:dgraph:*:*:*:*:*:go:*:* 25.3.0
Related information, measures and tools
Common Vulnerabilities List