Local File Read Vulnerability in Hasura GraphQL by Hasura
CVE-2021-47714
6.9MEDIUM
Key Information:
- Vendor
Hasura
- Status
- Vendor
- CVE Published:
- 22 December 2025
Badges
๐พ Exploit Exists๐ก Public PoC
What is CVE-2021-47714?
Hasura GraphQL 1.3.3 contains a vulnerability that permits local file reading via SQL injection on the query endpoint. By exploiting the pg_read_file() function in PostgreSQL, attackers can craft malicious SQL queries to access sensitive files stored on the server. This results in unauthorized disclosure of information, heightening the risk of data leaks.
Affected Version(s)
Hasura GraphQL 1.3.3
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Score:
6.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Credit
Dolev Farhi
