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

State
Published
Severity
6.5 Medium
Published
Nov 25, 2026
Updated
Nov 25, 2026
Reserved
Jul 13, 2026

Read the record on cve.org

Description

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.

ProductVersions
HDFS Foreign Data Wrapper (hdfs_fdw) EnterpriseDBbefore 2.4.0 Affected

Weaknesses

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-532 Insertion of Sensitive Information into Log File
  • CWE-316 Cleartext Storage of Sensitive Information in Memory

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.