CVE-2021-47748

Source
https://cve.org/CVERecord?id=CVE-2021-47748
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47748.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47748
Published
2026-01-21T18:16:08.910Z
Modified
2026-07-09T02:49:02.783146Z
Severity
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
[none]
Details

Hasura GraphQL 1.3.3 contains a remote code execution vulnerability that allows attackers to execute arbitrary shell commands through SQL query manipulation. Attackers can inject commands into the run_sql endpoint by crafting malicious GraphQL queries that execute system commands through PostgreSQL's COPY FROM PROGRAM functionality.

References

Affected packages

Git / github.com/hasura/graphql-engine

Affected ranges

Type
GIT
Repo
https://github.com/hasura/graphql-engine
Events
Database specific
{
    "cpe": "cpe:2.3:a:hasura:graphql_engine:1.3.3:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.3.3"
        },
        {
            "last_affected": "1.3.3"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

1.*
1.3.3
v1.*
v1.3.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47748.json"