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-105869 Overview
Apache Pulsar contains an authorization bypass in MultiRolesTokenAuthorizationProvider that allows unauthenticated clients to gain arbitrary roles, including super-user access. The provider parses JSON Web Token (JWT) claims after stripping the signature and trusts that authentication already validated the token. When anonymousUserRole is set and an HTTP or WebSocket request fails authentication, the broker falls back to the anonymous role while retaining the request's Authorization header. The authorization provider then reads the unverified bearer token and grants roles listed in its claim. The flaw is tracked under [CWE-347: Improper Verification of Cryptographic Signature].
Critical Impact
An unauthenticated attacker can forge a JWT listing a role in superUserRoles and gain full administrative control over tenants, namespaces, topics, permissions, and broker configuration.
Affected Products
- Apache Pulsar 2.8.1 through 4.0.13
- Apache Pulsar 4.1.0 through 4.2.4
- Deployments using MultiRolesTokenAuthorizationProvider with a non-empty anonymousUserRole
Discovery Timeline
- 2026-10-21 - CVE-2026-105869 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-105869
Vulnerability Analysis
The vulnerability resides in Apache Pulsar's MultiRolesTokenAuthorizationProvider, an authorization component intended to extract roles from a JWT claim. The provider assumes the configured token authentication provider has already verified the JWT signature. Instead of calling back into the verified token, it parses the raw bearer token from the Authorization header with the signature portion discarded.
This assumption breaks when authentication fails and the broker applies its anonymous-user fallback. The broker continues to retain the original Authorization header on the request's authentication data. The authorization provider then reads attacker-controlled role claims from an unsigned or forged token and grants them without cryptographic validation.
The fallback path affects the broker's HTTP admin REST API when strictAuthMethod is false (the default) and the request names no authentication method. The WebSocket API falls back regardless of strictAuthMethod. Connections using the Pulsar binary protocol are not vulnerable because the broker does not retain client authentication data for anonymous-role connections.
Root Cause
The root cause is a trust boundary violation. MultiRolesTokenAuthorizationProvider extracts claims from a JWT without verifying the signature against the configured signing key. It assumes authentication has already validated the token, but the anonymous-user fallback path reaches authorization with an unvalidated header still attached.
Attack Vector
An attacker crafts a JWT with a role claim listing arbitrary values, including entries from superUserRoles. The token can be entirely unsigned or signed with an unknown key. The attacker sends an HTTP request to the admin REST API, or a WebSocket connection, including the forged token in the Authorization: Bearer header without declaring an authentication method. Authentication fails, the broker assigns the anonymous user role, and MultiRolesTokenAuthorizationProvider reads the forged claim to grant super-user privileges. No valid credentials are required.
Technical details are available in the Apache Pulsar security advisory and the Apache mailing list thread.
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 AttacksDetection Methods for CVE-2026-105869
Indicators of Compromise
- HTTP requests to admin REST API endpoints (/admin/v2/*) containing a Bearer token but no declared authentication method
- WebSocket connection attempts carrying unsigned or signature-mismatched JWTs
- Unexpected changes to tenants, namespaces, topics, or broker configuration performed by principals matching superUserRoles
- Broker authentication logs showing failed credential validation immediately followed by successful authorized administrative actions
Detection Strategies
- Inspect broker access logs for admin REST API calls where authentication logging indicates a fallback to the anonymous user role but authorization succeeded for privileged operations
- Decode Authorization: Bearer tokens observed on broker and WebSocket traffic and validate signatures against the configured public key out-of-band
- Alert on administrative API calls (createTenant, grantPermission, updateDynamicConfiguration) originating from clients that did not complete a verified authentication handshake
Monitoring Recommendations
- Enable verbose authentication and authorization logging on brokers and WebSocket proxies to capture the role resolution path for each request
- Forward Pulsar broker logs to a centralized analytics platform and correlate anonymous-role fallbacks with privileged API usage
- Monitor for configuration drift in superUserRoles, tenant policies, and namespace permissions
How to Mitigate CVE-2026-105869
Immediate Actions Required
- Upgrade Apache Pulsar 4.0.x deployments to 4.0.14 or later
- Upgrade Apache Pulsar 4.1.x and 4.2.x deployments to 4.2.5 or later
- Audit broker and WebSocket configurations for MultiRolesTokenAuthorizationProvider combined with a non-empty anonymousUserRole
- Review recent administrative actions and permission changes performed with super-user roles for signs of exploitation
Patch Information
Fixed versions are Apache Pulsar 4.0.14 and 4.2.5. In these releases, MultiRolesTokenAuthorizationProvider only reads roles from tokens verified by the configured token authentication provider using its configured keys. HTTP requests that fall back to the anonymous user role are authorized only as that role. The broker refuses to start if MultiRolesTokenAuthorizationProvider is enabled without a token authentication provider. The currently supported release lines are 4.0.x and 5.0.x per the Apache Pulsar release policy.
Workarounds
- Remove the anonymousUserRole setting from broker and WebSocket service configurations
- Switch to the default PulsarAuthorizationProvider or another authorization provider until upgrade is possible
- Restrict network access to broker HTTP and WebSocket endpoints to trusted clients only using firewall or service-mesh policies
- Where available, set strictAuthMethod=true to prevent HTTP fallback to the anonymous user role
# broker.conf - safe configuration example
authenticationEnabled=true
authorizationEnabled=true
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderToken
# Remove or leave empty to disable anonymous fallback
anonymousUserRole=
strictAuthMethod=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

