CVE-2026-130157
RepoManager: Command injection (RCE) via unsanitized RPM package filename when mirroring a repository
- CVSS
- 7.5
- EPSS
- 0.55% (p47)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-24
- Product
- lbr38 repomanager
- Aliases
- GHSA-ph7j-x866-rc66
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 10d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/lbr38/repomanager/security/advisories/GHSA-ph7j-x866-rc66 x_refsource_CONFIRM
- https://github.com/lbr38/repomanager/pull/403 x_refsource_MISC
- https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562 x_refsource_MISC
- https://github.com/lbr38/repomanager/releases/tag/5.13.3 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130157.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-130157 advisory