Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege API role
-
DeliveryEnumerate GraphQL schema for SETOF computed fields
-
ExploitIdentify tables with row-level permissions restricting attacker's role
-
ExecutionCraft iterative where-clause predicates targeting filtered rows
-
PersistObserve non-empty vs. empty response as boolean oracle
-
ImpactReconstruct 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network-accessible oracle requiring authenticated low-privilege role and iterative query probing (AC:H); pure confidentiality impact with no integrity or availability effect.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Graphql Engine
View allHasura GraphQL 1.3.3 has a remote code execution vulnerability allowing attackers to execute arbitrary shell commands th
Hasura GraphQL Engine before 2.15.2 mishandles row-level authorization in the Update Many API for Postgres backends. Rat
Hasura is an open-source product that provides users GraphQL or REST APIs. Rated high severity (CVSS 7.5), this vulnerab
graphql-engine (aka Hasura GraphQL Engine) before 1.0.0-beta.3 mishandles the audience check while verifying JWT. Rated
EUVD-2026-42118
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB