SecurityContext

CVE-2026-41042: Apache Gravitino - Remote Code Execution

  • Cve: CVE-2026-41042
  • Name: Apache Gravitino - Remote Code Execution
  • 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.
  • Impact: Unauthenticated attackers can execute arbitrary Java code on the server, potentially leading to full system compromise.
  • Remediation: Upgrade to version 1.2.1 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.01512
  • Epss percentile: 0.75004
  • Assignee: [email protected]
  • Published at: 2026-07-08T12:17:20Z
  • Age in days: 139
  • Modified at: 2026-10-25T20:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-41042
  • Nvd status: deferred
  • Checked, none or zero: known exploited entries, public exploits capped, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Nuclei templates

IdUrl
CVE-2026-41042https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-41042.yaml

Public exploits

UrlSourceAdded date
https://github.com/Lulztigre/cve-2026-41042poc-in-github2026-08-17

References

UrlSourceTags
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-41042.yamlnuclei_templateNuclei Template
https://lists.apache.org/thread/vdh88wc6j5b38v65ncb111wbbnkf6bvmnvd
http://www.openwall.com/lists/oss-security/2026/07/08/5nvd

Products

ProductAffectedPlatform boundSourcesUrl
apache:gravitino< 1.2.1nocna_alias/v1/products/apache/gravitino

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-08-17
  • Remote: yes
  • Exposed hosts: 5
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template