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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-02-09 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2023-50298, DEBIAN-CVE-2023-50298, CGA-389m-j532-7hw8, CGA-7v3x-c86p-mxhh, CGA-ch39-vqj3-55cg, CGA-h28x-h62r-83pm, CGA-jv2h-3p9w-r55w, CGA-pg92-4qr9-wcj5, CGA-vhqw-j6hw-3x7p, CGA-wvhx-xw22-36g8, GHSA-xrj7-x7gp-wwqr, BIT-solr-2023-50298
- Record: https://cvemate.com/vulnerability/CVE-2023-50298 · JSON: https://cvemate.com/vulnerability/CVE-2023-50298/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.551%, percentile 75.963%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache solr: ≥ 6.0.0, ≤ 8.11.2 \| ≥ 9.0.0, \< 9.4.1
- apache solr: ≥ 6.0.0, \< 8.11.3 \| ≥ 9.0.0, \< 9.4.1
- chainguard druid (Chainguard): \< 32.0.1-r1
- chainguard druid-compat (Chainguard): \< 32.0.1-r1
- chainguard solr (Chainguard): \< 9.5.0-r0
- chainguard solr-oci-compat (Chainguard): \< 9.5.0-r0
- wolfi druid (Wolfi): \< 32.0.1-r1
- wolfi druid-compat (Wolfi): \< 32.0.1-r1
- wolfi solr (Wolfi): \< 9.5.0-r0
- wolfi solr-oci-compat (Wolfi): \< 9.5.0-r0
- debian lucene-solr (Debian): \< 3.6.2+dfsg-23
- ubuntu lucene-solr (Ubuntu): \< 3.6.2+dfsg-24
- org.apache.solr solr-solrj (Maven): ≥ 9.0.0, \< 9.4.1 \| ≥ 6.0.0, \< 8.11.3
- org.apache.solr solr-solrj-streaming (Maven): ≥ 9.0.0, \< 9.4.1 \| ≥ 6.0.0, \< 8.11.3

## References

- <https://solr.apache.org/security.html#cve-2023-50298-apache-solr-can-expose-zookeeper-credentials-via-streaming-expressions>
- <http://www.openwall.com/lists/oss-security/2024/02/09/3>
- <http://www.openwall.com/lists/oss-security/2024/02/09/2>
- <https://ubuntu.com/security/CVE-2023-50298>
- <https://www.openwall.com/lists/oss-security/2024/02/09/2>
- <https://www.cve.org/CVERecord?id=CVE-2023-50298>
- <https://security-tracker.debian.org/tracker/CVE-2023-50298>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50298.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50298>
- <https://github.com/apache/lucene-solr/commit/61c956c426b2cfb85ccef55d1afca4335eacd269>
- <https://github.com/apache/solr/commit/e2bf1f434aad873fbb24c21d46ac00e888806d98>
- <https://github.com/apache/solr>
- <https://issues.apache.org/jira/browse/SOLR-17098>

---

Data as of 2026-12-05T04:59:35.046Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
