Automated Threat Modeling

Technical Overview of CVE-2026-86312: Apache Solr Ping Handler Authorization Bypass via Request-Controlled Delegation

A brief summary of CVE-2026-86312, an authorization bypass in the Apache Solr /admin/ping handler that let callers holding only the health permission steer the handler into higher-privilege work. Covers root cause, the fix in PR #4890, affected versions, and detection leads drawn from the patch.

CVE Analysis

9 min read

Gaurav Sarraf
Gaurav Sarraf

2026-11-23

Technical Overview of CVE-2026-86312: Apache Solr Ping Handler Authorization Bypass via Request-Controlled Delegation

Introduction

In Apache Solr deployments that rely on rule-based authorization, /admin/ping is usually treated as the least sensitive path on the server, a low-privilege probe for load balancers and orchestration tools. CVE-2026-86312 showed that, before Solr 9.11.0 and 10.1.0, a request to that endpoint could make Solr do considerably more than a health check. In deployments built from the sample security.json installed by the bin/solr CLI, no credentials were needed to reach it.

Apache rates the issue CVSS 3.1 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. The advisory frames it as an authorization bypass and privilege escalation. The sources we reviewed do not establish code execution, public exploit code, or exploitation in the wild, so we treat this as a privilege boundary failure rather than an RCE.

Technical information

What the ping handler is supposed to do

/admin/ping is implemented by PingRequestHandler. Apache's reference guide describes its purpose as checking whether a core is up and responding. The handler does not compute health on its own; it delegates to another request handler (by default /select) and runs a configured ping query. For authorization purposes, the path is covered only by the low-privilege health permission, and in the sample security.json shipped with the bin/solr CLI that permission is unauthenticated.

Root cause

Before the fix, PingRequestHandler.handlePing() let the caller choose the delegate handler. It read qt straight from the request parameters:

SolrParams params = req.getParams(); ... // Get the RequestHandler String qt = params.get(CommonParams.QT); // optional; you get the default otherwise SolrRequestHandler handler = core.getRequestHandler(qt);

Solr then executed the selected handler with the original request via core.execute(handler, req, pingrsp), so every parameter the caller supplied passed through to the delegate.

A second code path applied when isShard=true. In that case the handler sent the caller's parameters to the core's default handler and returned that handler's full response instead of a simple status.

The result is a mismatch between where the authorization decision is made and where the work happens:

  • Rule-based authorization evaluated a request to /admin/ping against the health permission.
  • The work was actually performed by whichever handler the request named, using the parameters the request supplied.

The PR description summarizes it as request parameters being able to make the ping handler "do more than a health check." The CVE data lists CWE-441 and CWE-749. The Apache advisory itself does not state a CWE mapping, and the CVE.org record we retrieved did not show one.

Attack flow

Based on the advisory and the pre-fix code, the abuse path looks like this:

  1. The attacker finds a Solr node in an affected version range where /admin/ping is reachable with only the health permission. If the node uses the bin/solr sample security.json, no credentials are required.
  2. The attacker sends a request to /admin/ping carrying a qt parameter that names a different handler, along with parameters intended for that handler.
  3. The authorization plugin sees a request to the ping path, checks it against health, and allows it.
  4. PingRequestHandler resolves the handler named by qt and executes it with the caller's original request and parameters.
  5. Alternatively, the attacker sets isShard=true, causing the handler to run the core's default handler with caller parameters and return that handler's output rather than a status. The caller gets data the ping endpoint should never expose.

The CVSS vector assigns high confidentiality, integrity, and availability impact, but the practical impact in a given deployment depends on which handlers are present and what they can do. The score does not by itself demonstrate that every affected deployment will experience each impact.

Patch information

The fix is apache/solr PR #4890, "Fix PingRequestHandler authorization bypass (CVE-2026-86312)", shipped in Solr 9.11.0 and 10.1.0. Jan Høydahl merged it on 9 September 2026 as merge commit f567b7b1a9415c8bfcf3f64ddb51aa78eb007a8f. It landed directly on branch_10x and was backported to branch_9x. It skipped main because PR #4874 removes the ping handler entirely in 11.0.

The PR contains two commits, both tagged SOLR-18419: 8f3aa371 ("Simplify PingRequestHandler shard handling") and e764e883 ("Use try with resources for ping sub requests", paraphrased). It touches 4 files, adding 150 lines and removing 53. The changelog entry is filed only as "Simplify PingRequestHandler shard handling", with no hint of a security fix, which is common for fixes made before disclosure. If you scan changelogs for security keywords, this one would not have stood out.

The fix rests on one design principle. The ping handler now takes its delegate handler and that handler's parameters only from its own configuration, never from the request.

1. Delegate chosen from configuration only

A new helper, resolveConfiguredParams(), builds a subrequest with an empty parameter set and applies only the handler's configured defaults, appends, invariants, and any useParams paramset such as the implicit _ADMIN_PING. The handler reads qt from that result, so a request-supplied qt has no effect:

SolrParams configParams = resolveConfiguredParams(req); String qt = configParams.get(CommonParams.QT); SolrRequestHandler handler = core.getRequestHandler(qt);
private SolrParams resolveConfiguredParams(SolrQueryRequest req) { try (SolrQueryRequest configOnly = req.subRequest(new ModifiableSolrParams())) { PluginInfo info = getPluginInfo(); if (info != null && info.attributes.containsKey(USEPARAM)) { configOnly.getContext().put(USEPARAM, info.attributes.get(USEPARAM)); } SolrPluginUtils.setDefaults(configOnly, defaults, appends, invariants); return configOnly.getParams(); } }

2. Delegate runs in a separate subrequest

The original request is no longer passed through. The delegate runs in a new subrequest built from configured parameters. The only caller-supplied value carried over is distrib, read as a boolean. For distributed pings, shards.qt is pinned to the configured delegate (default /select), so shard requests go straight to the delegate and cannot loop back into the ping handler:

ModifiableSolrParams overrides = new ModifiableSolrParams(); boolean distrib = req.getParams().getBool(DISTRIB, false); overrides.set(DISTRIB, distrib); if (distrib) { // target the delegate on each shard, not this ping handler overrides.set(ShardParams.SHARDS_QT, qt == null ? "/select" : qt); } ... try (SolrQueryRequest pingReq = req.subRequest(SolrParams.wrapDefaults(overrides, configParams))) { SolrQueryResponse pingrsp = new SolrQueryResponse(); core.execute(handler, pingReq, pingrsp);

3. The isShard special case is removed

The branch that swapped in the default handler and returned its output is deleted. If the configured delegate is itself a ping handler, the request is always rejected with Cannot execute the PingRequestHandler recursively. The response is now only status: OK (plus the zkConnected header) or an error. Delegate results are never returned to the caller. The second commit wraps both subrequests in try-with-resources so they are always closed.

How the tests verify the fix

  • testDelegateHandlerFromConfig sends qt=/nosuchhandler and still gets OK, showing request qt is ignored. A request with isShard=true returns no response section. When qt is a configured invariant, that value is used.
  • testPingUsesConfiguredQuery sends stray parameters, a bad qt, and rows=notanumber. The configured ping query still succeeds, so those parameters never reached the delegate.
  • A cluster test sends a distributed ping with qt=/admin/ping and confirms shard requests cannot be routed back into the ping handler.
  • The new PingRequestHandlerParamSetTest confirms administrators can still choose the delegate through the _ADMIN_PING paramset in params.json. Configuration still works. Requests just can no longer change it.

For operators, the net effect is that whoever holds health can run the ping query the administrator configured, and nothing else.

Detection methods

We found no published detection content for this CVE: no Nuclei templates, Sigma or YARA rules, Snort or Suricata signatures, or IoC lists. Detection therefore rests on an exposure check and on hunting for the request shapes that the fix removed. The hunting leads below are derived from the patch and are not official signatures.

1. Exposure check

You are affected only if both of these are true:

  • You run Solr 9.0.0 through 9.10.x, or 10.0.0.
  • /admin/ping can be reached by a client holding only the health permission.

Practical steps:

  • Version inventory: find every node in the affected range, including standalone cores and SolrCloud members.
  • security.json review: determine which role, if any, health maps to and whether a stricter rule covers /admin/ping. If you deployed from the bin/solr auth sample config and never changed the ping path, assume exposure.
  • Unauthenticated reachability test: request /admin/ping from an untrusted network position without credentials. Anything other than an auth challenge or denial means the endpoint is open to anyone. One public brief recommends sweeping internet-facing Solr for this default configuration fingerprint.

2. Hunting in logs

Review HTTP access logs, Solr request logs, and reverse proxy logs for:

  • /admin/ping requests with a qt parameter. A normal health probe has no reason to pick a delegate. The regression tests use values such as /select, /nosuchhandler, and /admin/ping itself.
  • /admin/ping requests with isShard=true from clients that are not Solr nodes. On vulnerable versions this flag caused ping to return delegate output.
  • /admin/ping requests with ordinary query or handler parameters such as fl, rows, or distrib.
  • Recursive distributed pings, for example a distributed ping setting qt=/admin/ping.
  • Unexpected callers. Legitimate ping traffic comes from a small, predictable set of load balancers, Kubernetes probes, and monitoring agents. Ping requests from anything else are suspicious, and parameterised ones from anything else deserve priority.

3. Response-side signal

A genuine ping response is tiny, just a header and status: OK. If you capture responses (WAF, proxy body logging, or packet capture inside the TLS boundary), a ping response that is much larger than usual or contains document results or other handler output strongly suggests the endpoint was used for something other than a health check.

4. Logging prerequisites and blind spots

Solr 9.0.0 enabled the Jetty request log by default, so most affected 9.x nodes should already record request lines. Two caveats:

  • Solr accepts parameters in POST bodies, which request logs usually do not record. A plain /admin/ping line with no query string does not prove the request was harmless.
  • If TLS terminates at the Solr node, network sensors see nothing without decryption.

For better coverage, have your proxy or WAF log full query strings for /admin/ping, and alert on any ping carrying parameters beyond what your own health checkers send.

5. Prioritisation context

Public reporting states no exploit is available and there is no sign of in-the-wild use. Neither the Apache advisory nor the fix documentation names any threat actor, and we could not confirm KEV status from the CISA catalog page retrieved. With no shared IoCs, the exposure check and a baseline of normal ping traffic are your most useful tools.

Affected systems and versions

  • Apache Solr 9.0.0 up to, but not including, 9.11.0 (that is, 9.0.0 through 9.10.x)
  • Apache Solr 10.0.0 up to, but not including, 10.1.0
  • Fixed versions: 9.11.0 and 10.1.0
  • Not applicable to main / 11.0: PR #4874 removes the ping handler entirely.

Vulnerable configuration: an affected version where /admin/ping is reachable with only the health permission under rule-based authorization. Apache explicitly calls out the sample security.json installed by the bin/solr CLI, because it leaves that endpoint unauthenticated.

Interim mitigation if you cannot upgrade: restrict /admin/ping in your authorization configuration, for example by requiring a trusted role for that path, and keep Solr unreachable from untrusted clients and networks. Apache's reference guide also notes that /admin/ping is deprecated and points load balancer and orchestration probes to solr/admin/info/health (v1) or api/node/health (v2). Moving probes there is reasonable, but it does not replace the upgrade or the access restriction.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization