Read the docs

HiveQL injection in hdfs_fdw through pushed-down IN and ANY array literals

Priority LOW 29CWE-316Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00409 26th percentileScored 2026-11-30
Fix Fixed HDFS Foreign Data Wrapper (hdfs_fdw) (EnterpriseDB): 2.4.0

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

VendorProductAffected versionsFixed inStatusSource
EnterpriseDBHDFS Foreign Data Wrapper (hdfs_fdw)before 2.4.02.4.0Patch availableCNA
  • 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

  1. 2026-11-25 Threatist record created from CVE-2026-62156
  2. 2026-11-25 CISA SSVC decision points changed
  3. 2026-11-25 Alias added: GHSA-99w4-7pj7-8wx2

References

  • 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
See all 41 →

Sources