/

CVE-2026-130072

Severity:

CRITICAL RISK

(9.1)

Authentication Bypass (CWE-306) in Cloud Commander

CVE-2026-130072

Received

Vulnerability type

Category:

Authentication Bypass and Path Traversal

CWE:

CWE-306

Impact:

Unauthorized file manipulation, data loss, and denial of service

Severity:

CRITICAL RISK

(9.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Cloud Commander has an authentication bypass in its rename endpoint, combined with path traversal handling that can let unauthenticated attackers rename files outside the configured root. If the endpoint is reachable, an attacker may move files the Node.js process can access, potentially causing data loss or denial of service.

Affected context

The issue occurs in Cloud Commander's PUT /rename request handling when the rename operation is processed before authentication middleware. The from and to paths may accept absolute paths or path traversal segments, allowing operations beyond the configured root if the Node.js process has access to those files.

Exploit preconditions

  • Attack surface: The Cloud Commander PUT /rename endpoint must be reachable by the attacker.
  • Required access: The vulnerable request can be made without authentication.
  • Trigger point: The rename handler processes the request before authentication middleware.
  • Why exploitation is possible: Path values may reference locations outside the configured root, subject to the filesystem permissions of the Node.js process.

Why this happens

The request-handling order allows a sensitive file operation to occur without first enforcing authentication, mapping to CWE-306: Missing Authentication for Critical Function. Insufficient confinement of the from and to paths can also allow traversal beyond the intended root. Together, these weaknesses expose file-renaming functionality to unauthenticated requests and let path resolution exceed the configured boundary.

Potential impact

  • An attacker may rename files outside the configured root that the process can access.
  • File moves could cause data loss or disrupt application availability.
  • Renaming important files could lead to denial of service or operational outages.
  • Sensitive files could be displaced, potentially affecting confidentiality or integrity.

General mitigation guidance

Defensive patterns include requiring authentication and authorization before any file operation, and enforcing authorization at the operation itself rather than relying only on routing order. Resolve and canonicalize requested paths, then verify that both source and destination remain within an explicitly permitted root. Prefer APIs that constrain file operations to a designated directory, validate inputs against a strict schema, and run the service with least-privilege filesystem access.

How teams detect issues like this

  • Review request-routing and middleware order to identify file operations reachable before authentication.
  • Use static analysis and code review to flag rename or file APIs that consume user-controlled paths without canonicalization and root-boundary checks.
  • Monitor access logs for unauthenticated rename requests and requests containing absolute paths or traversal segments.
  • Enforce policies requiring authentication and authorization on all sensitive file-operation routes, with automated checks in CI where practical.

Sources

SourceLink
github.comgithub.com/coderaiser/cloudcmd/blob/v19.21.2/server/cloudcmd.js#L253-L258
github.comgithub.com/coderaiser/cloudcmd/commit/25f496ff1c0d512354de92cb7f76c6e86c16aa8f
github.comgithub.com/coderaiser/cloudcmd/issues/486
github.comgithub.com/coderaiser/cloudcmd/releases/tag/v19.21.4
vulncheck.comvulncheck.com/advisories/cloud-commander-before-19.21.4-authentication-bypass-and-path-traversal-via-put-rename

Frequently asked

questions

It may be exploitable by an unauthenticated remote attacker if the Cloud Commander endpoint is reachable over the network.

No authentication is required for the vulnerable request path as described. The files affected are limited by the Node.js process's filesystem permissions.

Authenticate and authorize requests before file operations, and confine canonicalized source and destination paths to an approved root.

Apply authorization checks to sensitive operations, validate and constrain filesystem paths, run services with least privilege, and test middleware ordering and path-boundary enforcement.

Find out what's already
exploitable in your codebase.