AI and data stack advisories

0 critical this month · 294 projects

EnterpriseDBCVE-2026-62156

EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw): SQL injection

EnterpriseDB

CVE-2026-62156 · Published Nov 25, 2026

Medium6.5
Fix: upgrade to 2.4.0 or later
EnterpriseDB advisory

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.

Affected versions

PackageAffectedFixed in
HDFS Foreign Data Wrapper (hdfs_fdw)
Product
< 2.4.02.4.0
Details and references
CVSS 4.0
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
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-89, CWE-316, CWE-532

More EnterpriseDB advisories

All EnterpriseDB
CVE-2026-62152Nov 25EnterpriseDB MySQL Foreign Data Wrapper: improper privilege managementmysql_fdw accepts several security-sensitive connection options from roles that are not superusers.Medium5.8Fixed in 2.10.0CVE-2026-62153Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionmysql_fdw inserts several values into statements sent to the remote MySQL server without escaping them: the dbname and table_name options in ANALYZE, the remote schema name and the LIMIT TO and...Medium6.4Fixed in 2.10.0CVE-2026-62154Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionDuring IMPORT FOREIGN SCHEMA, mysql_fdw copies column metadata returned by the remote MySQL server into the CREATE FOREIGN TABLE statements it runs locally without quoting it.High7.5Fixed in 2.10.0CVE-2026-62155Nov 25EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw): injectionmongo_fdw builds the mongodb:// connection URI by inserting option values without percent-encoding them, so URI metacharacters (@ : / ? # & =) in a value are parsed as part of the URI structure.Medium5.3Fixed in 5.6.0CVE-2026-62157Nov 25EnterpriseDB MongoDB Foreign Data Wrapper (mongo_fdw): out-of-bounds readmongo_fdw converts _id values to 12-byte MongoDB ObjectIds with libbson functions that read a fixed number of bytes without checking the input length: 12 bytes for a bytea _id, and 24 characters for...Medium5.3Fixed in 5.6.0CVE-2026-62151Nov 25EnterpriseDB MySQL Foreign Data Wrapper (mysql_fdw): SQL injectionmysql_fdw builds string literals for queries sent to the remote MySQL server with an escaping routine that is not character-set aware.Medium5.8Fixed in 2.10.0