Skip to content
DayZeroHub
Medium Not yet writtenCVSS 6.5CVE-2026-62156

CVE-2026-62156: hdfs_fdw HiveQL injection through pushed-down IN and = ANY(array) string literals

EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw)

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-62156: medium-severity vulnerability (CVSS 6.5) in EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw).

What happened

Original description from the source: 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

Medium severity, CVSS 6.5.

Affected products and versions

EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw) < 2.4.0

ProductVersionsFixed in
EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw)< 2.4.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-89, CWE-532, CWE-316

Relevant change history

  1. Published

    Preliminary advisory published.