← Vulnerability feed

Vulnerability record · CVE-2023-50290 · published 15 January 2024

CVE-2023-50290: Apache Solr Metrics API exposes host environment variables

Apache · Solr

Apache Solr's Metrics API publishes all unprotected environment variables for each Solr instance, and the default hide list is built for Java system properties rather than environment variables. Because environment variables are host-wide and cannot be strictly scoped in Solr, secrets set at the host level can leak. This affects Solr 9.0.0 before 9.3.0.

6.5 CVSS 3.1 Medium EPSS 68% · top 0.7% CWE-200 · Information exposure
6.5CVSS 3.1 base score
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

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.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityThe flaw leaks host secrets to any user with metrics-read, and EPSS is very high despite no KEV listing.

What it is

Apache Solr's Metrics API publishes all unprotected environment variables for each Solr instance, and the default hide list is built for Java system properties rather than environment variables. Because environment variables are host-wide and cannot be strictly scoped in Solr, secrets set at the host level can leak. This affects Solr 9.0.0 before 9.3.0.

Impact

An attacker with the metrics-read permission can read environment variables from the Solr host, potentially obtaining credentials, tokens or other secrets that enable further access.

Attack surface

Reached over the network through the Solr Metrics API, which requires the metrics-read permission; no user interaction is needed. Solr Clouds with authorization configured are only exposed to users holding that permission.

Exploitation

Not listed in CISA KEV and no public exploit references are provided, but EPSS is high at roughly 0.68 probability (99th percentile), indicating elevated likelihood of exploitation activity.

What to do

  • Upgrade Apache Solr to 9.3.0 or later, where environment variables are no longer published via the Metrics API.
  • Restrict the metrics-read permission to the smallest possible set of trusted users and service accounts.
  • Avoid placing secrets in host-level environment variables for Solr hosts; use per-process Java system properties or a secrets manager instead.
  • Review and tighten the environment variable hide list if staying on an affected version.
  • Audit who holds metrics-read and rotate any secrets that may have been exposed.

Detection

  • Monitor Metrics API requests, especially to endpoints returning environment data, and alert on access by unexpected users or sources.
  • Review Solr audit logs for metrics-read usage outside normal monitoring accounts.
  • Scan Solr hosts for secrets stored in environment variables that would be exposed by this flaw.
  • Watch for outbound connections or authentication attempts using credentials that could have leaked from Solr hosts.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-50290 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed7.5CVE-2019-17558Apache Solr VelocityResponseWriter template injection enables remote code executionApache Solr 5.0.0 through 8.3.1 renders Velocity templates through VelocityResponseWriter, and attacker-supplied templates can execute code. Paramete…KEVEPSS 99%analysed7.2CVE-2019-0193Apache Solr DataImportHandler dataConfig parameter code injectionApache Solr's DataImportHandler accepts a full DIH configuration through the request's dataConfig parameter, and because a DIH config can contain scr…KEVEPSS 84%analysed9.8CVE-2026-44825Apache solr hard-coded credentials vulnerabilityHardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.4.0 through 9.10.1 and 10.0.0 allows a …EPSS 2.8%9.8CVE-2024-45216Apache Solr PKIAuthenticationPlugin authentication bypass via fake URL path endingApache Solr instances using the PKIAuthenticationPlugin, enabled by default when Solr Authentication is used, can be bypassed by appending a fake pat…EPSS 93%analysed9.8CVE-2021-44548Apache solr improper input validation vulnerabilityAn Improper Input Validation vulnerability in DataImportHandler of Apache Solr allows an attacker to provide a Windows UNC path resulting in an SMB n…EPSS 5.1%9.8CVE-2021-27905Apache Solr ReplicationHandler masterUrl SSRF flawApache Solr's ReplicationHandler, normally exposed at /replication under a Solr core, accepts a masterUrl (leaderUrl) parameter without validating it…EPSS 93%analysed9.8CVE-2020-13957Apache Solr ConfigSet upload authorization bypass enabling RCEApache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 block dangerous ConfigSet features that could lead to remote code execution wh…EPSS 79%analysed

Source: NIST National Vulnerability Database (record CVE-2023-50290), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.