# CVE-2024-27135: Apache Pulsar: Improper Input Validation in Pulsar Function Worker allows Remote Code Execution

- Severity: High 8.5 (CVSS:3.1, scored by apache) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.98%, higher than 93% of CVEs (2026-12-01)
- Published: 2024-03-12T18:18:06.720Z
- Modified: 2026-06-17T07:19:13.653Z
- Also known as: GHSA-xp2r-g8qq-44hh
- Weaknesses: CWE-20, CWE-913
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## Description

Improper input validation in the Pulsar Function Worker allows a malicious authenticated user to execute arbitrary Java code on the Pulsar Function worker, outside of the sandboxes designated for running user-provided functions. This vulnerability also applies to the Pulsar Broker when it is configured with "functionsWorkerEnabled=true".

This issue affects Apache Pulsar versions from 2.4.0 to 2.10.5, from 2.11.0 to 2.11.3, from 3.0.0 to 3.0.2, from 3.1.0 to 3.1.2, and 3.2.0. 

2.10 Pulsar Function Worker users should upgrade to at least 2.10.6.
2.11 Pulsar Function Worker users should upgrade to at least 2.11.4.
3.0 Pulsar Function Worker users should upgrade to at least 3.0.3.
3.1 Pulsar Function Worker users should upgrade to at least 3.1.3.
3.2 Pulsar Function Worker users should upgrade to at least 3.2.1.

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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Pulsar: from 2.4.0 before 2.10.6; from 2.11.0 before 2.11.4; from 3.0.0 before 3.0.3; from 3.1.0 before 3.1.3; from 3.2.0 before 3.2.1
- apache pulsar: from 2.4.0 before 2.10.6; from 2.11.0 before 2.11.4; from 3.0.0 before 3.0.3; from 3.1.0 before 3.1.3; from 3.2.0 before 3.2.1; 3.2.0
- org.apache.pulsar:pulsar-functions-worker (Maven): from 2.4.0 before 2.10.6; from 2.11.0 before 2.11.4; from 3.0.0 before 3.0.3; from 3.1.0 before 3.1.3; from 3.2.0 before 3.2.1

## Every score

- apache: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://lists.apache.org/thread/dh8nj2vmb2br6thjltq74lk9jxkz62wn> (mailing-list, vendor-advisory, web)
- <https://pulsar.apache.org/security/CVE-2024-27135/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2024/03/12/9> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27135> (advisory)
- <https://github.com/apache/pulsar> (package)
- <https://pulsar.apache.org/security/CVE-2024-27135> (web)

## Sources

- CVE List: [CVE-2024-27135](https://www.cve.org/CVERecord?id=CVE-2024-27135), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-xp2r-g8qq-44hh](https://github.com/advisories/GHSA-xp2r-g8qq-44hh), CC-BY-4.0, modified 2025-02-13
- NVD: [CVE-2024-27135](https://nvd.nist.gov/vuln/detail/CVE-2024-27135), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27135 · Whole record: https://cve.day/CVE-2024-27135.json · Rebuilt by cve.day 2026-11-25T22:58:37.471Z
