# CVE-2023-50290: Apache Solr: Host environment variables are published via the Metrics API

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-01-15 · Modified: 2025-05-09
- Aliases: UBUNTU-CVE-2023-50290, GHSA-gg7w-pw2r-x2cq, BIT-solr-2023-50290
- Record: https://cvemate.com/vulnerability/CVE-2023-50290 · JSON: https://cvemate.com/vulnerability/CVE-2023-50290/json

## Description

```text
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Solr.
The Solr Metrics API publishes all unprotected environment variables available to each Apache Solr instance. Users are able to specify which environment variables to hide, however, the default list is designed to work for known secret Java system properties. Environment variables cannot be strictly defined in Solr, like Java system properties can be, and may be set for the entire host, unlike Java system properties which are set per-Java-proccess.

The Solr Metrics API is protected by the "metrics-read" permission.
Therefore, Solr Clouds with Authorization setup will only be vulnerable via users with the "metrics-read" permission.
This issue affects Apache Solr: from 9.0.0 before 9.3.0.

Users are recommended to upgrade to version 9.3.0 or later, in which environment variables are not published via the Metrics API.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 68.446%, percentile 99.345%, 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: ≥ 9.0.0, \< 9.3.0
- apache solr: ≥ 9.0.0, \< 9.3.0
- ubuntu lucene-solr (Ubuntu): All versions (No fix recorded)
- org.apache.solr solr-core (Maven): ≥ 9.0.0, \< 9.3.0

## References

- <https://solr.apache.org/security.html#cve-2023-50290-apache-solr-allows-read-access-to-host-environment-variables>
- <https://ubuntu.com/security/CVE-2023-50290>
- <https://www.cve.org/CVERecord?id=CVE-2023-50290>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-50290>
- <https://github.com/apache/solr/commit/35fc4bdc48171d9a64251c54a1e76deb558cf9d8>
- <https://github.com/apache/lucene-solr>
- <https://issues.apache.org/jira/browse/SOLR-16808>

---

Data as of 2026-12-05T04:12:05.643Z. 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
