Security mailing lists by PureSourceCode

CVE-2026-35363

MEDIUM 5.6CVSS 3.1

rm: 'rm -rf ./' (and ./// variants) silently deletes current directory contents, bypassing dot protection

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.

Published
22 Apr 2026
Last modified
26 Oct 2026
Assigned by
security@ubuntu.com
NVD status
Analyzed
Weakness
CWE-22CWE-693
Also known as
GHSA-89p7-7cq3-hhr2
Sources
NVDJSONOSV GHSA-89p7-7cq3-hhr2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@ubuntu.com (Secondary) CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD uutils coreutils
cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*
(no version)
OSV crates.io uu_rm < 0.6.0 0.6.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.