LiveActive security incident?Get immediate response
CVE Record

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

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.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-47714 affects Hasura GraphQL 1.3.3. It is described as SQL injection in the query endpoint that can let an attacker read local server files. The main business risk is unauthorized disclosure of sensitive files, not system takeover based on the provided record.

Executive priority

Treat as a moderate-priority confidentiality issue. Escalate if Hasura GraphQL 1.3.3 is externally reachable or used near sensitive files, secrets, or production databases.

Technical view

The vulnerability is mapped to CWE-89. Sources describe abuse of PostgreSQL pg_read_file() through crafted SQL queries against Hasura GraphQL 1.3.3. The provided CVSS v4 score is 6.9, with high confidentiality impact and no stated integrity or availability impact.

Likely exposure

Exposure is limited to deployments running Hasura GraphQL 1.3.3. Risk is higher where the affected query endpoint is reachable by untrusted users or protects sensitive server-side files.

Exploitation context

A public ExploitDB reference is listed, so proof-of-concept material appears public. The source bundle does not show CISA KEV listing or other evidence of active exploitation in the wild.

Researcher notes

Evidence is limited to the CVE record, VulnCheck advisory, ExploitDB reference, and Hasura repository. No specific vendor patch version is named in the provided bundle, so remediation should be confirmed from Hasura guidance.

Mitigation direction

  • Identify any Hasura GraphQL 1.3.3 deployments.
  • Check Hasura vendor guidance for fixed versions or recommended configuration changes.
  • Restrict untrusted access to affected query endpoints where possible.
  • Prioritize systems handling sensitive data or exposed beyond trusted networks.

Validation and detection

  • Confirm the running Hasura GraphQL version.
  • Review whether the query endpoint is reachable by untrusted users.
  • Check logs for unusual query endpoint activity or file-read related errors.
  • Verify remediation against current Hasura guidance before closing.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47714 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.9 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.9CVSS 4.0MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

6.9Medium
CVSS 4.0 vector shape for CVE-2021-47714Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HasuraHasura GraphQL1.3.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.