CVE-2026-130159
RepoManager: Authenticated Path Traversal allows arbitrary file read via service unit log viewer
- Severity
- medium CVSS 6.5 (v3.1)
- Affects
- repomanager · lbr38
- Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- Published
- 19 November 2026 by GitHub_M
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 SERVICE_LOGS_DIR 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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.