CVE-2026-35363

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.
References
Link Resource
https://github.com/uutils/coreutils/issues/9749 Exploit Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en la utilidad rm de uutils coreutils permite eludir los mecanismos de salvaguardia destinados a proteger el directorio actual. Si bien la utilidad se niega correctamente a eliminar . o .., no reconoce rutas equivalentes con barras diagonales finales, como ./ o .///. Una ejecución accidental o maliciosa de rm -rf ./ resulta en la eliminación recursiva silenciosa de todo el contenido dentro del directorio actual. El comando oculta aún más la pérdida de datos al informar un error engañoso de ’Invalid input’, lo que puede hacer que los usuarios pierdan la ventana crítica para la recuperación de datos.

Information

Published : 2026-04-22 17:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-35363

Mitre link : CVE-2026-35363

CVE.ORG link : CVE-2026-35363


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-22

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