# CVE-2026-130160: RepoManager: Authenticated OS command injection (RCE) via GPG key deletion

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T18:42:41.454Z
- Modified: 2026-11-19T20:17:28.210Z
- Weaknesses: CWE-78, CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, an authenticated user can supply a user-controlled, array-valued GPG key identifier to the key deletion action. Validate::string() filters HTML characters but not shell metacharacters. The user-controlled identifier reaches the delete action without shell-safe encoding. controllers/Gpg.php contains the vulnerable deletion path. Process::execute() passes the command string through proc_open() and /bin/sh -c, allowing the attacker to execute arbitrary OS commands as the web/PHP process. This can expose secrets or poison packages. Authentication is required, but the advisory makes an administrator-only restriction conditional on the intended access policy and does not establish an administrator role as a prerequisite. Fixed in 5.13.3.

(As written by CVE List.)

## Affected

- lbr38 repomanager: < 5.13.3

## References

- <https://github.com/lbr38/repomanager/security/advisories/GHSA-c78w-g4rj-q6q7> (exploit)
- <https://github.com/lbr38/repomanager/pull/403>
- <https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562>
- <https://github.com/lbr38/repomanager/releases/tag/5.13.3>

## Sources

- CVE List: [CVE-2026-130160](https://www.cve.org/CVERecord?id=CVE-2026-130160), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-130160](https://nvd.nist.gov/vuln/detail/CVE-2026-130160), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-130160 · Whole record: https://cve.day/CVE-2026-130160.json · Rebuilt by cve.day 2026-11-25T22:59:52.177Z
