{"id":"CVE-2021-47714","published":"2025-12-22T21:35:25Z","modified":"2026-08-14T16:49:17Z","title":"Hasura GraphQL 1.3.3 Local File Read via SQL Injection","vendor":"Hasura","product":"Hasura GraphQL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43653,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://www.exploit-db.com/exploits/49790","tags":["exploit"]},{"url":"https://github.com/hasura/graphql-engine","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection","tags":["third-party-advisory"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":8.73},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-04-21"},"first":{"date":"2021-04-21","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49790"},"provenance":"source"},"vendorSlug":"hasura","affectedVersions":[{"vendor":"Hasura","product":"Hasura GraphQL","versions":["1.3.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-12-22T21:58:53.298609Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34745","exploited":false,"provenance":"source"},"exploits":[{"id":49790,"url":"https://www.exploit-db.com/exploits/49790","title":"Hasura GraphQL 1.3.3 - Local File Read","date":"2021-04-21","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/49790"]}