CVE-2021-47714

MEDIUM

Hasura GraphQL 1.3.3 - Local File Read via SQL Injection in Query Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-47714. PoCs published by Dolev Farhi.

AI-analyzed exploit summary This exploit leverages a SQL injection vulnerability in Hasura GraphQL 1.3.3 to perform a local file read via the `pg_read_file` PostgreSQL function. It sends a crafted SQL query through the Hasura API to read arbitrary files from the server.

Description

Hasura GraphQL 1.3.3 contains a local file read vulnerability that allows attackers to access system files through SQL injection in the query endpoint. Attackers can exploit the pg_read_file() PostgreSQL function by crafting malicious SQL queries to read arbitrary files on the server.

Exploits (1)

exploitdb WORKING POC
by Dolev Farhi · pythonwebappsmultiple
https://www.exploit-db.com/exploits/49790

This exploit leverages a SQL injection vulnerability in Hasura GraphQL 1.3.3 to perform a local file read via the `pg_read_file` PostgreSQL function. It sends a crafted SQL query through the Hasura API to read arbitrary files from the server.

Classification
Working Poc 100%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: Hasura GraphQL 1.3.3
No auth needed
Prerequisites: Network access to the Hasura GraphQL endpoint · Hasura GraphQL version 1.3.3 or vulnerable version
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (3)

Core 3

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 8.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (2)
hasura/graphql_engine 1.3.3
Hasura/Hasura GraphQL 1.3.3
Published Dec 22, 2025
Tracked Since Feb 18, 2026