CVE-2026-105935
Apache Pulsar: Function trigger publishes to the input topic without checking the caller's produce permission
Mitigation
- Upgrade Apache Pulsar to 4.2.5 or later.
Who should check
- Anyone running Apache Software Foundation Apache Pulsar >= 2.0.0-rc1-incubating, < 4.0.14; >= 4.1.0, < 4.2.5
Vulnerability facts
- Affected
- Apache Software Foundation Apache Pulsar >= 2.0.0-rc1-incubating, < 4.0.14; >= 4.1.0, < 4.2.5
- Fixed in
- Apache Software Foundation Apache Pulsar 4.0.14, Apache Software Foundation Apache Pulsar 4.2.5
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: High
- Availability impact on other systems: None
- EPSS
- 0.36% chance of exploitation in 30 days (percentile 22, 2026-11-26)
- CWE
- CWE-862
- Modified
Description
The Pulsar Functions Worker provides a REST API endpoint for triggering a function, which publishes a caller-supplied value to one of the function's configured input topics. The Functions Worker performs this publish with its own broker client, which authenticates with the Worker's configured broker-client credentials rather than the credentials of the API caller. When authorization is enabled, in Apache Pulsar 2.4.0 and later versions, the trigger endpoint checks only that the caller is authorized to perform function operations in the function's namespace. It does not check that the caller is authorized to produce to the input topic that the message is published to. Versions before 2.4.0 do not perform a caller authorization check for the trigger endpoint at all. Function input topics are not restricted to the function's own tenant or namespace, and registering a function does not require produce permission on its input topics. As a result, an authenticated user who is authorized to manage functions in a namespace, for example a role granted the functions permission on that namespace, can cause the Functions Worker to publish messages with caller-controlled content to a topic that the user is not authorized to produce to, including topics in other tenants. These messages are published under the identity of the Functions Worker. The issue does not require any function instance to be running or any function code to be executed. It requires that the Functions Worker's broker-client identity is itself authorized to produce to the target topic and, in Apache Pulsar 2.3.0 and later versions, to list the subscriptions of the target topic, as is the case when that identity is a superuser. The impact is on the integrity of the data in the affected topics: consumers of those topics may receive messages from a user who is not permitted to publish them. This concerns the Functions Worker REST API as called by an external, authenticated client; it does not change the security model for function code, which must be fully trusted. In fixed versions, when authorization is enabled, triggering a function additionally requires the caller to be authorized to produce to the selected input topic before any message is published. This issue affects Apache Pulsar versions from 2.0.0-rc1-incubating before 4.0.14 and from 4.1.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/. Users of Apache Pulsar 2.4.0 and later versions with authorization enabled who cannot upgrade immediately can limit the permission to manage functions to trusted roles. Users of versions before 2.4.0 should restrict access to the Functions Worker REST API to trusted callers, because in these versions the trigger endpoint does not check the caller's permission to manage functions.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Apache Software Foundation Apache Pulsar | >= 2.0.0-rc1-incubating, < 4.0.14; >= 4.1.0, < 4.2.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-105935. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-105935.md Affected: Apache Software Foundation Apache Pulsar >= 2.0.0-rc1-incubating, < 4.0.14; >= 4.1.0, < 4.2.5 Fixed in: Apache Software Foundation Apache Pulsar 4.0.14, Apache Software Foundation Apache Pulsar 4.2.5 Steps: 1. Search this machine and project for Apache Software Foundation Apache Pulsar: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-105935 being exploited?
There is no confirmed exploitation: CVE-2026-105935 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-105935?
Medium: CVSS 4.9 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-105935?
Apache Software Foundation Apache Pulsar >= 2.0.0-rc1-incubating, < 4.0.14; >= 4.1.0, < 4.2.5.
Is there a fix for CVE-2026-105935?
Yes. Fixed in Apache Software Foundation Apache Pulsar 4.0.14, Apache Software Foundation Apache Pulsar 4.2.5. Upgrade Apache Pulsar to 4.2.5 or later.
How do I check if I'm affected by CVE-2026-105935?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.