Home / Apache Software Foundation / Apache Pulsar / CVE-2021-41571
CVE-2021-41571: is it exploited, and which versions of Apache Software Foundation Apache Pulsar are affected and fixed?
CVE-2021-41571 is an incorrect authorization vulnerability in Apache Software Foundation Apache Pulsar. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: org.apache.pulsar:pulsar through 2.6.4, org.apache.pulsar:pulsar from 2.7.0 before 2.7.4 and org.apache.pulsar:pulsar from 2.8.0 before 2.8.1 (GitHub advisory GHSA-3whx-qrj5-hh2h). Fixed in 2.7.4 and 2.8.1 (GitHub advisory GHSA-3whx-qrj5-hh2h). Severity: Medium (6.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:51 UTC.
What is CVE-2021-41571?
Pulsar Admin API allows access to data from other tenants using getMessageById API
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.
From the CVE record by apache, last updated August 4, 2024, 03:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Pulsar | from Apache Pulsar through 2.8.0 |
As the CVE record by apache states it, last updated August 4, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.pulsar:pulsar | <= 2.6.4 | none listed | GHSA-3whx-qrj5-hh2h |
| Maven | org.apache.pulsar:pulsar | >= 2.7.0, < 2.7.4 | 2.7.4 | GHSA-3whx-qrj5-hh2h |
| Maven | org.apache.pulsar:pulsar | >= 2.8.0, < 2.8.1 | 2.8.1 | GHSA-3whx-qrj5-hh2h |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 11, 2022. Summary: Improper Input Validation in Apache Pulsar.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | pulsar | from 2.6.0 before 2.6.4 | application |
| apache | pulsar | from 2.7.0 before 2.7.3 | application |
| apache | pulsar | 2.8.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:08 UTC.
How severe is CVE-2021-41571?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41571 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.78% probability of exploitation activity in the next 30 days, percentile 79.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Is there a workaround? (from the CVE record)
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}
Where are the vendor advisories and references?
- https://pulsar.apache.org/admin-rest-api/#operation/getLastMessageId x_refsource_MISC
- https://github.com/apache/pulsar/issues/11814 x_refsource_MISC
- https://lists.apache.org/thread/8n3k7pvyh4cf9q2jfzb6pb32ync6xlvr x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 23, 2021
- Published
- February 1, 2022, 12:40 UTC
- CVE record updated
- August 4, 2024, 03:15 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:08 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:51 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Pulsar?
- Oct 21, 2026CVE-2026-105945 Apache Software Foundation Apache Pulsar: path traversal (reading or writing files outside the intended folder)
- Oct 21, 2026CVE-2026-105942 Apache Software Foundation Apache Pulsar: incorrect authorization
- Oct 21, 2026CVE-2026-105938 Apache Software Foundation Apache Pulsar: incorrect authorization
- Oct 21, 2026CVE-2026-105937 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105936 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105935 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105934 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105933 Apache Software Foundation Apache Pulsar: not Failing Securely
Questions about CVE-2021-41571
Is CVE-2021-41571 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Pulsar are affected by CVE-2021-41571?
org.apache.pulsar:pulsar through 2.6.4, org.apache.pulsar:pulsar from 2.7.0 before 2.7.4 and org.apache.pulsar:pulsar from 2.8.0 before 2.8.1, per the GitHub advisory GHSA-3whx-qrj5-hh2h. The tables above give every range the sources list.
Which version fixes CVE-2021-41571?
2.7.4 and 2.8.1, per the GitHub advisory GHSA-3whx-qrj5-hh2h. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-41571?
Medium (6.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41571?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.