# CVE-2021-47748: Hasura GraphQL 1.3.3 - Remote Code Execution

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.04%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-21T17:27:31.545Z
- Modified: 2026-07-28T01:47:19.543Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Hasura GraphQL: 1.3.3
- hasura graphql_engine: 1.3.3

## Every score

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

## References

- <https://www.exploit-db.com/exploits/49802> (exploit)
- <https://github.com/hasura/graphql-engine> (product)
- <https://www.vulncheck.com/advisories/hasura-graphql-remote-code-execution> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47748](https://www.cve.org/CVERecord?id=CVE-2021-47748), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2021-47748](https://nvd.nist.gov/vuln/detail/CVE-2021-47748), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47748 · Whole record: https://cve.day/CVE-2021-47748.json · Rebuilt by cve.day 2026-11-25T22:58:09.070Z
