Skip to main content

RepoManager EUVDEUVD-2026-130530

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

Attack ChainAIDerived

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

  1. Access
    Authenticate as any RepoManager user
  2. Delivery
    Open GPG key deletion request
  3. Exploit
    Inject shell metacharacters via id[] parameter
  4. Execution
    Command executed through /bin/sh -c as www-data
  5. Impact
    Read SQLite secrets and GPG signing keys, poison .deb/.rpm packages

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

Requires an authenticated session (CVSS PR:L) against a RepoManager instance at version <=5.13.2; the specific trigger is the GPG key deletion action in controllers/Gpg.php, reached via Repositories → Manage source repositories → GPG keys. Exploitation needs the attacker to send the key identifier as an array-valued parameter (id[]=...) containing shell metacharacters (; | ` $() or spaces), which Validate::string() does not neutralize before the value is concatenated into the gpg command run through /bin/sh -c. No user interaction and no non-default configuration are needed - the deletion path enforces only 'is logged in' and does not require an administrator role by default, so any authenticated account is sufficient. The principal limiting factor is therefore authentication: deployments where only a single trusted operator can log in, or that have layered an external admin-only access policy over this action, materially reduce exposure. Complete remediation is upgrading to 5.13.3, which applies escapeshellarg() and adds an edit-source permission check.

Impact

This is a genuine priority, not an inflated-CVSS paper risk. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) is internally consistent with the mechanism: a network-reachable HTTP endpoint, no special complexity, a single low-privilege authenticated session, and no user interaction yield full confidentiality/integrity/availability loss via OS command execution. The vuln.today Decision label is 'this_week,' indicating near-term action rather than drop-everything emergency. No CISA KEV listing and no EPSS score were supplied, so there is no evidence of confirmed active exploitation or a modeled exploitation-probability - treat exploitation status as 'not confirmed in the wild.' However, the GHSA advisory publishes a concrete, working injection payload and step-by-step reproduction (Burp request with id[]=AAAA; touch /tmp/pwned), so the barrier to weaponization is effectively zero. The one real gating factor is the PR:L requirement: an attacker needs a valid login. The advisory is explicit that no admin role is enforced on this path (CWE-862) - any authenticated user suffices unless the deployment has layered its own access policy - so PR:L (not PR:H) is correct. Net: high real-world risk wherever RepoManager <=5.13.2 is reachable by more than a single trusted operator, tempered only by the authentication prerequisite and the product's modest deployment footprint.

Exploit ScenarioDerived

A low-privileged authenticated user opens the GPG key deletion function (Repositories → Manage source repositories → GPG keys), intercepts the delete request, and replaces the key id with an array value carrying shell metacharacters (e.g. id[]=AAAA; <command>). Because Validate::string() neutralizes only HTML characters and the value is concatenated into a /bin/sh -c command line, the injected command runs as the web/PHP user (typically www-data). A full working proof-of-concept with the exact payload is published in the GHSA advisory.

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

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

Alert me

AnalysisAIv1 – Nov 19, 2026

Authenticated OS command injection in RepoManager 5.13.2 and earlier lets any logged-in user run arbitrary commands as the web/PHP process by supplying an array-valued GPG key identifier (id[]=...) containing shell metacharacters to the key deletion action. The value is filtered only by Validate::string(), an HTML escaper that leaves ;, |, backticks, $() and spaces intact, and is then concatenated into a gpg command executed through proc_open() and /bin/sh -c. The advisory publishes reproduction steps and proof-of-execution screenshots, but no public exploit code is confirmed as working weaponized tooling, and the CVE is not in CISA KEV; the vendor-released patch is 5.13.3, and the priority label is this_week.

RemediationAI

Upgrade RepoManager to 5.13.3, the vendor-released patch version, available at https://github.com/lbr38/repomanager/releases/tag/5.13.3; the fix lands in pull request https://github.com/lbr38/repomanager/pull/403 (commit d380579c84accf1786934deee245650bbc68a562) and does two things: it replaces Validate::string() with escapeshellarg() for the key identifier in controllers/Gpg.php, and it adds a RepoPermission::allowedAction('edit-source') permission check before deletion. If upgrading immediately is not possible, note that the vulnerable action requires a valid authenticated session, so reduce exposure by removing or disabling accounts that do not need repository management access, and by fronting the GPG management and deletion endpoints with an external admin-only access policy or reverse-proxy restriction so that only trusted administrators can reach them; the trade-off is that legitimate delegated users lose the ability to manage signing keys, and the underlying command injection remains exploitable by anyone who does reach the endpoint until 5.13.3 is applied. Because the process runs as the PHP user and has access to the database and GPG keyring, also review server logs for crafted id[] parameters and treat any pre-patch host as potentially compromised.

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

RepoManager is a self-hosted deb/rpm package repository written in PHP, and the flaw is a classic CWE-78 command injection compounded by a CWE-862 missing authorization check. In controllers/Gpg.php the delete handler iterates over the request-supplied key identifiers and builds a string command of the form /usr/bin/gpg --no-default-keyring --homedir <GPGHOME> --keyring <GPGHOME>/trustedkeys.gpg --no-greeting --delete-key --batch --yes <id>. The only sanitization applied to <id> is Validate::string(), which strips HTML-significant characters (< > & " ') but is not a shell-context encoder, so shell metacharacters survive. Controllers/Process.php::execute() passes that string to proc_open(), which on Linux hands it to /bin/sh -c, meaning any injected command after a semicolon (or via pipe, backtick or command substitution) executes with the privileges of the PHP/web user. The endpoint performs only a login check, so the intended 'administrators only' restriction is not enforced; the upstream fix replaces Validate::string() with escapeshellarg() and adds a RepoPermission::allowedAction('edit-source') gate, alongside unrelated hardening in the same pull request. The practical impact extends beyond the web process itself: read access to local files exposes the SQLite databases holding password hashes, API keys and host auth tokens plus the GPG signing keys, and write access to the repository allows tampering with or poisoning the .deb/.rpm packages served to downstream hosts.

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 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network HTTP endpoint (AV:N), no complexity (AC:L), any authenticated user with no enforced admin role (PR:L), no interaction (UI:N); OS command execution as web user gives full C/I/A (H).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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:42 cve.org
HIGH 8.8

DescriptionCVE.org

RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, an authenticated user can supply a user-controlled, array-valued GPG key identifier to the key deletion action. Validate::string() filters HTML characters but not shell metacharacters. The user-controlled identifier reaches the delete action without shell-safe encoding. controllers/Gpg.php contains the vulnerable deletion path. Process::execute() passes the command string through proc_open() and /bin/sh -c, allowing the attacker to execute arbitrary OS commands as the web/PHP process. This can expose secrets or poison packages. Authentication is required, but the advisory makes an administrator-only restriction conditional on the intended access policy and does not establish an administrator role as a prerequisite. Fixed in 5.13.3.

Technical POC Analysis

CWE-78 (OS command injection), with a secondary CWE-862 (missing authorization) weakness.

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

CVE-2026-130160 is a high-severity authenticated command injection flaw in RepoManager 5.13.2 and earlier that allows any logged-in user to execute arbitrary commands on the server hosting the application. While no active exploitation has been observed, the low barrier to entry (any authenticated user) and the public reproduction steps mean internal threat actors or compromised accounts could pivot to full server compromise. Leadership should prioritize remediation this week because the vendor patch is already available and the affected product is likely used by engineering or repository management teams.

Business Impact: High
Compensating Controls

Apply vendor patch: RepoManager 5.13.3. If immediate patching is not possible, restrict authenticated access to trusted users, deploy WAF rules to block shell metacharacters in array parameters, and monitor logs for anomalous command execution.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Low
niche self-hosted open-source deb/rpm repo manager, limited enterprise footprint
Data Quality
4 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.5%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
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