{"id":"CVE-2026-130157","summary":"RepoManager: Command injection (RCE) via unsanitized RPM package filename when mirroring a repository","details":"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 \u003clocation href\u003e 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.","aliases":["GHSA-ph7j-x866-rc66"],"modified":"2026-11-19T20:00:14.831602353Z","published":"2026-11-19T18:39:45.096Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130157.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130157.json"},{"type":"FIX","url":"https://github.com/lbr38/repomanager/commit/d380579c84accf1786934deee245650bbc68a562"},{"type":"FIX","url":"https://github.com/lbr38/repomanager/pull/403"},{"type":"WEB","url":"https://github.com/lbr38/repomanager/releases/tag/5.13.3"},{"type":"ADVISORY","url":"https://github.com/lbr38/repomanager/security/advisories/GHSA-ph7j-x866-rc66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130157"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/lbr38/repomanager","events":[{"introduced":"0"},{"fixed":"bb6de23689dbef372037ceb76fa8148abe5e2d03"},{"fixed":"d380579c84accf1786934deee245650bbc68a562"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"5.13.3"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"d380579c84accf1786934deee245650bbc68a562"}]},{"original_tag":"5.13.3","range":[{"fixed":"bb6de23689dbef372037ceb76fa8148abe5e2d03"}],"source":"REFERENCES_TAG"}]}}],"versions":["5.13.2","5.13.1","5.13.0","5.12.1","5.12.0","5.11.0","5.10.0","5.9.1","5.9.0","5.8.0","5.7.0","5.6.0","5.5.0","5.4.1","5.4.0","5.3.4","5.3.3","5.3.2","5.3.1","5.2.0","5.1.1","5.1.0","5.0.0","4.24.1","4.24.0","4.23.0","4.22.2","4.22.1","4.22.0","4.21.0","4.20.1","4.20.0","4.19.0","4.18.0","4.17.0","4.16.4","4.16.2","4.16.1","4.16.0","4.15.2","4.15.1","4.14.2","4.14.1","4.14.0","4.13.1","4.13.0","4.12.1","4.12.0","4.11.1","4.11.0","4.10.0","4.9.0","4.8.0","4.7.1","4.7.0","4.6.0","4.5.0","4.4.2","4.4.1","4.4.0","4.3.0","4.2.2","4.2.1","4.2.0","4.1.1","4.1.0","4.0.0","3.7.17","3.7.16","3.7.15","3.7.14","3.7.13","3.7.12","3.7.11","3.7.10","3.7.9-1","3.7.9","3.7.8","3.7.7","3.7.6","3.7.5","3.7.4","3.7.3","3.7.2","3.7.1","3.7.0","3.6.1","3.6.0","3.5.3-1","3.5.3","3.5.2","3.5.1","3.5.0","3.4.17.1","3.4.17","3.4.16","3.4.15","3.4.14","3.4.13","3.4.12","3.4.11","3.4.10","3.4.9","3.4.8","3.4.7","3.4.6","3.4.5","3.4.4","3.4.3","3.4.2","3.4.1","3.4.0","3.3.4","3.3.3","3.3.2","3.3.1","3.3.0","3.2.11","3.2.10","3.2.9","3.2.8","v3.2.6-stable","3.2.7","3.2.6","v3.2.5-stable","v3.2.4-stable","v3.2.3-stable","v3.2.2-stable","v3.2.1-stable","v3.2.0-stable","v3.1.0-stable","v3.0.6.1-stable","v3.0.6-stable","v3.0.5-stable","v3.0.4-stable","v3.0.3-stable","v3.0.2-stable","v3.0.1-stable","v3.0.0-stable","v2.7.9-stable","v2.7.8-stable","v2.7.7-stable","v2.7.6-stable","v2.7.5-stable","v2.7.4-stable","v2.7.4-beta","v2.7.3-beta","v2.7.2-beta","v2.7.1-beta","v2.7.0-beta","v2.6.7-beta","v2.6.6-beta","v2.6.5-beta","v2.6.4-beta","v2.6.3-beta","v2.6.2-beta","v2.6.1-beta","v2.6.0-beta","v2.5.3-beta","v2.5.2-beta","v2.5.1-beta","v2.5.0-beta","v2.4.2-beta","v2.4.1-beta","v2.4.0-beta","v2.3.3-beta","v2.3.2-beta","v2.3.1-beta","v2.3.0-beta","v2.2.4-beta","v2.2.3-beta","v2.2.2-beta","v2.2.1-beta","v2.2.0-beta","v2.1.0-beta","v2.0.3-beta","v2.0.2-beta","2.0.2-beta","v2.0.1-beta","2.0.2","v2.0-beta","v1.0-beta","v0.3-alpha","v0.1-alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130157.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}