# CVE-2023-50298: Apache Solr: Solr can expose ZooKeeper credentials via Streaming Expressions

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2024-02-09T17:29:07.889Z
- Modified: 2026-09-10T03:50:00.387Z
- Also known as: GHSA-xrj7-x7gp-wwqr, BIT-SOLR-2023-50298
- Weaknesses: CWE-200, CWE-922
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1.

Solr Streaming Expressions allows users to extract data from other Solr Clouds, using a "zkHost" parameter.
When original SolrCloud is setup to use ZooKeeper credentials and ACLs, they will be sent to whatever "zkHost" the user provides.
An attacker could setup a server to mock ZooKeeper, that accepts ZooKeeper requests with credentials and ACLs and extracts the sensitive information,
then send a streaming expression using the mock server's address in "zkHost".
Streaming Expressions are exposed via the "/streaming" handler, with "read" permissions.

Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue.
From these versions on, only zkHost values that have the same server address (regardless of chroot), will use the given ZooKeeper credentials and ACLs when connecting.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Solr: from 6.0.0 up to 8.11.2; from 9.0.0 before 9.4.1
- apache solr: from 6.0.0 up to 8.11.2; from 9.0.0 before 9.4.1; from 6.0.0 before 8.11.3
- org.apache.solr:solr-solrj-streaming (Maven): from 9.0.0 before 9.4.1; from 6.0.0 before 8.11.3
- org.apache.solr:solr-solrj (Maven): from 9.0.0 before 9.4.1; from 6.0.0 before 8.11.3
- solr (Bitnami): from 6.0.0 before 8.11.3; from 9.0.0 before 9.4.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions> (advisory, third-party-advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/02/09/3> (discussion, mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2024/02/09/2> (discussion, mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50298> (advisory, web)
- <https://github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269> (web)
- <https://github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98> (web)
- <https://github.com/apache/solr> (package)
- <https://issues.apache.org/jira/browse/SOLR-17098> (web)

## Sources

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

---

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