{"id":"CVE-2021-47714","aliases":["CVE-2021-47714"],"related":[],"kind":"vulnerability","state":"published","title":"Hasura GraphQL 1.3.3 Local File Read via SQL Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-22T21:35:25.094Z","modified":"2026-08-14T16:49:17.771Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"1.3.3","status":"affected"}],"vendor":"Hasura","product":"Hasura GraphQL","source":"cvelist"},{"ranges":[{"status":"affected","version":"1.3.3"}],"vendor":"hasura","product":"graphql_engine","cpe":"cpe:2.3:a:hasura:graphql_engine:1.3.3:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.exploit-db.com/exploits/49790","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/hasura/graphql-engine","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/hasura-graphql-local-file-read-via-sql-injection","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dolev Farhi"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-12-22T21:58:53.298Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47714","url":"https://www.cve.org/CVERecord?id=CVE-2021-47714","licence":"CVE Terms of Use","modified":"2026-08-14T16:49:17.771Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47714","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47714","licence":"Public domain","modified":"2026-06-17T04:18:20.767Z"}],"updatedAt":"2026-11-25T22:58:09.034Z","epss":{"score":0.00588,"percentile":0.42136,"date":"2026-11-30T12:00:22.000Z"}}