CVE-2026-73030 PUBLISHED

unearth 0.18.2 Path Traversal via Unnormalized Paths and Symlink Escape

Assigner: VulnCheck
Reserved: 10.08.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Metrics

CVSS 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
CVSS Score: 7.2

Product Status

Vendor frostming
Product unearth
Versions Default: affected
  • affected from 0 to 0.18.2 (incl.)
  • Version 6c78164e7bfa28b8b3d6f247b87e560692e3c8ba is unaffected

Credits

  • YU SUN finder

References

Problem Types

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