Skip to main content

libzypp EUVDEUVD-2026-41406

| CVE-2026-44941 HIGH
Relative Path Traversal (CWE-23)
2026-07-02 suse GHSA-wp9x-wjhc-28mv
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Host malicious or MITM'd repository
  2. Delivery
    Victim adds or refreshes repo
  3. Exploit
    libzypp parses crafted keyhint path
  4. Execution
    Traversal writes file as root
  5. Impact
    Overwrite system file for root code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
Exploitation Conditions

Exploitation requires the attacker to control the content of a repository's repomd.xml metadata (a hosted malicious repo, a compromised mirror, or a MITM position on repository traffic) AND the victim system must add or refresh that repository via libzypp/zypper - this is the UI:R user-interaction requirement. Specifically, the malicious 'keyhint' (gpg-pubkey) field in repomd.xml must contain a path/traversal sequence, which pre-17.38.12 libzypp accepts because its validation regex does not exclude '/'. Limiting factors: it cannot be sprayed at arbitrary hosts (SSVC Automatable: no) because the target must consume the attacker's repository; environments that only use trusted, GPG-signed, TLS-pinned repositories are largely protected; and it is specific to systems using libzypp (SUSE/openSUSE). No target-side authentication or attacker privileges on the host are needed (PR:N), and the file write occurs with libzypp's root privileges.

Impact

Signals are broadly consistent and point to a serious but not trivially remote-mass-exploitable issue. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R, C:H/I:H/A:H, base 8.8) reflects a network-reachable, low-complexity flaw requiring no attacker privileges but requiring user interaction - the victim must add or refresh the attacker's repository. SSVC agrees on impact (Technical Impact: total) and notes Automatable: no, which matches the UI:R requirement: an attacker cannot spray this at arbitrary hosts, they must lure or already control a repository the target uses. EPSS is low (0.49%), and the issue is not in CISA KEV, so there is no evidence of widespread active exploitation despite public PoC. The practical priority is high for any environment that consumes third-party or mirror repositories (or where TLS/pinning is weak enough to allow repo MITM), and lower where all repositories are trusted and integrity-protected. Note the CVSS lists C:H, but the described primary impact is file injection/overwrite (Integrity/Availability); confidentiality is best understood as a consequence of gaining root code execution rather than a direct data-read primitive - worth verifying against the vendor advisory.

Exploit ScenarioDerived

An attacker stands up (or MITM-substitutes) a software repository whose repomd.xml contains a gpg-pubkey keyhint value embedding a relative path traversal sequence. When an administrator or automated tooling adds or refreshes that repository, vulnerable libzypp resolves the attacker-controlled keyhint as a filesystem path and writes/overwrites a file as root - for example dropping a cron job, sudoers fragment, or SSH key - yielding root code execution. Public PoC exists, and the low attack complexity means a lured or compromised repository reliably triggers the flaw.

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

AnalysisAIv3 – Jul 07, 2026

Arbitrary root file write in libzypp before 17.38.12 lets an attacker who can get a victim to add or refresh a malicious software repository overwrite or inject files anywhere on the system as root, because the "keyhint" value in repomd.xml is parsed without rejecting path separators (CWE-23 relative path traversal). Because libzypp performs repository operations with root privileges on SUSE/openSUSE systems, this escalates directly to full host compromise. Publicly available exploit code exists (SSVC=poc); it is not listed in CISA KEV, and EPSS is low (0.49%, 38th percentile), consistent with a targeted rather than mass-exploited flaw.

Earlier versions of this analysis (2)
v2 Jul 07, 2026 - 17:43 cvss changed CVSS 8.8

Arbitrary root-level file write in libzypp (SUSE/openSUSE's ZYpp package management library) before 17.38.12 allows an attacker who controls a repository to escape the intended key directory via a crafted 'keyhint' value in repomd.xml, injecting or overwriting files anywhere on the target as root. The flaw stems from insufficient sanitization of the gpg-pubkey filename during repomd parsing, and a victim must add or refresh against the malicious repository for exploitation to occur. SSVC records a proof-of-concept exploitation state with total technical impact; EPSS is low at 0.49% and the CVE is not listed in CISA KEV.

v1 Jul 02, 2026 - 16:31 CVSS 8.4

Arbitrary root file write in libzypp before 17.38.12 lets an attacker who controls a repository consumed by the target inject or overwrite files as root via a path-traversal sequence in the repomd.xml "keyhint" option. Because zypper/libzypp refreshes repository metadata with root privileges on SUSE and openSUSE systems, a successful write can lead to full system compromise. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV; a vendor patch exists (commit 294b1bad).

RemediationAI

Vendor-released patch: upgrade libzypp to 17.38.12 or later, which fixes the keyhint regex to reject path separators (upstream commit https://github.com/openSUSE/libzypp/commit/294b1bad442d089ca671c5c03adc8031e3b29e04; tracking bug https://bugzilla.suse.com/show_bug.cgi?id=1267426). Apply the distribution package update for your SUSE/openSUSE release rather than building from source where possible. Until patched, the most effective compensating control is to only add and refresh repositories you fully trust and that are served over authenticated, integrity-protected channels: remove or disable any third-party, community, or mirror repositories of uncertain provenance, and avoid running 'zypper ref'/'zypper in' against untrusted repos. Enforcing GPG signature checking and TLS with certificate validation on all repositories reduces the chance an attacker can substitute malicious repomd.xml via MITM; the trade-off is operational friction for internal mirrors that lack signing. Avoid processing repositories supplied by untrusted users or automation until the update is deployed.

Affected VersionsENISA

libzypp 0 <17.38.12

Affected Packages

euvd libzypp fix: 17.38.12

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

libzypp is the C++ package-management library underpinning zypper and YaST on SUSE Linux Enterprise and openSUSE, responsible for fetching and parsing repository metadata (repomd.xml) in the YUM/DNF metadata format. The flaw is in RepomdFileReader.cc, where the regular expression validating the gpg-pubkey "keyhint" entry accepted arbitrary characters including '/', allowing a repository-controlled string to be treated as a filesystem path. This is a classic CWE-23 relative path traversal: attacker-controlled metadata is used to construct a destination path for a key file, and traversal sequences let that path escape the intended keys directory. The vendor fix (commit 294b1bad) tightens the regex from "^(gpg-pubkey([^?]*))..." to "^(gpg-pubkey([^/?]*))...", explicitly forbidding '/' so the keyhint can no longer be a path.

Know when Libzypp 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 (suse) PRIMARY HIGH
NVD 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Repo metadata is network-delivered (AV:N) with no attacker privileges (PR:N) but requires the victim to add/refresh the malicious repo (UI:R); root file overwrite yields total integrity/availability loss and code-execution-driven confidentiality impact.

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

Primary rating from Vendor (suse).

CVSS VectorNVD

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

Lifecycle Timeline

3
Analysis Updated
Jul 07, 2026 - 17:44 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 07, 2026 - 17:43 vuln.today
v2 - CVSS changed
CVSS changed
Jul 07, 2026 - 17:37 NVD
8.4 (HIGH) 8.8 (HIGH)

DescriptionNVD

A relative path traversal in the "keyhint" option in repomd.xml parsing of libzypp before 17.38.12 can be used by attackers able to supply a malicious repository to inject or overwrite files in the target system as root.

Executive ViewAI

Why It Matters

The SUSE package manager (libzypp) contains a path traversal vulnerability allowing complete system compromise if users add malicious repositories, directly threatening organizations operating SUSE and openSUSE infrastructure. Urgent patching is required to eliminate this vector to full root access.

Business Impact: High
Compensating Controls

Apply vendor patch: libzypp 17.38.12

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
Medium
core package library for SUSE/openSUSE systems, not other distros
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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

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

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Container suse/ltss/sle15.4/sle15:15.4-6.29 Container suse/manager/4.3/proxy-httpd:4.3.18.9.79.16 Container suse/manager/4.3/proxy-salt-broker:4.3.18.9.69.16 Container suse/sle-micro-rancher/5.3:latest Container suse/sle-micro-rancher/5.4:5.4.4.5.138 Container suse/sle-micro/5.3/toolbox:16.3-6.11.242 Container suse/sle-micro/5.4/toolbox:16.3-5.19.243 Image SLES15-SP4-CHOST-BYOS Image SLES15-SP4-CHOST-BYOS-Aliyun Image SLES15-SP4-CHOST-BYOS-Azure Image SLES15-SP4-CHOST-BYOS-EC2 Image SLES15-SP4-CHOST-BYOS-GCE Image SLES15-SP4-CHOST-BYOS-SAP-CCloud Affected
Container suse/ltss/sle15.5/sle15:15.5-8.46 Container suse/sle-micro/5.5/toolbox:16.3-3.12.150 Container suse/sle-micro/base-5.5:2.0.4-5.8.285 Affected
Container suse/ltss/sle15.6/sle15:15.6-5.66 Affected
Container suse/multi-linux-manager/5.1/x86_64/proxy-httpd:5.1.4.8.24.2 Container suse/multi-linux-manager/5.1/x86_64/proxy-salt-broker:5.1.4.9.22.2 Container suse/sle15:15.7-5.20.31 Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2-ECS-HVM Affected
Container suse/multi-linux-manager/5.1/x86_64/server-saline:5.1.4.9.22.1 Image proxy-salt-broker-image Image server-saline-image Affected

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