Broken access controlin Apache Pulsar.
No public exploit found; not on exploited lists.
In Apache Pulsar it is possible to access data from BookKeeper that does not belong to the topics accessible by the authenticated user. The Admin API get-message-by-id requires the user to input a topic and a ledger id. The ledger id is a pointer to the data, and it is supposed to be a valid it for the topic. Authorisation controls are performed against the topic name and there is not proper validation the that ledger id is valid in the context of such ledger. So it may happen that the user is able to read from a ledger that contains data owned by another tenant. This issue affects Apache Pulsar Apache Pulsar version 2.8.0 and prior versions; Apache Pulsar version 2.7.3 and prior versions; Apache Pulsar version 2.6.4 and prior versions.
- Upgrade org.apache.pulsar:pulsar (Maven) to 2.7.4, 2.8.1 or later, whichever matches your release line.
- Can't upgrade today? If you are running Pulsar behind a proxy you can disable access to the REST API for the flawed API /admin/v2/non-persistent/{tenant}/{namespace}/{topic}/ledger/{ledgerId}/entry/{entryId}
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 23 Sep 2021CVE ID reserved by apache.
- 1 Feb 2022Published in the CVE List.
- 4 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Pulsar vulnerabilities
Same weakness: Incorrect authorization
- pulsar.apache.org x_refsource_MISC
- github.com x_refsource_MISC
- lists.apache.org x_refsource_MISC
Patchminder. CVE-2021-41571: Broken access control in Apache Pulsar. https://patchminder.com/cve/cve-2021-41571/ (accessed 5 December 2026).