Vulnerability in RepoManager Affects GPG Key Deletion by Authenticated Users
CVE-2026-130160
What is CVE-2026-130160?
RepoManager, a self-hosted package repository, has a vulnerability that allows authenticated users to manipulate a user-controlled GPG key identifier during the key deletion process. The filtering method used, Validate::string(), adequately handles HTML characters but fails to sanitize shell metacharacters effectively. This oversight enables attackers to craft malicious commands that will execute during the deletion operation via a vulnerable function in controllers/Gpg.php. The affected version allows this through proc_open() and /bin/sh -c, escalating the risk of unauthorized command execution, which can lead to sensitive data exposure or the compromise of the repository's integrity. While authentication is required, the lack of a stringent administrator role requirement increases the vulnerability's severity. The issue has been addressed in version 5.13.3.
Affected Version(s)
repomanager < 5.13.3
