Impact
This is a CWE-22 directory traversal vulnerability that arises when the Pulsar Packages Management Service uses a filesystem storage provider. Package names have type, tenant, namespace, name, and version. Validation only covers tenant and namespace; the version can contain URL‑encoded path separators and parent directory references, which the provider resolves to a location that may belong to a different tenant or namespace. Because the storage directory is within the configured path, the containment check fails. An authenticated user with packages permission on any namespace can download, overwrite, or delete packages belonging to tenants or namespaces for which they have no permission, enabling integrity and availability attacks on Pulsar Functions, Sources or Sinks. If authentication is disabled, the operations are available to any client that can reach the broker's admin REST API.
Affected Systems
The affected product is Apache Pulsar, specifically deployments where package management is enabled (enablePackagesManagement set to true) and the filesystem storage provider (FileSystemPackagesStorageProvider) is configured as packagesManagementStorageProvider. The vulnerability exists in versions from 2.10.0 until before 4.0.14 and from 4.1.0 until before 4.2.5. Users of the 4.0.x line should upgrade to at least 4.0.14, and users of the 4.1.x and 4.2.x lines should upgrade to at least 4.2.5. The supported release lines are 4.0.x and 5.0.x, and the community recommends upgrading to the latest supported release whenever possible.
Risk and Exploitability
The CVSS score is 7.7, indicating a high severity impact. The EPSS score is not available, and CISA has not listed this vulnerability in its KEV catalog. Attackers must be able to authenticate to the broker's admin REST API or have the broker running without authentication; the user must possess packages permissions on at least one namespace. Successful exploitation leads to unauthorized access to packages of other tenants or namespaces, which can compromise the integrity of Pulsar Functions and potentially cause denial of service if critical packages are deleted or tampered with.
OpenCVE Enrichment