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-105934 Overview
Apache Pulsar contains a missing authorization check [CWE-862] in the broker admin REST API DELETE /admin/v2/persistent/{tenant}/{namespace}/{topic}/truncate endpoint. When the truncate operation targets a partitioned topic by name, the broker does not verify tenant admin or superuser role on the caller. Instead, it issues per-partition truncate requests using the broker's internal admin client credentials. Any authenticated user with lookup permission on the topic can therefore truncate every partition when the broker's configured client role holds superuser or tenant admin privileges, which is the usual deployment configuration.
Critical Impact
An authenticated low-privileged user can skip unacknowledged backlogs and permanently delete older ledgers across all partitions of a partitioned topic, bypassing namespace retention policy.
Affected Products
- Apache Pulsar versions 2.8.0 through 4.0.13
- Apache Pulsar versions 4.1.0 through 4.2.4
- Apache Pulsar broker admin REST API (/admin/v2)
Discovery Timeline
- 2026-10-21 - CVE-2026-105934 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-105934
Vulnerability Analysis
The vulnerability resides in how Apache Pulsar's broker handles the truncate operation on partitioned topics. For non-partitioned topics and single-partition addresses, the broker correctly enforces that the caller holds the tenant admin role or the superuser role. The authorization logic diverges when the truncate request references the name of a partitioned topic.
In that path, the broker fans out truncate requests to each individual partition using its internal admin client. That client authenticates with the broker's own configured credentials rather than the originating caller's identity. The per-partition role check then evaluates the broker's identity, which commonly satisfies tenant admin or superuser requirements in production deployments.
Truncation moves every subscription cursor on each partition to the end of the topic. Unacknowledged backlog is skipped and never delivered to consumers. The operation also deletes eligible older ledgers regardless of the namespace's configured retention policy, resulting in permanent message loss. The ledger currently being written is preserved.
Root Cause
The root cause is a missing authorization check on the caller for the partitioned topic code path. The broker delegates per-partition truncate calls to an internal admin client, replacing the caller principal with the broker's own identity before the authorization decision executes. This design violates the principle that privileged operations must authorize the originating user.
Attack Vector
Exploitation requires network access to the broker admin REST API and authenticated credentials with lookup permission on the target topic. Under the default authorization provider, lookup permission is granted implicitly by produce or consume permission on the topic or its namespace. The attacker issues a DELETE request against /admin/v2/persistent/{tenant}/{namespace}/{topic}/truncate using the partitioned topic name. The vulnerability does not expose message contents, modify permissions, or grant access to topics without existing lookup rights.
See the Apache Pulsar CVE-2026-105934 Security Notice for the vendor's technical description.
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-105934
Indicators of Compromise
- Unexpected DELETE requests to /admin/v2/persistent/{tenant}/{namespace}/{topic}/truncate originating from non-admin principals
- Subscription cursor positions advanced to topic end across all partitions of a partitioned topic without an operational change
- Ledger deletion events in BookKeeper logs that do not correspond to the namespace retention policy
- Consumer applications reporting silent backlog loss or missing messages on partitioned topics
Detection Strategies
- Audit broker access logs for truncate admin API calls and correlate the caller role against the tenant admin and superuser lists
- Alert when the number of distinct principals invoking truncate endpoints exceeds baseline, especially for partitioned topics
- Compare retained ledger counts against configured retention policy to identify truncation events that bypassed retention
Monitoring Recommendations
- Forward broker admin API audit logs and BookKeeper ledger lifecycle events to a central analytics platform for correlation
- Baseline normal administrative operations per tenant and flag deviations in truncate, delete, and unload operations
- Monitor subscription backlog metrics for abrupt resets to zero across all partitions of a partitioned topic
How to Mitigate CVE-2026-105934
Immediate Actions Required
- Upgrade 4.0.x deployments to Apache Pulsar 4.0.14 or newer
- Upgrade 4.1.x and 4.2.x deployments to Apache Pulsar 4.2.5 or newer
- Inventory tenant admin role assignments and verify that the broker's internal client identity is scoped to the minimum required privileges
- Review broker admin API audit logs for prior unauthorized truncate operations against partitioned topics
Patch Information
Apache Pulsar has released fixed versions 4.0.14 and 4.2.5. The currently supported release lines are 4.0.x and 5.0.x, and administrators should align upgrade targets with the Apache Pulsar release policy. Users on versions prior to 4.0.0 should upgrade to a supported, patched release. Technical details are published in the Apache Pulsar CVE-2026-105934 Security Notice and the Apache Mailing List Thread.
Workarounds
- Restrict network access to the broker admin REST API (/admin/v2) so only trusted administrative clients can reach it
- Place the broker admin endpoint behind an authenticating reverse proxy that enforces role-based access control before requests reach Pulsar
- Audit and minimize produce and consume grants that implicitly provide lookup permission on sensitive partitioned topics
- Segment broker administrative traffic onto a management network isolated from application tenants
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

