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

> CVE-2021-47714: Hasura GraphQL 1.3.3 Local File Read via SQL Injection. CVSS 5.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2021-47714
Last updated: 2026-08-14T16:49:17Z

- Published: 2025-12-22 21:35 UTC · Updated: 2026-08-14 16:49 UTC · Assigner: VulnCheck
- CVSS: 5.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.22%, 12th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-89

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

## Affected vendors and products

- Hasura: Hasura GraphQL

## Tracked companies

- [Hasura](https://rewindex.com/company/hasura.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2021-47714)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2021-47714)
- [https://github.com/hasura/graphql-engine](https://github.com/hasura/graphql-engine)
- [https://www.exploit-db.com/exploits/49790](https://www.exploit-db.com/exploits/49790)
- [https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection](https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2021-47714 · Markdown: https://rewindex.com/cve/CVE-2021-47714.md · JSON: https://rewindex.com/api/v1/cves/CVE-2021-47714 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:10:52.521Z
