CVE-2026-73030

unearth 0.18.2 Path Traversal via Unnormalized Paths and Symlink Escape

Published Aug 10, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:08 PM
Reserved
Aug 10, 2026, 6:48 PM
Status
Deferred
Published
Aug 10, 2026, 9:17 PM
Modified
Oct 24, 2026, 3:10 PM