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
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.
| Product | Versions |
|---|---|
| HDFS Foreign Data Wrapper (hdfs_fdw) EnterpriseDB | before 2.4.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.5 Medium | EDB |
Weaknesses
References
- https://www.enterprisedb.com/docs/security/advisories/cve202662156/Vendor Advisory
- https://github.com/EnterpriseDB/hdfs_fdw/releases/tag/v2.4.0Release NotesPatch
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.