PoC Monitor
← All CVEs
CVE-2026-41042published 8 Jul 2026 11:38 UTCData: JSON · API

Apache Software Foundation Apache Gravitino

Apache Gravitino: 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

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.

First public PoC 40 daysafter publication · 17 Aug 2026
Public PoCs21 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.1critical · scored by CISA ADP · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache Gravitino
  • < 1.2.1

Fixed in 1.2.1

Mitigation

Upgrade Apache Gravitino to 1.2.1 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35CVE published8 Jul 2026 · t = 0First public PoC17 Aug 2026 · t+40d

First public PoC 40 days after publication; not in CISA KEV. First PoC: Lulztigre/cve-2026-41042 (created 17 Aug 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Lulztigre/cve-2026-41042 17 Aug 2026 +40 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Apache Gravitino < 1.2.1 - Unauthenticated Remote Code Execution29 Aug 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

POST /api/metalakes

Body markers
"name":"test_ml" in application/json
Ports
8090
Seen in
1 repo: Lulztigre/cve-2026-41042
Evidence
Lulztigre/cve-2026-41042/README.md:57

POST /api/metalakes/{var}/catalogs/testConnection

Key headers
Accept: application/vnd.gravitino.v1+json
Content-Type
application/json
Ports
8090, 9000
Seen in
1 repo: Lulztigre/cve-2026-41042
Evidence
Lulztigre/cve-2026-41042/poc.py:104

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/metalakes
(?i)^/api/metalakes(?:[?#].*)?$
POST /api/metalakes/{var}/catalogs/testConnection
(?i)^/api/metalakes/[^/?#]*/catalogs/testConnection(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/metalakes
alert http any any -> $HOME_NET [8090] (msg:"GG PoC-Monitor CVE-2026-41042 Apache Software Foundation Apache Gravitino exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/metalakes"; http.request_body; content:"|22|name|22|:|22|test_ml|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-41042; classtype:web-application-attack; sid:9461423; rev:1;)
POST /api/metalakes/{var}/catalogs/testConnection
alert http any any -> $HOME_NET [8090,9000] (msg:"GG PoC-Monitor CVE-2026-41042 Apache Software Foundation Apache Gravitino exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/catalogs/testConnection"; http.uri; content:"/api/metalakes/"; http.header; content:"Accept: application/vnd.gravitino.v1+json"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-41042; classtype:web-application-attack; sid:9558483; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/metalakes
title: Apache Software Foundation Apache Gravitino exploit attempt (CVE-2026-41042)
id: gg-pocmon-cve-2026-41042-9461423
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41042. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-41042
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/metalakes'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.41042
POST /api/metalakes/{var}/catalogs/testConnection
title: Apache Software Foundation Apache Gravitino exploit attempt (CVE-2026-41042)
id: gg-pocmon-cve-2026-41042-9558483
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41042. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-41042
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/catalogs/testConnection'
      - '/api/metalakes/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.41042