CVE-2025-61785

Deno is a JavaScript, TypeScript, and WebAssembly runtime. In versions prior to 2.5.3 and 2.2.15, `Deno.FsFile.prototype.utime` and `Deno.FsFile.prototype.utimeSync` are not limited by the permission model check `--deny-write=./`. It's possible to change to change the access (`atime`) and modification (`mtime`) times on the file stream resource even when the file is opened with `read` only permission (and `write`: `false`) and file write operations are not allowed (the script is executed with `--deny-write=./`). Similar APIs like `Deno.utime` and `Deno.utimeSync` require `allow-write` permission, however, when a file is opened, even with read only flags and deny-write permission, it's still possible to change the access (`atime`) and modification (`mtime`) times, and thus bypass the permission model. Versions 2.5.3 and 2.2.15 fix the issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*

History

08 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Deno es un entorno de ejecución de JavaScript, TypeScript y WebAssembly. En versiones anteriores a la 2.5.3 y 2.2.15, 'Deno.FsFile.prototype.utime' y 'Deno.FsFile.prototype.utimeSync' no están limitadas por la verificación del modelo de permisos '--deny-write=./'. Es posible cambiar los tiempos de acceso ('atime') y modificación ('mtime') en el recurso de flujo de archivo incluso cuando el archivo se abre con permiso de solo lectura ('read' only permission) (y 'write': 'false') y las operaciones de escritura de archivos no están permitidas (el script se ejecuta con '--deny-write=./'). APIs similares como 'Deno.utime' y 'Deno.utimeSync' requieren permiso de 'allow-write', sin embargo, cuando se abre un archivo, incluso con banderas de solo lectura y permiso de denegación de escritura, todavía es posible cambiar los tiempos de acceso ('atime') y modificación ('mtime'), y así eludir el modelo de permisos. Las versiones 2.5.3 y 2.2.15 corrigen el problema.

Information

Published : 2025-10-08 01:15

Updated : 2026-10-08 13:10


NVD link : CVE-2025-61785

Mitre link : CVE-2025-61785

CVE.ORG link : CVE-2025-61785


JSON object : View

Products Affected

deno

  • deno
CWE
CWE-266

Incorrect Privilege Assignment