# CVE-2023-34468: Apache NiFi: Potential Code Injection with Database Services using H2

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 61.9%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-06-12T15:09:20.711Z
- Modified: 2026-09-08T08:48:16.922Z
- Also known as: GHSA-xm2m-2q6h-22jw, BIT-NIFI-2023-34468
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache NiFi: from 0.0.2 up to 1.21.0
- apache nifi: from 0.0.2 up to 1.21.0; from 0.0.2 before 1.22.0
- org.apache.nifi:nifi-dbcp-base (Maven): from 0.0.2 before 1.22.0
- org.apache.nifi:nifi-hikari-dbcp-service (Maven): from 0.0.2 before 1.22.0
- org.apache.nifi:nifi-dbcp-service-nar (Maven): from 0.0.2 before 1.22.0
- nifi (Bitnami): from 0.0.2 before 1.22.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <http://packetstormsecurity.com/files/174398/Apache-NiFi-H2-Connection-String-Remote-Code-Execution.html> (exploit, advisory, third-party-advisory, vdb-entry, web)
- <https://nifi.apache.org/security.html#CVE-2023-34468> (advisory, release-notes, vendor-advisory, web)
- <https://lists.apache.org/thread/7b82l4f5blmpkfcynf3y6z4x1vqo59h8> (advisory, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/06/12/3> (advisory, mailing-list, third-party-advisory, web)
- <https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34468> (advisory, web)
- <https://github.com/apache/nifi/pull/7349> (web)
- <https://github.com/apache/nifi/commit/4faf3ea59895e7e153db3f8f61147ff70a254361> (web)
- <https://exceptionfactory.com/posts/2023/10/07/firsthand-analysis-of-apache-nifi-vulnerability-cve-2023-34468> (web)
- <https://github.com/apache/nifi> (package)
- <https://issues.apache.org/jira/browse/NIFI-11653> (web)
- <https://www.cyfirma.com/outofband/apache-nifi-cve-2023-34468-rce-vulnerability-analysis-and-exploitation> (web)

## Sources

- CVE List: [CVE-2023-34468](https://www.cve.org/CVERecord?id=CVE-2023-34468), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-xm2m-2q6h-22jw](https://github.com/advisories/GHSA-xm2m-2q6h-22jw), CC-BY-4.0, modified 2025-09-15
- NVD: [CVE-2023-34468](https://nvd.nist.gov/vuln/detail/CVE-2023-34468), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NIFI-2023-34468](https://osv.dev/vulnerability/BIT-NIFI-2023-34468), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-34468 · Whole record: https://cve.day/CVE-2023-34468.json · Rebuilt by cve.day 2026-11-25T22:58:24.743Z
