Home

Description

Hasura GraphQL 1.3.3 contains a remote code execution vulnerability that allows attackers to execute arbitrary shell commands through SQL query manipulation. Attackers can inject commands into the run_sql endpoint by crafting malicious GraphQL queries that execute system commands through PostgreSQL's COPY FROM PROGRAM functionality.

PUBLISHED Reserved 2025-12-31 | Published 2026-01-21 | Updated 2026-01-22 | Assigner VulnCheck




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

Problem types

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

1.3.3
affected

Credits

Dolev Farhi finder

References

www.exploit-db.com/exploits/49802 (ExploitDB-49802) exploit

github.com/hasura/graphql-engine (Hasura GraphQL Engine GitHub Repository) product

www.vulncheck.com/...es/hasura-graphql-remote-code-execution (VulnCheck Advisory: Hasura GraphQL 1.3.3 - Remote Code Execution) third-party-advisory

cve.org (CVE-2021-47748)

nvd.nist.gov (CVE-2021-47748)

Download JSON