# CVE-2021-47714: Hasura GraphQL 1.3.3 Local File Read via SQL Injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-12-22T21:35:25.094Z
- Modified: 2026-08-14T16:49:17.771Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

Hasura GraphQL 1.3.3 contains a local file read vulnerability that allows attackers to access system files through SQL injection in the query endpoint. Attackers can exploit the pg_read_file() PostgreSQL function by crafting malicious SQL queries to read arbitrary files on the server.

(As written by CVE List.)

## Affected

- Hasura Hasura GraphQL: 1.3.3
- hasura graphql_engine: 1.3.3

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://www.exploit-db.com/exploits/49790> (exploit)
- <https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection> (exploit, third-party-advisory)
- <https://github.com/hasura/graphql-engine> (product)

## Sources

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

---

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