Skip to main content

RepoManager EUVDEUVD-2026-130529

| CVE-2026-130159 MEDIUM
Path Traversal (CWE-22)
2026-11-19 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with any low-privilege account
  2. Delivery
    Invoke get-unit-log with traversal logfile value
  3. Exploit
    Bypass Validate::string(), which leaves ../ intact
  4. Execution
    Read files outside SERVICE_LOGS_DIR as www-data
  5. Impact
    Exfiltrate GPG passphrase, SSO secret and source code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated RepoManager session of any privilege level (PR:L) - the get-unit-log AJAX action in www/controllers/ajax/status/service.php is reachable by any logged-in user via the Status page 'Service Units' panel. The specific prerequisite is the ability to POST the 'unit' and attacker-controlled 'logfile' parameters; because Validate::string() only HTML-escapes and does not strip ../, and the path is built as SERVICE_LOGS_DIR . '/' . logDir . '/' . logfile with no basename()/realpath() containment, traversal succeeds against default configurations with no special settings enabled. Limiting factors: (1) a valid authenticated account is mandatory - there is no unauthenticated path; (2) disclosure is bounded to files readable by the www-data service account; and (3) the value of the attack depends on sensitive files (GPG passphrase, app.yaml) residing in predictable locations, which the advisory confirms for standard installs.

Impact

This is a moderate-severity, authenticated arbitrary file read (CWE-22) with a coherent signal set. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N = 6.5) is internally consistent with the description: network-reachable, low attack complexity, requires a low-privilege authenticated session, no user interaction, and pure confidentiality impact (C:H, I:N, A:N) with no scope change. The vuln.today decision label is 'this_month' (not act_now/emergency), and no CISA KEV listing or EPSS score is present in the input, so there is no evidence of active or automated exploitation - the exploitation status is best described as 'no confirmed active exploitation; a public PoC reference exists'. The GHSA advisory supplies detailed step-by-step reproduction (Burp intercept of the 'View' request, substituting a traversal path), so this is not a theoretical bug. The practical risk driver is the confirmed exposure of high-value secrets readable by www-data - the GPG signing-key passphrase, an OIDC/SSO client secret in app.yaml, and application source code - which enables privilege escalation and potential repository-signing compromise beyond the nominal 'information disclosure' label. The main mitigating factor is the PR:L requirement: an attacker must already hold a valid (even low-privilege) RepoManager account, which limits this to insiders or post-foothold scenarios rather than unauthenticated mass exploitation. Net: a real priority for any multi-user RepoManager instance because of what gets disclosed, but not an emergency given the authentication barrier and absence of KEV/EPSS escalation signals.

Exploit ScenarioDerived

A low-privilege authenticated user opens the Status page, intercepts the 'View' request for a Service Unit log, and replaces the logfile parameter with a traversal path such as ../../../../etc/passwd or the path to the repository's .gnupg/passphrase. The server joins the attacker value to SERVICE_LOGS_DIR without containment checks and returns the resolved file contents, disclosing the GPG signing-key passphrase, OIDC/SSO client secret, and source code. A public PoC reference with full reproduction steps exists in the GHSA advisory; it is not verified as standalone working exploit code, but the attack is trivially reproducible per AV:N/AC:L.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Authenticated path traversal in RepoManager releases up to and including 5.13.2 lets any logged-in user read files outside SERVICE_LOGS_DIR through the get-unit-log AJAX action, including app.yaml (OIDC/SSO client secret on configured instances), the .gnupg/passphrase protecting the repository GPG signing key, application source code and system files such as /etc/passwd. The vendor advisory is public and includes a reproducible step-by-step walkthrough with screenshots, so a public PoC reference exists; it is not verified as working exploit code, and there is no confirmed active exploitation (not in CISA KEV) or EPSS signal in the supplied data. Exposure is bounded to files readable by the www-data service account and requires a valid session, but because any privilege level suffices, a low-privileged account can harvest administrator and application secrets and pivot to privilege escalation; the provider's priority label places remediation within this month rather than as an emergency.

RemediationAI

Upgrade to RepoManager 5.13.3, the vendor-released fix version, which strips directory components from the logfile parameter and enforces path containment; the change set is visible in pull request https://github.com/lbr38/repomanager/pull/403 and commit d380579c84accf1786934deee245650bbc68a562, with release notes at https://github.com/lbr38/repomanager/releases/tag/5.13.3 and the original advisory at https://github.com/lbr38/repomanager/security/advisories/GHSA-vqjf-mvm9-x879. The advisory is explicit that Validate::string() is an HTML-output escaper for XSS and is not a suitable filesystem-path validator, and that the correct fix is to strip any directory component from the user-supplied value, for example basename(Validate::string($_POST['logfile'])), and/or verify with realpath() that the resolved path stays inside the intended logs directory; administrators maintaining a patched fork should apply exactly that containment check at the point where SERVICE_LOGS_DIR is concatenated with $logDir and $logfile. Until the upgrade is deployed, the exposure is not confined to administrators: every authenticated account can invoke the action, so reducing the number of valid RepoManager accounts to the minimum needed limits who can reach the vulnerable endpoint, and because disclosure is bounded by the www-data service account's read permissions, tightening those permissions on app.yaml and the .gnupg directory containing the signing-key passphrase reduces what a traversal can reach. Because the leaked GPG passphrase protects repository signing keys and app.yaml holds OIDC/SSO client secrets, rotate those credentials after upgrading on any instance where untrusted or low-privileged users held accounts.

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 PHP application serving deb/rpm package repositories. The flaw is a classic CWE-22 path traversal caused by trusting an HTML escaper as a filesystem validator: in www/controllers/ajax/status/service.php the logfile POST parameter is passed through \Controllers\Utils\Validate::string(), which is implemented as htmlspecialchars(stripslashes(trim())) and therefore neutralises markup characters but leaves '.' and '/' untouched, so '../' sequences survive verbatim. The controller then builds a path as SERVICE_LOGS_DIR . '/' . $logDir . '/' . $logfile with no basename() or realpath() containment check, resolves it with file_get_contents(), and returns the raw contents to the client via response(HTTP_OK, $content) from the authenticated 'Service Units' panel on the Status page. Because the traversal lands wherever the resolved path points relative to the logs directory, an attacker who can estimate the installation layout (for example /var/lib/repomanager/logs/service/notifications/) can walk up to predictable secrets and configuration. The upstream PR 403 shows the intended fix pattern: basename() on the supplied value, plus realpath()-based containment checks of the same style the patch also adds to the Layout/Container renderer, confirming that the project's own remediation philosophy is to validate resolved paths rather than escape them.

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

Network-reachable AJAX action with low complexity; any authenticated account suffices so PR:L; arbitrary read of secrets gives C:H with no integrity or availability impact and no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 20:04 EUVD

DescriptionCVE.org

RepoManager is a self-hosted deb/rpm package repository. Prior to 5.13.3, the authenticated get-unit-log action accepts a caller-controlled logfile value. Validate::string() escapes HTML but leaves path traversal components unchanged. The action joins the caller-controlled logfile to SERVICE_LOGS_DIR without enforcing containment, so traversal can resolve the file read outside that directory. www/controllers/ajax/status/service.php reads and returns the resolved file, and any authenticated user can invoke the action to retrieve files readable by the www-data service account, including application configuration, source code, and the GPG signing-key passphrase. Fixed in 5.13.3.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche self-hosted deb/rpm repository tool by an independent developer
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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