Skip to content
Vulnerability Intelligence

CVE-2023-34468

HighPublic exploit

Apache NiFi vulnerable to Code Injection

Published Jun 12, 2023 · Updated Oct 8, 2026 · Also known as BIT-nifi-2023-34468, GHSA-xm2m-2q6h-22jw

Key Facts

Patch immediately
  • CVE-2023-34468 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Nifi (Apache), org.apache.nifi:nifi-dbcp-base (maven), org.apache.nifi:nifi-dbcp-service-nar (maven) and 1 more product.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 62% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Nifi 1.22.0, org.apache.nifi:nifi-dbcp-base 1.22.0, org.apache.nifi:nifi-dbcp-service-nar 1.22.0.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

8.8

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

EPSS (30-day exploit likelihood)

62%

Higher than 99.1% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2023-34468 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

6 affected entries in total
ProductAffected versionsFixed in
NifiApache>= 0.0.21.22.0
org.apache.nifi:nifi-dbcp-basemaven>= 0.0.21.22.0
org.apache.nifi:nifi-dbcp-service-narmaven>= 0.0.21.22.0
org.apache.nifi:nifi-hikari-dbcp-servicemaven>= 0.0.21.22.0

Patched Releases

Nifi

1.22.0

org.apache.nifi:nifi-dbcp-base

1.22.0

org.apache.nifi:nifi-dbcp-service-nar

1.22.0

org.apache.nifi:nifi-hikari-dbcp-service

1.22.0

Timeline

  1. Publicly disclosed

    Jun 12, 2023

  2. Last updated

    Oct 8, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

10 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-34468 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo