Solus eopkg Package Manager Path Traversal Vulnerability Allowing Arbitrary File Installation

Vulnerability

A path traversal vulnerability has been identified in the Solus package manager eopkg, affecting versions prior to 4.4.0. This vulnerability allows a malicious package to escape the directory specified by the --destdir option, leading to files being installed in unintended locations on the host system. The issue arises when a package is sourced from a malicious or compromised origin. Although the vulnerability does not impact users who only install packages from the official Solus repositories, it poses a risk to those who download packages from untrusted sources.

Impact

Exploitation of this vulnerability could result in unauthorized files being installed outside of the designated --destdir directory, potentially leading to system compromise.

Reproduction

To reproduce this vulnerability, create a malicious eopkg package that includes files with relative paths designed to escape the --destdir directory. Install the package using the eopkg command with the --destdir option, directing it to a temporary directory. During the installation, the package manager will extract the files, including those with escaped paths, bypassing the intended directory restriction. After the installation, verify that the malicious files were extracted to locations outside of the specified --destdir.

Remediation

Users should update to eopkg version 4.4.0 or later, where this vulnerability has been fixed.

Added: Jan 1, 2026, 6:18 PM
Updated: Jan 1, 2026, 6:18 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
3.7
remediation
7.7
relevance
1.7
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.