{
  "id": "solr-read-permission-write",
  "url": "https://ohshit.app/incidents/solr-read-permission-write/",
  "title": "Solr read-only roles can reach indexing and destructive replication operations",
  "level": 3,
  "level_name": "sharted",
  "date": "2026-12-04",
  "date_is_approximate": false,
  "updated": null,
  "tags": [
    "Apache Solr",
    "Authorization",
    "Search"
  ],
  "ecosystems": [],
  "summary": "Solr's rule-based authorization assigned read permission to two write-capable handlers. Affected deployments need read-only roles and the predefined read permission; extraction also needs its module and handler enabled. Apache recommends 9.11.0 or 10.1.0. No active exploitation is established by the cited advisories.",
  "splash": "Solr 6.0.0–9.10.1 or 10.0.0 using RuleBasedAuthorizationPlugin with read-only roles; extraction requires its enabled handler.",
  "wipe": "Upgrade to Solr 9.11.0 or 10.1.0; meanwhile limit the predefined read permission to fully trusted users and verify authorization.",
  "in_the_wild": "unknown",
  "source_exception": null,
  "cves": [
    {
      "id": "CVE-2026-48963",
      "name": "Read permission authorizes write operations",
      "description": "Incorrect permission assignment lets read-only roles use replication state changes or index through an enabled extraction handler."
    }
  ],
  "fixed": [
    {
      "product": "Apache Solr 9.x",
      "branch": "9",
      "version": "9.11.0"
    },
    {
      "product": "Apache Solr 10.x",
      "branch": "10",
      "version": "10.1.0"
    }
  ],
  "checklist": [
    {
      "title": "Check the authorization configuration and exposed handlers",
      "hint": "As an administrator with security-edit permission, open Admin UI > Security and inspect Security Settings, Roles and Permissions. Review whether your deployment uses RuleBasedAuthorizationPlugin, its permission list relies on the predefined read permission, and a role has read without update or collection-admin-edit. All three are required by Apache's advisory. Check access to /solr/{core}/replication separately from the Collections API; the extraction route additionally needs the extraction module and /update/extract configured on a core. A blocked /update request alone does not prove the extraction route is protected."
    },
    {
      "title": "Upgrade the affected deployment",
      "hint": "Compare the deployed version with Apache's affected ranges, 6.0.0 through 9.10.1 and 10.0.0, then plan an upgrade to 9.11.0 or 10.1.0 as appropriate for your deployment. These versions come from the current vendor security page; do not treat the older issue-resolution date or a newer CVE publication date as the patch version."
    },
    {
      "title": "Limit read permission while preparing the upgrade",
      "hint": "Apache's interim option is to rework the permission list so the predefined read permission is given only to fully trusted users. This may be impractical where readers are intentionally less trusted. In Security > Permissions, keep an explicit trusted role assignment; leaving the role selection empty assigns the permission to anonymous users when anonymous access is allowed. Verify effective access for each affected role and handler after changing the configuration; removing higher permissions alone leaves the faulty read mapping in place."
    },
    {
      "title": "Validate write restrictions without damaging production data",
      "hint": "On an isolated test core, verify a read-only role cannot perform replication state changes or index via /update/extract after remediation, while intended writer access still works. The issue records describe index overwrite, snapshot deletion, replication disruption and document injection; avoid exercising destructive commands against live indexes or backups. These are capability checks, not published attack indicators or proof of compromise."
    }
  ],
  "sources": [
    {
      "name": "Apache Solr security advisory and fixed releases",
      "url": "https://solr.apache.org/security-news.html",
      "says": "December 5 entry lists affected versions, the three required authorization conditions, fixes 9.11.0/10.1.0 and trusted-user interim mitigation.",
      "primary": true
    },
    {
      "name": "Apache original oss-security message",
      "url": "https://www.openwall.com/lists/oss-security/2026/12/04/12",
      "says": "Public message dated December 4 at 23:08:58 +0000; same CVE and issue batch, affected versions and mitigation.",
      "primary": true
    },
    {
      "name": "Apache SOLR-18225 replication authorization issue",
      "url": "https://issues.apache.org/jira/browse/SOLR-18225",
      "says": "Per-core replication mapped state-changing commands to read, unlike the Collections API; describes index overwrite, snapshot deletion and replication disruption. Issue creation and resolution dates are not used as disclosure dates.",
      "primary": true
    },
    {
      "name": "Apache SOLR-18228 extraction authorization issue",
      "url": "https://issues.apache.org/jira/browse/SOLR-18228",
      "says": "Extraction handler accepts read-only users for indexing; requires authentication/authorization, an enabled extraction module and configured handler. A schemaless configuration can amplify the effect through schema mutation.",
      "primary": true
    },
    {
      "name": "Apache CNA record",
      "url": "https://cveawg.mitre.org/api/cve/CVE-2026-48963",
      "says": "December 5 publication confirms affected ranges and important severity without a numeric CVSS score; references the vendor message.",
      "primary": true
    },
    {
      "name": "Apache Solr Security UI reference",
      "url": "https://solr.apache.org/guide/solr/latest/deployment-guide/security-ui.html",
      "says": "Shows the administrator Security Settings, Roles and Permissions panels; empty role selection assigns a permission to anonymous users unless anonymous access is blocked.",
      "primary": true
    }
  ],
  "headline": null,
  "one_liner": null,
  "in_the_wild_note": "Apache describes reproducible authorization failures, not confirmed active attacks.",
  "mitigation": null,
  "timeline": [
    {
      "date": "Dec 4, 2026, 23:08 UTC",
      "title": "Apache publishes the oss-security advisory",
      "body": "The mailing-list message identifies the affected versions, three authorization prerequisites and the two issue records. Its timestamp explicitly includes the UTC offset."
    },
    {
      "date": "Dec 5, 2026",
      "title": "Apache website names fixed releases",
      "body": "The security page recommends 9.11.0 and 10.1.0; the Apache CNA record is also published this day. This is later than the public December 4 mailing-list notice."
    }
  ],
  "body_markdown": "CVE-2026-48963 covers two incorrect authorization mappings in Apache Solr. A reader can reach state-changing replication commands or, when the extraction handler is enabled, inject indexed documents. The replication issue describes restoring over live index data, deleting snapshots and stopping replication. This is a mainstream search-platform authorization failure supporting L3; the cited sources do not establish active exploitation or a victim count.\n\nThe problem depends on the configured permission model, not just a reachable Solr server. Apache requires RuleBasedAuthorizationPlugin, use of its predefined read permission and roles holding read without higher write/admin permissions. The extraction case additionally requires its module and per-core handler. It can also alter schemas in schemaless configurations; it is not a claim of unauthenticated remote code execution.\n\nThe public mailing-list notice dates to December 4, while the website and CNA publication date to December 5. The issue records' earlier creation and resolution dates are development metadata, not evidence that those records were publicly disclosed on those days. Upgrade guidance and interim permission restrictions apply to this single CVE batch; the two issue records are not separate incidents."
}