CVE-2026-130159: RepoManager: Authenticated Path Traversal allows arbitrary file read via service unit log viewer
RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, the authenticated get-unit-log action accepts a caller-controlled logfile value. Validate::string() escapes HTML but leaves path traversal components unchanged. The action joins the caller-controlled logfile to SERVICELOGSDIR without enforcing containment, so traversal can resolve the file read outside that directory. www/controllers/ajax/status/service.php reads and returns the resolved file, and any authenticated user can invoke the action to retrieve files readable by the www-data service account, including application configuration, source code, and the GPG signing-key passphrase. Fixed in 5.13.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.13.3
Event History
Frequently Asked Questions
Which deployments are affected?
RepoManager versions prior to 5.13.3 are affected. Exploitation is possible where an authenticated user can access the get-unit-log action.
What access does an attacker need?
The attacker needs an authenticated RepoManager account; no user interaction is required. They can supply a logfile value containing path traversal components to target files outside the service log directory.
What data could be exposed?
An attacker can read files that are readable by the www-data service account. The advisory identifies application configuration, source code, and the GPG signing-key passphrase as potential examples.
How can the issue be remediated?
Upgrade RepoManager to version 5.13.3, which fixes the path containment issue in the affected action.