CVE-2021-47748

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:hasura:graphql_engine:1.3.3:*:*:*:*:*:*:*

History

17 Jun 2026, 04:18

Type Values Removed Values Added
Summary
  • (es) Hasura GraphQL 1.3.3 contiene una vulnerabilidad de ejecución remota de código que permite a los atacantes ejecutar comandos de shell arbitrarios mediante la manipulación de consultas SQL. Los atacantes pueden inyectar comandos en el endpoint run_sql creando consultas GraphQL maliciosas que ejecutan comandos del sistema a través de la funcionalidad COPY FROM PROGRAM de PostgreSQL.

02 Feb 2026, 18:11

Type Values Removed Values Added
References () https://github.com/hasura/graphql-engine - () https://github.com/hasura/graphql-engine - Product
References () https://www.exploit-db.com/exploits/49802 - () https://www.exploit-db.com/exploits/49802 - Exploit
References () https://www.vulncheck.com/advisories/hasura-graphql-remote-code-execution - () https://www.vulncheck.com/advisories/hasura-graphql-remote-code-execution - Third Party Advisory
CPE cpe:2.3:a:hasura:graphql_engine:1.3.3:*:*:*:*:*:*:*
First Time Hasura
Hasura graphql Engine

21 Jan 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-21 18:16

Updated : 2026-06-17 04:18


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')