Skip to content
Heist/ feed
Back to feed
Critical

Apache Solr: Authentication bypass possible using a fake URL Path ending

Type: advisorySources: OSV

Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-45216
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 04:21 UTC · Revision 1

Source evidence

Apache Solr: Authentication bypass possible using a fake URL Path ending

core-osv · Original source

Published 16 Oct 2024, 07:50 UTC

Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.

osv:CVE-2024-45216
Complete source record
{
  "id": "a2913090c48b21538f8e72904e49fd32f3077f7579a97710c3aeef7328aacd07",
  "url": "https://osv.dev/vulnerability/CVE-2024-45216",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Solr: Authentication bypass possible using a fake URL Path ending",
    "summary": "Improper Authentication vulnerability in Apache Solr. Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing. This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0. Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.",
    "evidence": "osv:CVE-2024-45216",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-45216",
      "aliases": [
        "BIT-solr-2024-45216",
        "CVE-2024-45216",
        "GHSA-mjvf-4h88-6xm3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/lucene-solr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cb922f860e8f7522287b55ea4bcd1059219bc1b3"
                },
                {
                  "fixed": "e27f44e3d78dfcec230c97e0a1240e3751daeff9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.3.0"
                      },
                      {
                        "fixed": "8.11.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45216.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/solr",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26"
                },
                {
                  "fixed": "675a41516e3f3bacfc975590773e7abdca444ff4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-45216.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.612167273Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45216.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-45216",
        "https://solr.apache.org/security.html#cve-2024-45216-apache-solr-authentication-bypass-possible-using-a-fake-url-path-ending"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-287"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.3.0"
                  },
                  {
                    "fixed": "8.11.4"
                  },
                  {
                    "introduced": "9.0.0"
                  },
                  {
                    "fixed": "9.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45216.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-45216",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518089,
  "published_at": "2024-10-16T07:50:25.965+00:00"
}