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

- Severity: Medium 6.5 (CVSS:4.0, scored by EDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-11-25T16:36:23.711Z
- Modified: 2026-11-25T20:16:05.627Z
- Weaknesses: CWE-89, CWE-316, CWE-532
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EDB

## 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.

(As written by CVE List.)

## Affected

- EnterpriseDB HDFS Foreign Data Wrapper (hdfs_fdw): before 2.4.0

## References

- <https://www.enterprisedb.com/docs/security/advisories/cve202662156/> (vendor-advisory)
- <https://github.com/EnterpriseDB/hdfs_fdw/releases/tag/v2.4.0> (patch, release-notes)

## Sources

- CVE List: [CVE-2026-62156](https://www.cve.org/CVERecord?id=CVE-2026-62156), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-62156](https://nvd.nist.gov/vuln/detail/CVE-2026-62156), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-62156 · Whole record: https://cve.day/CVE-2026-62156.json · Rebuilt by cve.day 2026-11-25T23:18:17.009Z
