Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessStand up attacker-controlled RPM mirror
-
DeliveryOperator configures RepoManager to mirror it
-
ExploitServe poisoned primary.xml <location href> filename
-
ExecutionFilename concatenated into shell rpm query
-
PersistArbitrary command runs as www-data before signature check
-
ImpactRCE / mirror-server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the RepoManager instance be configured to mirror an upstream RPM source repository that the attacker fully controls (so the attacker can supply the primary.xml <location href> value), and that the 'Check GPG signatures' option - enabled by default - remain on, since that option triggers the vulnerable 'rpm -qp' query. The attacker-controlled filename (e.g. x;id>pwned;y.rpm) is executed as the www-data service account before the subsequent signature-verification failure, so a validly signed package is NOT needed. Limiting factors that reduce real-world risk: the victim operator must actively add and sync the attacker's repository as an rpm mirror (the attacker cannot reach the sink without this configuration), the bug affects only the RPM mirroring path (not deb), impact is confined to the www-data account unless further escalation exists, and only versions <= 5.13.2 are affected. |
| Impact | Signals are mixed and point to a serious-but-conditional bug rather than a broad internet-facing emergency. The input CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, 7.5) and CWE-78 agree with the advisory that this is remote command injection yielding RCE as www-data. AC:H is justified: exploitation is gated on a real precondition - the target RepoManager instance must be configured to mirror an upstream RPM repository that the attacker controls, with the default 'Check GPG signatures' option on. I disagree with the input's PR:L: the attacker needs no account or privilege on the RepoManager host itself (the privileged action is the victim operator configuring the malicious mirror), so PR:N with AC:H more honestly models the attacker's position - flagged for vendor/NVD reconciliation. No EPSS score and no CISA KEV entry are present in the input, so exploitation status is 'no confirmed active exploitation'; however the GitHub Security Advisory embeds a complete, working proof-of-concept (fake repo server plus the poisoned filename x;id>pwned;y.rpm and captured www-data evidence), so weaponization effort is near zero for anyone who can get a target to mirror them. The vuln.today decision label is 'this_week', consistent with real but not emergency urgency. Net: a genuine priority for anyone running RepoManager and mirroring third-party RPM sources, but the mirror-of-attacker-repo gate keeps it from being a mass, unauthenticated internet exposure. |
| Exploit ScenarioDerived | An attacker stands up a malicious RPM repository whose primary.xml advertises a package with the filename 'x;id>pwned;y.rpm'. When a RepoManager operator configures their instance to mirror that repository as an rpm source with the default 'Check GPG signatures' option enabled and runs the sync task, RepoManager concatenates the attacker-chosen filename into a /bin/sh 'rpm -qp' query, executing the embedded 'id' command as www-data before the later GPG-signature check fails. A full working PoC is published in the GitHub Security Advisory, including evidence of 'uid=33(www-data)' command execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
RepoManager versions up to and including 5.13.2 build a shell command from the RPM package filename taken from an upstream repository's primary.xml <location href> field, so an attacker who controls a repository the instance mirrors can inject shell metacharacters into that filename and execute arbitrary commands as the www-data service account. No RepoManager account is needed to supply the payload, but exploitation is conditional: the operator must add and sync the attacker's RPM source as a mirror, and the default 'Check GPG signatures' option must be enabled, since that option issues the vulnerable 'rpm -qp' query; the injected command runs before the subsequent signature failure, so a validly signed package is not required. A public PoC reference exists in the GitHub security advisory (a fake RPM repository server script that serves a package named x;id>pwned;y.rpm); it is not verified here as working exploit code, there is no CISA KEV entry, and the vulnerability is fixed in 5.13.3.
RemediationAI
Upgrade to RepoManager 5.13.3, which wraps the RPM filename in escapeshellarg() in controllers/Repo/Mirror/Rpm.php and controllers/Repo/Package/Sign.php per https://github.com/lbr38/repomanager/pull/403 (commit d380579c84accf1786934deee245650bbc68a562, release https://github.com/lbr38/repomanager/releases/tag/5.13.3 and advisory https://github.com/lbr38/repomanager/security/advisories/GHSA-ph7j-x866-rc66). If upgrading cannot be done at once, the practical compensating control is to mirror only upstream RPM repositories that the operator fully controls and trusts, since the injected value originates from that remote metadata; note this reduces but does not eliminate risk from a compromised trusted upstream. Turning off 'Check GPG signatures' would avoid the specific 'rpm -qp' call on the mirror path but disables package signature verification and leaves the second rpmsign sink relevant, so it is a poor trade-off and is not recommended. Running the service account with minimal privileges and restricting who can create or edit mirror source repositories limits exposure, but the complete fix is the vendor patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-78 (OS command injection) in the PHP application's RPM mirroring path. RepoManager parses the remote repomd.xml and primary.xml metadata of a mirrored repository; in controllers/Repo/Mirror/Rpm.php the <location href> attribute is read directly from the attacker-supplied XML, the basename is extracted with a preg_split on '/', and that unvalidated string is concatenated into a Symfony Process command line invoking /usr/bin/rpm -qp --qf with the package's PGP signature query format. Because Process runs the string through /bin/sh, characters such as ';' in the filename are interpreted by the shell rather than treated as part of a path, yielding command execution as the PHP service account (www-data) before the signature check fails. The advisory notes a second, related sink in controllers/Repo/Package/Sign.php where the RPM filename is passed to /usr/bin/rpmsign --addsign without escapeshellarg when GPG signing is enabled. The upstream fix wraps both sinks with escapeshellarg() and rejects suspicious filenames; the same pull request (403) also adds permission checks and path-traversal validation on container rendering, so it bundles hardening beyond this single CVE. Only the RPM mirroring path is affected, not the deb path, and the CPE cpe:2.3:a:lbr38:repomanager:*:*:*:*:*:*:*:* covers all branches before 5.13.3.
Know when Repomanager gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Remote injection via mirrored metadata (AV:N); AC:H because the target must already mirror an attacker-controlled repo with GPG checks on; PR:N as the attacker needs no account on the host; full RCE gives C/I/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-78 OS command injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
RepoManager up to 5.13.2 contains a high-severity command injection flaw that allows an attacker who controls an RPM repository mirrored by the instance to execute arbitrary commands as the www-data service account. This impacts the confidentiality, integrity, and availability of the RepoManager service and potentially its underlying host, requiring immediate action from security and operations teams.
No vendor-released patch identified at time of analysis; interim mitigations include restricting repository mirroring to trusted sources, disabling the 'Check GPG signatures' option if feasible, and network segmentation to limit lateral movement.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Repomanager
View allStored cross-site scripting in RepoManager 5.13.2 and earlier lets any principal holding a host or API credential - or a
Authenticated OS command injection in RepoManager 5.13.2 and earlier lets any logged-in user run arbitrary commands as t
Authenticated path traversal in RepoManager releases up to and including 5.13.2 lets any logged-in user read files outsi
EUVD-2026-130527
NVD
CVE.org
EPSS
GitHub
Exploit-DB