Skip to main content

RepoManager EUVDEUVD-2026-130527

| CVE-2026-130157 HIGH
OS Command Injection (CWE-78)
2026-11-19 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stand up attacker-controlled RPM mirror
  2. Delivery
    Operator configures RepoManager to mirror it
  3. Exploit
    Serve poisoned primary.xml <location href> filename
  4. Execution
    Filename concatenated into shell rpm query
  5. Persist
    Arbitrary command runs as www-data before signature check
  6. Impact
    RCE / 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

repomanager < 5.13.3

Affected Packages

euvd repomanager fix: 5.13.3

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 20:04 EUVD
CVE Published
Nov 19, 2026 - 18:39 cve.org
HIGH 7.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche self-hosted deb/rpm repository tool, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy