CVE-2026-41042
Full vulnerability record from the local CVENow database.
Description
Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parameter. Vulnerability in Apache Gravitino. This issue affects Apache Gravitino: before 1.2.1. Users are recommended to upgrade to version 1.2.1, which fixes the issue. This issue only happens when using H2, and H2 is mainly used for testing and local development. Also, Gravitino is typically deployed in the internal environment, so the severity is low.
Severity
CRITICAL
CVSS score
9.1
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-08 12:17:20.550000
Last modified
2026-10-25 20:10:00.147000
View original CVE JSON
{
"id": "CVE-2026-41042",
"sourceIdentifier": "[email protected]",
"published": "2026-07-08T12:17:20.550",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parameter. Vulnerability in Apache Gravitino.\n\nThis issue affects Apache Gravitino: before 1.2.1.\n\nUsers are recommended to upgrade to version 1.2.1, which fixes the issue.\n\nThis issue only happens when using H2, and H2 is mainly used for testing and local development. Also, Gravitino is typically deployed in the internal environment, so the severity is low."
},
{
"lang": "es",
"value": "Las llamadas no autenticadas pueden proporcionar una URL JDBC H2 maliciosa a través de la API testConnection, que ejecuta código Java arbitrario en el servidor mediante el parámetro INIT de H2. Vulnerabilidad en Apache Gravitino.\n\nEste problema afecta a Apache Gravitino: versiones anteriores a la 1.2.1.\n\nSe recomienda a los usuarios actualizar a la versión 1.2.1, que soluciona el problema.\n\nEste problema solo ocurre al usar H2, y H2 se utiliza principalmente para pruebas y desarrollo local. Además, Gravitino se suele desplegar en el entorno interno, por lo que la gravedad es baja."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "Apache Software Foundation",
"product": "Apache Gravitino",
"defaultStatus": "unaffected",
"collectionURL": "https://repo.maven.apache.org/maven2",
"packageName": "org.apache.gravitino:gravitino-catalog-jdbc-common",
"versions": [
{
"version": "0",
"lessThan": "1.2.1",
"versionType": "semver",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
"baseScore": 9.1,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 3.9,
"impactScore": 5.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-08T15:07:46.248529Z",
"id": "CVE-2026-41042",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
],
"references": [
{
"url": "https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvm",
"source": "[email protected]"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/07/08/5",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}