Skip to content
OpenAdvisories
Medium · 5.6 CVE-2026-35363 EUVD-2026-25008GHSA-89p7-7cq3-hhr2GHSA-vchc-9ggh-3236

uutils coreutils rm Safeguard Bypass via Improper Path Normalization

Published Apr 22, 2026 · Updated Apr 22, 2026 · Assigned by canonical

Description

A vulnerability in the rm utility of uutils coreutils allows the bypass of safeguard mechanisms intended to protect the current directory. While the utility correctly refuses to delete . or .., it fails to recognize equivalent paths with trailing slashes, such as ./ or .///. An accidental or malicious execution of rm -rf ./ results in the silent recursive deletion of all contents within the current directory. The command further obscures the data loss by reporting a misleading 'Invalid input' error, which may cause users to miss the critical window for data recovery.

Affected products

VendorProductAffectedFixed
Uutils coreutils — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-coreutils 0.8.0-1 —
Debian 13 rust-coreutils No fix yet —
Debian 12 rust-coreutils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS rust-coreutils 0.10.0-1ubuntu2~26.04.1 USN-9041-1
Ubuntu 25.10 rust-coreutils No fix yet —
Ubuntu 24.04 LTS rust-coreutils No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling uutils 0.8.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io uu_rm < 0.6.0 0.6.0 GHSA-89p7-7cq3-hhr2

Advisories 1

References