← Vulnerability feed

Vulnerability record · CVE-2023-34468 · published 12 June 2023

CVE-2023-34468: Apache NiFi DBCP/HikariCP connection pool H2 JDBC code injection

Apache · Nifi

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL using the H2 driver that enables custom code execution. The fix validates the Database URL and rejects H2 JDBC locations, with upgrade to 1.22.0 or later recommended.

8.8 CVSS 3.1 High EPSS 62% · top 0.9% CWE-94 · Code injection
8.8CVSS 3.1 base score
62%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL with the H2 driver that enables custom code execution. The resolution validates the Database URL and rejects H2 JDBC locations. You are recommended to upgrade to version 1.22.0 or later which fixes this issue.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityCVSS 8.8 with high EPSS and public exploitation detail, but exploitation requires an authenticated and authorized NiFi user, lowering it below critical.

What it is

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authenticated and authorized user to configure a Database URL using the H2 driver that enables custom code execution. The fix validates the Database URL and rejects H2 JDBC locations, with upgrade to 1.22.0 or later recommended.

Impact

An attacker with valid NiFi credentials and the authorization to configure these Controller Services can execute arbitrary code in the NiFi process. This yields high confidentiality, integrity and availability impact on the affected instance.

Attack surface

Reached over the network through the NiFi UI/API by configuring a Database URL in the DBCPConnectionPool or HikariCPConnectionPool Controller Service. Authentication and authorization are required; no user interaction beyond the configuration action is needed.

Exploitation

Not listed in CISA KEV, but EPSS is high at 0.619 (99.1st percentile) and public third-party analyses and a Packet Storm entry describe the H2 connection string RCE, indicating public technical detail exists.

What to do

  • Upgrade Apache NiFi to 1.22.0 or later, which validates the Database URL and rejects H2 JDBC locations.
  • If immediate upgrade is not possible, restrict who can create or modify DBCPConnectionPool and HikariCPConnectionPool Controller Services to trusted administrators only.
  • Audit existing Controller Services for Database URLs using the H2 driver and remove or replace them.
  • Remove or block the H2 JDBC driver from the NiFi classpath where it is not operationally required.
  • Monitor NiFi configuration changes to connection pool services for unexpected Database URL edits.

Detection

  • Review NiFi audit logs for creation or modification of DBCPConnectionPool and HikariCPConnectionPool Controller Services, especially Database URL changes.
  • Search NiFi flow configuration and flow.json.gz exports for JDBC URLs containing 'jdbc:h2:'.
  • Alert on NiFi process behavior consistent with unexpected child process or command execution from the NiFi service account.
  • Correlate NiFi configuration change events with subsequent outbound network connections or file writes by the NiFi process.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-34468 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2018-1309Apache nifi xml external entity (xxe) vulnerabilityApache NiFi External XML Entity issue in SplitXML processor. Malicious XML content could cause information disclosure or remote code execution. The f…EPSS 4.5%9.8CVE-2017-15697Apache nifi improper input validation vulnerabilityA malicious X-ProxyContextPath or X-Forwarded-Context header containing external resources or embedded code could cause remote code execution. The fi…EPSS 4.8%9.8CVE-2017-5636Apache nifi injection vulnerabilityIn Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization is vulnerable to an injectio…EPSS 3.6%8.8CVE-2026-68981Apache nifi vulnerabilityApache NiFi 1.5.0 through 2.10.0 support gzip-encoded HTTP requests for the application REST API using a Jersey encoding filter. The framework enforc…EPSS 0.74%8.8CVE-2023-36542Apache nifi code injection vulnerabilityApache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retrieving drivers, which allows an …EPSS 1.9%8.8CVE-2022-33140Apache nifi os command injection vulnerabilityThe optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group …EPSS 3.7%8.8CVE-2019-12421Apache nifi insufficient session expiration vulnerabilityWhen using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiFi invalidates the authenticat…EPSS 1.8%8.7CVE-2026-25903Apache nifi missing authorization vulnerabilityApache NiFi 1.1.0 through 2.7.2 are missing authorization when updating configuration properties on extension components that have specific Required …EPSS 0.62%

Source: NIST National Vulnerability Database (record CVE-2023-34468), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.