Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any RepoManager user
-
DeliveryOpen GPG key deletion request
-
ExploitInject shell metacharacters via id[] parameter
-
ExecutionCommand executed through /bin/sh -c as www-data
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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).
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 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
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.
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
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
RepoManager versions up to and including 5.13.2 build a shell command from the RPM package filename taken from an upstre
Authenticated path traversal in RepoManager releases up to and including 5.13.2 lets any logged-in user read files outsi
EUVD-2026-130530
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB