---
id: CVE-2026-105926
title: >-
  Apache Pulsar: Missing Topic Authorization on Binary Protocol GetSchema and
  GetOrCreateSchema Commands
summary: >-
  The Pulsar broker serves two schema commands on its binary protocol:
  GetSchema, which returns the schema registered for a topic, and
  GetOrCreateSchema, which registers a new schema version for an existing topic.
  The broker handled both c…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:L'
cvssSource: cna
cwe:
  - CWE-862
vendor: Apache Software Foundation
product: Apache Pulsar
affected:
  - apache_pulsar >= 2.2.0 < 4.0.14
  - apache_pulsar >= 4.1.0 <= 4.1.3
  - apache_pulsar >= 4.2.0 < 4.2.5
published: '2026-10-21'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T17:59:55.207Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-105926'
references:
  - url: 'https://pulsar.apache.org/security/CVE-2026-105926/'
  - url: 'https://lists.apache.org/thread.html/45y22fqoqyfpc2hdmoct8cmgslz8ogkh'
tags:
  - cve.org
ingestedAt: '2026-10-21T18:09:27.268Z'
---

## Overview

The Pulsar broker serves two schema commands on its binary protocol: GetSchema, which returns the schema registered for a topic, and GetOrCreateSchema, which registers a new schema version for an existing topic. The broker handled both commands after checking only that the client connection was authenticated. Unlike the broker's other topic commands, such as those for creating producers and consumers or for looking up topics, these two commands did not check whether the authenticated client was authorized for the target topic. The Pulsar REST API endpoints for schemas were not affected.

An authenticated client without any permission on the target topic, namespace or tenant could use these commands to:

- read the schema registered for a topic in another namespace or tenant, disclosing the schema definition such as record field names and types. Message payloads are not disclosed.
- register a new schema version on an existing topic in another namespace or tenant. The topic's schema compatibility and schema auto-update policies still apply. The issue does not allow message data to be read or modified, but a registered schema version can cause legitimate producers and consumers of that topic to fail with schema incompatibility errors until the schema is corrected by an administrator.

The standard Pulsar client performs an authorized topic lookup before it sends these commands, so the missing check could not be observed when testing with the standard client. A client that implements the binary protocol directly is not required to perform that lookup first.

This issue is relevant only to deployments that have authentication and authorization enabled. The GetSchema command is affected from Apache Pulsar 2.2.0, and the GetOrCreateSchema command from Apache Pulsar 2.5.0. After the fix, the broker requires the lookup permission on the topic for GetSchema and the produce permission on the topic for GetOrCreateSchema. This impact analysis assumes that Pulsar has been configured with the default authorization provider. For custom authorization providers, the impact could be slightly different.

This issue affects Apache Pulsar versions from 2.2.0 before 4.0.14, from 4.1.0 through 4.1.3, and from 4.2.0 before 4.2.5.

- 4.0.x version users should upgrade to at least 4.0.14.
- 4.1.x and 4.2.x version users should upgrade to at least 4.2.5.

Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.

The currently supported Apache Pulsar release lines are 4.0.x and 5.0.x. The supported versions schedule is available at https://pulsar.apache.org/contribute/release-policy/.

## Affected

- `apache_pulsar >= 2.2.0 < 4.0.14`
- `apache_pulsar >= 4.1.0 <= 4.1.3`
- `apache_pulsar >= 4.2.0 < 4.2.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
