HiveQL injection in hdfs_fdw through pushed-down IN and ANY array literals
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure, SQL injection
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-532 and CWE-89.
Summary
EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw) before 2.4.0 does not escape single quotes in string literals built for IN and = ANY(array) clauses pushed down to the remote Hive or Spark server, which is CWE-89 SQL injection. An authenticated user with only SELECT on a foreign table can supply a crafted array value that changes the HiveQL query, which then runs on the remote server with the foreign server's credentials. The same release also stops writing the JDBC connection string, including the trustStorePassword value, to logs (CWE-532) and clears credentials kept in cleartext in memory after connecting (CWE-316).
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
hdfs_fdw builds string literals for IN and = ANY(array) clauses pushed down to the remote Hive or Spark server without escaping single quotes. An authenticated user with only SELECT on a foreign table can supply a crafted array value that breaks out of the literal and changes the HiveQL query, which then runs on the remote server with the foreign server's credentials. The same release fixes two lower-severity issues: the JDBC connection string, including the trustStorePassword value, was written to logs, and credentials stayed in memory in cleartext after the connection was established. The issue is fixed in hdfs_fdw 2.4.0. From hdfs_fdw 2.4.0, hdfs_fdw escapes single quotes in these literals, masks trustStorePassword in logs and clears credentials from memory after connecting.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EnterpriseDB | HDFS Foreign Data Wrapper (hdfs_fdw) | before 2.4.0 | 2.4.0 | Patch available | CNA |
- HDFS Foreign Data Wrapper (hdfs_fdw) VendorEnterpriseDB Affected before 2.4.0 Fixed in 2.4.0 Patch available CNA
Remediation
Upgrade EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw) to 2.4.0, which escapes single quotes in these literals, masks trustStorePassword in logs and clears credentials from memory after connecting. The sources list no fixed version for other releases.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA HDFS Foreign Data Wrapper (hdfs_fdw) (EnterpriseDB) Fixed in 2.4.0
Timeline
- 2026-11-25 Threatist record created from CVE-2026-62156
- 2026-11-25 CISA SSVC decision points changed
- 2026-11-25 Alias added: GHSA-99w4-7pj7-8wx2
References
More EnterpriseDB vulnerabilities
- TI-2023-21738 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1CRITICAL 9.8
- TI-2026-95912 Untrusted search path in Postgres Enterprise Manager allows superuser SQL CVSS 4.0CRITICAL 9.4
- TI-2026-95911 Postgres Enterprise Manager agents can change other agents' jobs CVSS 4.0CRITICAL 9.4
- TI-2026-95910 PEM agent role grants file read and write on the PEM server host CVSS 4.0CRITICAL 9.4
- TI-2023-21739 An issue was discovered in EnterpriseDB Postgres Advanced Server (EPAS) before 11.21.32… CVSS 3.1HIGH 8.8
- TI-2026-37400 When applying replicated changes for a row that is missing one or more columns, pglogical… CVSS 4.0CRITICAL 9.0
Sources
- CVE-2026-62156 · CVE Program
- CVE-2026-62156 · NVD
- FIRST EPSS
- GHSA-99w4-7pj7-8wx2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences