Description
unearth through 0.18.2, fixed in commit 6c78164, contains a path traversal vulnerability in the is_within_directory function that fails to normalize paths before validation, allowing ../ sequences to bypass directory containment checks. Attackers can supply malicious tar archives with symlink members or traversal sequences to write files to arbitrary filesystem locations accessible to the process.
Published: 2026-08-10
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

unearth contains a path traversal flaw in its is_within_directory function because it does not normalize paths before checking containment. This allows crafted tar archives that include "../" sequences or symlink members to escape the intended directory. An attacker can supply such a malicious archive and cause unearth to write files to any location on the filesystem that the process can access, potentially exposing or modifying sensitive data, or overwriting configuration files that enable remote code execution if exploited further.

Affected Systems

The flaw exists in the open‑source utility frostming:unearth for all releases up to and including 0.18.2, which is packaged as a Python module. Systems that host or run unearth and accept user‑supplied tar archives are susceptible; any deployment that processes such archives without additional filtering falls into this risk scope.

Risk and Exploitability

The CVSS score of 7.2 indicates high severity, and the vulnerability is local and remote depending on whether unearth is exposed to external inputs. The EPSS score is not available, but the preliminary data suggests exploitation is plausible, especially in environments where unearth is publicly accessible. The issue is not currently listed in CISA’s KEV catalog, but its high impact warrants immediate attention.

Generated by OpenCVE AI on August 10, 2026 at 21:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest unearth release (0.18.3 or newer) where the is_within_directory check has been fixed and proper path normalization is enforced.
  • If an upgrade is not feasible, apply the authoritative patch from commit 6c78164e7bfa28b8b3d6f247b87e560692e3c8ba that corrects the path validation logic.
  • If the tool cannot be patched or upgraded, eliminate its processing of external tar archives or move it behind a stricter access control layer that sanitizes input paths before passing them to unearth.

Generated by OpenCVE AI on August 10, 2026 at 21:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 10 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description unearth through 0.18.2, fixed in commit 6c78164, contains a path traversal vulnerability in the is_within_directory function that fails to normalize paths before validation, allowing ../ sequences to bypass directory containment checks. Attackers can supply malicious tar archives with symlink members or traversal sequences to write files to arbitrary filesystem locations accessible to the process.
Title unearth 0.18.2 Path Traversal via Unnormalized Paths and Symlink Escape
First Time appeared Frostming
Frostming unearth
Weaknesses CWE-22
CPEs cpe:2.3:a:frostming:unearth:0.10.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.11.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.11.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.11.2:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.12.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.12.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.5.2:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.6.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.6.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.6.2:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.6.3:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.7.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.7.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.7.2:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.8.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.8.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.9.0:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.9.1:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.9.2:*:*:*:*:python:*:*
cpe:2.3:a:frostming:unearth:0.9.3:*:*:*:*:python:*:*
Vendors & Products Frostming
Frostming unearth
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Frostming Unearth
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-11T17:16:13.975Z

Reserved: 2026-08-10T18:48:59.022Z

Link: CVE-2026-73030

cve-icon Vulnrichment

Updated: 2026-08-11T17:16:08.618Z

cve-icon NVD

Status : Received

Published: 2026-08-10T21:17:26.450

Modified: 2026-08-11T18:18:25.960

Link: CVE-2026-73030

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T03:15:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')