PSA-2026-0004: Arbitrary file read in the Posit Package Manager custom homepage asset endpoint

Security
Posit Security Advisory (PSA) for an unauthenticated arbitrary file read in the custom homepage asset endpoint in Posit Package Manager
Published

November 24, 2026

Source advisory: Package Manager 2026.11.2 release notes

Common Vulnerabilities and Exposures (CVE) ID: CVE-2026-135888

Common Weakness Enumeration (CWE): CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

Severity: Critical, with a Common Vulnerability Scoring System (CVSS) v4.0 score of 9.2 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N)

Affected versions: Package Manager, all releases before 2025.09.6, 2025.12.x before 2025.12.4, 2026.04.x before 2026.04.4, 2026.05.x before 2026.05.2, 2026.06.x before 2026.06.2, 2026.08.x before 2026.08.2, 2026.09.x before 2026.09.2, 2026.10.x before 2026.10.2, and 2026.11.x before 2026.11.2

Fixed version: 2026.11.2

Description

An arbitrary file read vulnerability exists in the custom homepage asset endpoint (/__api__/custom/home/) in Package Manager. Unauthenticated attackers can read any file that the Package Manager service account can read, including the server configuration file. The endpoint is reachable over HTTP without an account, a password, or user interaction. Package Manager joins the caller-supplied path to the custom homepage directory without checking that the result stays inside that directory.

When Server.LandingPage is unset, which is the default, the endpoint resolves request paths from the root of the filesystem. Requests do not need directory traversal sequences to reach files outside the custom homepage directory.

Note

Exploitation requires no account and no administrative privileges. The vulnerability only allows disclosure of file contents. Reads run as the Package Manager service account, so an attacker cannot read files that only the root user can read. If the configuration file holds a database password, an attacker who reads it can connect to that database directly. In that case, the impact is higher than the base score reflects.

Because requests do not need directory traversal sequences, security scanners that test only for ../ sequences do not detect this issue. A scan that reports no finding is not evidence that a server is unaffected.

Resolution

Upgrade Package Manager to 2026.11.2 or later by installing the new version over the existing installation. For full steps, see Upgrade Package Manager. For example, on Ubuntu 22.04:

Terminal
curl -O https://dl.posit.co/public/pro/deb/ubuntu/pool/jammy/main/r/rs/rstudio-pm_2026.11.2/rstudio-pm_2026.11.2_amd64.deb
sudo apt-get install ./rstudio-pm_2026.11.2_amd64.deb

Every supported release line has a patched version, so you do not need to move to a newer release line to get the fix:

  • 2025.09.6
  • 2025.12.4
  • 2026.04.4
  • 2026.05.2
  • 2026.06.2
  • 2026.08.2
  • 2026.09.2
  • 2026.10.2
  • 2026.11.2

Posit no longer supports release lines older than 2025.09, and those lines do not receive a patch. Move to a supported release.

From these versions, Package Manager no longer serves the /__api__/custom/ endpoints. Requests to them return 404.

Upgrading does not undo disclosure that already happened. If your configuration file holds a database password in plain text, change that password and check what else the account can reach.

No configuration workaround fully mitigates this issue on affected versions. If you cannot upgrade immediately, block requests to /__api__/custom/ at a reverse proxy or load balancer. Servers that do not use a custom homepage lose no functionality. This measure only protects traffic that passes through that layer, so also confirm that clients cannot reach Package Manager directly.

Back to top