# CVE-2026-130157: RepoManager: Command injection (RCE) via unsanitized RPM package filename when mirroring a repository

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-19T18:39:45.096Z
- Modified: 2026-11-24T04:17:22.390Z
- Weaknesses: CWE-78
- 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 attacker who controls an upstream RPM repository mirrored by a RepoManager instance can provide a package filename through the primary.xml <location href> field; the mirror passes that filename into a shell-interpreted RPM query, allowing shell metacharacters to execute commands as the www-data service account. The target must mirror an upstream repository controlled by the attacker, and the default "Check GPG signatures" option triggers the vulnerable call. The command executes before a later signature-verification failure, so a valid signed package is not required. 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-ph7j-x866-rc66> (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-130157](https://www.cve.org/CVERecord?id=CVE-2026-130157), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-130157](https://nvd.nist.gov/vuln/detail/CVE-2026-130157), Public domain, modified 2026-11-24

---

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