Skip to main content

Hasura GraphQL Engine EUVDEUVD-2026-42118

| CVE-2026-54698 MEDIUM
Incorrect Authorization (CWE-863)
2026-07-07 GitHub_M
6.0
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege API role
  2. Delivery
    Enumerate GraphQL schema for SETOF computed fields
  3. Exploit
    Identify tables with row-level permissions restricting attacker's role
  4. Execution
    Craft iterative where-clause predicates targeting filtered rows
  5. Persist
    Observe non-empty vs. empty response as boolean oracle
  6. Impact
    Reconstruct protected column values via repeated predicate refinement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions to hold simultaneously: (1) the attacker has a valid low-privilege Hasura role with query access to the GraphQL API (PR:L - authenticated, not anonymous); (2) the Hasura instance exposes at least one table computed field returning SETOF some_table; and (3) row-level permissions are configured on that returned table to suppress certain rows for the attacker's role. Exploitation is bounded by AC:H: the attacker must know the schema structure, identify vulnerable computed fields, and perform many iterative queries to reconstruct column values - automated brute-forcing is feasible but not instantaneous. Deployments where no computed fields return SETOF, where row-level permissions are absent on returned tables, or where all roles have equivalent data access are not affected. The oracle does not leak rows the attacker can already read directly; only rows specifically blocked by row-level permission rules are inferrable.

Impact

The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) yields a score of 6.0, reflecting genuine confidentiality risk moderated by high attack complexity and a low-privilege prerequisite. Real-world risk is most significant in multi-tenant SaaS deployments or shared-database architectures where row-level permissions serve as the primary data isolation boundary between user roles. The AC:H rating is well-founded: successful exploitation requires schema knowledge, identification of suitable SETOF computed fields, and execution of many iterative queries to reconstruct column values - this is not an instantly weaponizable, single-request exploit. KEV status is negative and no EPSS data was provided; exploitation probability is inferred from complexity metrics as low to moderate for opportunistic attackers but credible for motivated, access-holding insiders or compromised accounts. No public exploit code has been identified at time of analysis. Deployments without computed fields returning SETOF, or where row-level permissions are not the primary confidentiality control, carry significantly reduced risk.

Exploit ScenarioDerived

An attacker holding a low-privilege Hasura role - such as a standard authenticated API user in a multi-tenant application - identifies a table computed field returning SETOF on a table where their role's row-level permissions filter out rows belonging to other tenants. The attacker submits a series of GraphQL queries varying the where-clause string predicate (e.g., column LIKE 'A%', then 'B%', etc.) and observes whether each returns a non-empty result set, using the presence or absence of data as a binary signal. Over many queries, the attacker reconstructs the exact values of protected column data - such as email addresses, account identifiers, or sensitive records - without ever receiving the rows directly. No public exploit code has been identified at time of analysis, but the technique is well-understood and reproducible by any attacker with schema knowledge.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 07, 2026

Row-level authorization bypass in Hasura GraphQL Engine prior to versions 2.49.2 and 2.45.5 permits low-privileged authenticated users to infer the contents of rows their role's permissions should suppress. By submitting crafted where-clause predicates against table computed fields returning SETOF results, an attacker exploits the query response as a boolean oracle - iteratively reconstructing protected column values through binary-search-style probing without ever directly retrieving the restricted rows. No public exploit has been identified at time of analysis; the CVSS 4.0 score of 6.0 with VC:H reflects meaningful confidentiality exposure specifically in deployments relying on row-level security as a data boundary.

RemediationAI

Upgrade Hasura GraphQL Engine to version 2.49.2 or later (v2.49 branch) or to 2.45.5 or later (v2.45 branch) - these are the vendor-confirmed fixed releases per GitHub Security Advisory GHSA-r27x-gc74-qmxh at https://github.com/hasura/graphql-engine/security/advisories/GHSA-r27x-gc74-qmxh. If an immediate upgrade is not operationally feasible, consider disabling or restricting table computed fields that return SETOF results specifically for roles where row-level permissions are enforced - note this may break application features that rely on those computed fields and should be coordinated with application owners. As a detective control, audit GraphQL API access logs for anomalous patterns of repeated where-clause queries targeting the same computed field with varying predicate values, which may indicate active oracle probing. No network-layer control (WAF, rate limiting) fully substitutes for the patch, as the flaw is in Hasura's internal authorization evaluation sequence.

Affected VersionsENISA

graphql-engine 2.45.0, < 2.45.5
graphql-engine 2.46.0, < 2.49.2

Affected Packages

euvd graphql_engine_2_45_0 fix: 2.45.5
euvd graphql_engine_2_46_0 fix: 2.49.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Hasura GraphQL Engine (CPE: cpe:2.3:a:hasura:graphql-engine:*:*:*:*:*:*:*:*) is an open-source API layer that auto-generates GraphQL and REST APIs over databases, enforcing role-based row-level permissions to partition data visibility. The flaw resides in how Hasura evaluates where-clause predicates on table computed fields - PostgreSQL-backed functions returning SETOF (a set of rows from another table). When a predicate is applied to such a field, Hasura evaluates the predicate condition before applying row-level permission filters, making the query's non-empty versus empty response a distinguishable oracle signal even though the underlying protected rows are never returned in the payload. This is classified as CWE-863 (Incorrect Authorization): the root cause is a logical sequencing flaw in permission enforcement, not a memory safety or injection vulnerability. The oracle technique mirrors classical blind SQL injection in structure - observable differences in API behavior allow systematic reconstruction of protected data values.

Know when Graphql Engine gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Network-accessible oracle requiring authenticated low-privilege role and iterative query probing (AC:H); pure confidentiality impact with no integrity or availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 07, 2026 - 23:01 EUVD

DescriptionCVE.org

Hasura is an open-source product that provides users GraphQL or REST APIs. Prior to 2.49.2 and 2.45.5, a user can use a where clause on a table computed field (returning SETOF some_table) to infer row values that ought to be filtered for their role based on some_table's row-level permissions. While such rows cannot be returned directly, like predicates on strings for instance allow values to be brute forced efficiently with the where clause as an oracle. This issue is fixed in versions 2.49.2 and 2.45.5.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Medium
popular open-source GraphQL API layer, widely used in modern web stacks
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy