Skip to main content
Vulnerability Database/CVE-2026-105937

CVE-2026-105937: Apache Pulsar Auth Bypass Vulnerability

CVE-2026-105937 is an authentication bypass flaw in Apache Pulsar shadow topics that allows unauthorized cross-tenant data access and potential data loss. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105937 Overview

Apache Pulsar contains a missing authorization vulnerability [CWE-862] in the shadow topics feature introduced by PIP-180. The broker fails to authorize the caller against the source topic named in the reserved PULSAR.SHADOW_SOURCE property when creating or updating topics through the admin REST API. An authenticated user with tenant admin role in their own tenant can bind a shadow topic to any persistent topic in any other tenant. The attacker can then consume retained messages from the cross-tenant source topic using only permissions on their own topic. The flaw also allows shadow topic retention policies to permanently delete source topic ledger data from BookKeeper and tiered storage.

Critical Impact

Cross-tenant data exposure and potential destructive data loss affecting source topic ledgers, including unacknowledged messages.

Affected Products

  • Apache Pulsar 3.0.0 through versions before 4.0.14
  • Apache Pulsar 4.1.0 through versions before 4.2.5
  • Apache Pulsar deployments using the default authorization provider

Discovery Timeline

  • 2026-10-21 - CVE CVE-2026-105937 published to NVD
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-105937

Vulnerability Analysis

Apache Pulsar shadow topics read stored messages of a source topic directly from that topic's managed ledger. The source topic is designated through the reserved topic property PULSAR.SHADOW_SOURCE. The admin REST API accepts this property during non-partitioned topic creation, partitioned topic creation, and topic property updates.

The broker performs authorization checks only against the topic being created or modified. It never validates whether the caller has any permission on the source topic referenced in PULSAR.SHADOW_SOURCE. The existing SHADOW_TOPIC topic policy applies only to the source-side shadow topics admin API, leaving these REST paths unprotected.

Beyond message disclosure, the shadow topic's managed ledger applies its own retention, trimming, offloading, and deletion operations to the source topic's underlying ledgers. These destructive operations proceed regardless of the source topic's subscriptions or retention policy. A producer on the shadow topic can also register a new schema version under the source topic's schema, subject to schema compatibility rules.

Root Cause

The root cause is missing authorization [CWE-862] on the source topic reference. Pulsar authorizes the target topic operation but omits any permission check against the cross-tenant resource bound through the PULSAR.SHADOW_SOURCE property. Shared ledger access combined with absent tenant isolation produces the cross-tenant exposure.

Attack Vector

An authenticated attacker with tenant admin role in any tenant invokes the admin REST API to create or update a topic in their own namespace. The attacker supplies the PULSAR.SHADOW_SOURCE property pointing to a persistent topic in a victim tenant. The broker accepts the binding and the attacker consumes retained messages through their own shadow topic. Messages protected with client-side end-to-end encryption remain unreadable without the keys.

See the Apache Pulsar Security Advisory CVE-2026-105937 for additional technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-105937

Indicators of Compromise

  • Topic creation or update requests to the admin REST API containing the PULSAR.SHADOW_SOURCE property where the source topic belongs to a different tenant than the caller
  • Unexpected shadow topics in tenants not operationally configured to use the shadow topics feature
  • Unexplained deletion or trimming of ledgers in BookKeeper or tiered storage affecting source topics with active subscriptions

Detection Strategies

  • Audit broker admin API logs for all requests setting the PULSAR.SHADOW_SOURCE topic property and correlate the caller tenant against the referenced source tenant
  • Inventory all existing topics and extract the PULSAR.SHADOW_SOURCE property to identify cross-tenant bindings created before patching
  • Monitor managed ledger deletion events in BookKeeper for ledgers belonging to source topics whose shadow topics triggered the trimming

Monitoring Recommendations

  • Enable detailed authorization and admin API audit logging on all Pulsar brokers
  • Alert on any admin REST API operation that references a topic path outside the caller's tenant namespace
  • Track schema version registrations originating from shadow topic producers against source topic schemas

How to Mitigate CVE-2026-105937

Immediate Actions Required

  • Upgrade Apache Pulsar 4.0.x deployments to version 4.0.14 or later
  • Upgrade Apache Pulsar 4.1.x and 4.2.x deployments to version 4.2.5 or later
  • After upgrading, set enableShadowTopics=true in broker configuration only on deployments that intentionally use shadow topics
  • Review the tenant admin role assignments and restrict to trusted principals only

Patch Information

Fixed versions disable shadow topics by default through the new broker configuration setting enableShadowTopics which defaults to false. When disabled, the broker rejects shadow topic creation, rejects setting the PULSAR.SHADOW_SOURCE property, and refuses to load or replicate to existing shadow topics. When shadow topics are enabled, binding a shadow topic to a source topic in a different tenant requires the superuser role. The fixed versions also prevent shadow topics from deleting or trimming the ledgers and offloaded data of their source topics. Refer to the Apache Pulsar Security Advisory CVE-2026-105937 for full remediation guidance.

Workarounds

  • Affected versions provide no configuration option to disable shadow topics
  • Grant the tenant admin role only to trusted principals to reduce the exposed surface until patching is complete
  • Audit existing topic properties for unauthorized PULSAR.SHADOW_SOURCE bindings and remove any cross-tenant references created without authorization
bash
# Configuration example for broker.conf after upgrade
# Disable shadow topics globally (default in fixed versions)
enableShadowTopics=false

# Enable only if shadow topics are operationally required
# enableShadowTopics=true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.