CVE-2021-47714
6.9medium
Hasura GraphQL 1.3.3 Local File Read via SQL Injection
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.59% (higher than 42% of CVEs)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Hasura Hasura GraphQL | 1.3.3 | CVE List |
| hasura graphql_engine | 1.3.3 | NVD |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
References
| https://www.exploit-db.com/exploits/49790 | exploit | |
| https://github.com/hasura/graphql-engine | product | |
| https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47714 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2021-47714 changed 2026-06-17 | Public domain |