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

Summary

CVECVE-2026-62156
StatePUBLISHED
AssignerEDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-25 17:17:57 UTC
Updated2026-11-25 20:16:05 UTC
Descriptionhdfs_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.

Risk And Classification

Primary CVSS: v4.0 6.5 MEDIUM from 20be33e2-bf35-4d13-8fad-18bd2f3e3659

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

EPSS: 0.004090000 probability, percentile 0.268410000 (date 2026-11-29)

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


VersionSourceTypeScoreSeverityVector
4.020be33e2-bf35-4d13-8fad-18bd2f3e3659Secondary6.5MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/C...
4.0CNACVSS6.5MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

CVSS v4.0 Breakdown

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Confidentiality
None
Integrity
None
Availability
None
Sub Conf.
High
Sub Integrity
High
Sub Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA EnterpriseDB HDFS Foreign Data Wrapper Hdfs Fdw affected 2.4.0 custom Not specified

References

ReferenceSourceLinkTags
github.com/EnterpriseDB/hdfs_fdw/releases/tag/v2.4.0 20be33e2-bf35-4d13-8fad-18bd2f3e3659 github.com
www.enterprisedb.com/docs/security/advisories/cve202662156 20be33e2-bf35-4d13-8fad-18bd2f3e3659 www.enterprisedb.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report