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

CVE-2026-105933: Apache Pulsar Auth Bypass Vulnerability

CVE-2026-105933 is an authentication bypass flaw in Apache Pulsar that allows unencrypted messages when encryption_required policy fails to load. 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-105933 Overview

Apache Pulsar contains a flaw in how brokers handle the encryption_required namespace policy during topic initialization. When a persistent topic fails to load any part of its namespace or topic-level policies, the broker logs a warning, disables the encryption requirement for that topic, and completes the load as if it had succeeded. Authenticated producers can then publish unencrypted messages to a topic whose namespace policy mandates encryption. The issue affects Apache Pulsar versions from 1.22.0-incubating before 4.0.14, and from 4.1.0 before 4.2.5. It is tracked under [CWE-636] (Not Failing Securely).

Critical Impact

Brokers accept and store unencrypted messages on topics where the namespace policy requires end-to-end encryption, silently violating the configured security posture.

Affected Products

  • Apache Pulsar 1.22.0-incubating through versions before 4.0.14
  • Apache Pulsar 4.1.0 through versions before 4.2.5
  • Deployments relying on the encryption_required namespace policy for end-to-end message encryption enforcement

Discovery Timeline

  • 2026-10-21 - CVE-2026-105933 published to the National Vulnerability Database (NVD)
  • 2026-10-22 - Last updated in NVD database

Technical Details for CVE-2026-105933

Vulnerability Analysis

Apache Pulsar supports a namespace policy called encryption_required. When set, the broker is expected to reject any produce request that does not carry client-side encrypted payloads. The enforcement decision is evaluated per topic, using state loaded during topic initialization.

During topic load, the broker reads namespace policies and topic-level policies from the metadata store. If any initialization step fails, the broker degrades gracefully by disabling the encryption requirement for that topic and marking the load as successful. The topic then serves producers with enforcement disabled, even though the namespace policy still requires encryption.

The failure state persists across topic reloads. If the underlying cause is not resolved, every subsequent unload, bundle reassignment, or broker restart reintroduces the bypass. Operators updating namespace policies restore enforcement only until the next topic load. Topic statistics do not expose the disabled state, limiting operational visibility.

Root Cause

The broker fails open rather than fails closed during topic initialization. Instead of aborting the topic load and allowing a retry, the initialization path catches policy-loading errors, logs a warning, and completes initialization with security controls disabled. Topic-level policies that could not be read are silently skipped.

Attack Vector

An authenticated client with produce permissions on an affected topic can publish unencrypted messages. The broker accepts and stores them. This applies to new producers connecting after the degraded load and to producers already connected when the condition occurred. Exploitation requires that a topic initialization failure has already placed the broker into the degraded state. The vulnerability does not expose previously encrypted message contents or encryption keys.

See the Apache Pulsar security advisory for CVE-2026-105933 for full technical context.

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-105933

Indicators of Compromise

  • Broker log entries containing the phrase isEncryptionRequired will be set to false (wording varies between releases)
  • Warnings during topic initialization referencing failures loading namespace policies or topic-level policies
  • Produce requests succeeding against topics in namespaces configured with encryption_required=true where payloads lack client-side encryption metadata

Detection Strategies

  • Centralize Apache Pulsar broker logs and alert on warning-level messages emitted during topic load that reference policy load failures or encryption requirement changes
  • Correlate topic load warnings with metadata store errors (ZooKeeper, etcd, or MetadataStore backend) to identify systemic initialization failures
  • Audit produced messages on sensitive namespaces to confirm encryption metadata is present on every message

Monitoring Recommendations

  • Track metadata store availability and latency metrics; sustained errors can trigger the vulnerable code path on every topic load
  • Monitor broker restart, topic unload, and namespace bundle reassignment events, which reload topics and can reintroduce the bypass
  • Alert when encryption_required namespaces receive produce traffic from clients that are not configured with producer-side encryption keys

How to Mitigate CVE-2026-105933

Immediate Actions Required

  • Upgrade 4.0.x deployments to Apache Pulsar 4.0.14 or later
  • Upgrade 4.1.x and 4.2.x deployments to Apache Pulsar 4.2.5 or later
  • Review broker logs for prior occurrences of the isEncryptionRequired will be set to false warning and reload affected topics after remediation
  • Validate metadata store health to prevent initialization failures from recurring

Patch Information

Fixed versions change the initialization behavior so that a failure during topic load causes the load itself to fail, allowing a retry rather than serving the topic with encryption enforcement disabled. The supported Apache Pulsar release lines are 4.0.x and 5.0.x per the Apache Pulsar release policy. Full details are available in the vendor advisory and the Apache mailing list thread.

Workarounds

  • Monitor broker logs for warnings containing isEncryptionRequired will be set to false and investigate every occurrence
  • Resolve the underlying metadata store or policy-loading failure, then reload the affected topic and confirm the warning does not recur
  • Where feasible, enforce encryption at the producer client configuration layer so clients cannot be configured to publish plaintext
  • Restrict produce permissions on namespaces with encryption_required=true to clients that are explicitly configured for end-to-end encryption
bash
# Inspect namespace encryption policy and recent broker warnings
pulsar-admin namespaces get-is-encryption-required <tenant>/<namespace>
grep -i "isEncryptionRequired will be set to false" /var/log/pulsar/broker.log

# Force a reload of an affected topic after resolving the underlying failure
pulsar-admin topics unload persistent://<tenant>/<namespace>/<topic>

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.