RCE in Hasura Graphql

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.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.011 (65.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-47748: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: -0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-47748?
CVE-2021-47748 is a critical-severity vulnerability in Hasura Graphql, classified under OS Command Injection. CVSS score: 9.8/10. Published 2026-01-21.
How severe is CVE-2021-47748?
Critical severity. CVSS v3 base score is 9.8 out of 10.