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

Published Nov 25, 2026
·
Updated

hdfsfdw 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 hdfsfdw 2.4.0. From hdfsfdw 2.4.0, hdfsfdw escapes single quotes in these literals, masks trustStorePassword in logs and clears credentials from memory after connecting.

Affected Software

1 affected component
hdfs_fdw<2.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.4.0

Event History

Nov 25, 2026
CVE Published
via MITRE·04:36 PM
Data Sourced
via MITRE·04:36 PM
DescriptionWeakness

Frequently Asked Questions

1

Who can exploit the HiveQL injection issue?

An authenticated user who has only SELECT permission on an affected foreign table can exploit it by supplying a crafted array value. The resulting HiveQL runs on the remote Hive or Spark server using the foreign server's credentials.

2

Which query constructs are affected?

The issue affects pushed-down IN clauses and = ANY(array) clauses when hdfs_fdw constructs string literals. Single quotes in supplied array values were not escaped before the query was sent to Hive or Spark.

3

What version resolves the injection and related credential-handling issues?

hdfs_fdw 2.4.0 fixes the injection by escaping single quotes in these literals. It also masks trustStorePassword in logs and clears credentials from memory after a connection is established.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203