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

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 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.

Published

CVSS 3.1 score 7.5 out of 10.

Reported versions and fixes

  • Source-reported product

Source evidence