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.
References
| Link | Resource |
|---|---|
| https://github.com/hasura/graphql-engine | Product |
| https://www.exploit-db.com/exploits/49802 | Exploit |
| https://www.vulncheck.com/advisories/hasura-graphql-remote-code-execution | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-01-21 18:16
Updated : 2026-02-02 18:11
NVD link : CVE-2021-47748
Mitre link : CVE-2021-47748
CVE.ORG link : CVE-2021-47748
JSON object : View
Products Affected
hasura
- graphql_engine
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
