Remote Code Execution Vulnerability in Hasura GraphQL 1.3.3 by Hasura
CVE-2021-47748

9.3CRITICAL

Key Information:

Vendor

Hasura

Status
Vendor
CVE Published:
21 January 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2021-47748?

Hasura GraphQL version 1.3.3 contains a vulnerability that permits remote code execution. This arises from improper handling of SQL queries, allowing attackers to exploit the run_sql endpoint. By crafting malicious GraphQL queries, an attacker can manipulate PostgreSQL's COPY FROM PROGRAM functionality to execute arbitrary shell commands on the system. It is crucial for users of Hasura GraphQL to be aware of this vulnerability and apply mitigations promptly.

Affected Version(s)

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:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
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
.