/

CVE-2026-45260

Severity:

HIGH RISK

(8.1)

Missing Auth on WebDAV MOVE (CWE-862) in Pimcore

CVE-2026-45260

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Unauthorized Asset Modification and Deletion

Severity:

HIGH RISK

(8.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

Pimcore's WebDAV asset endpoint exposes a MOVE operation without enforcing authentication or permission checks on asset mutations.

Under certain deployment conditions, an attacker who can reach this endpoint may delete, move, or overwrite assets without being a valid Pimcore user.

Affected context

This vulnerability appears in Pimcore deployments that expose the WebDAV asset endpoint (/asset/webdav{path}) through the WebDavController without an authentication plugin.

When WebDAV MOVE requests are processed by models/Asset/WebDAV/Tree.php, asset mutation and deletion logic in models/Asset.php is invoked before confirming a current Pimcore user or validating rename, delete, create, or publish permissions.

Environments with externally accessible WebDAV endpoints or where network-level controls are weak are more likely to be affected.

Exploit preconditions

  • Attack surface: HTTP/WebDAV endpoint at /asset/webdav{path}.
  • Required access: Network access to the Pimcore WebDAV asset endpoint; no valid Pimcore user account is strictly required if the endpoint is exposed.
  • Trigger point: Issuing crafted WebDAV MOVE requests targeting existing asset paths.
  • Why exploitation is possible: The MOVE operation is processed without enforcing authentication or checking asset-level permissions, allowing unauthorized rename, move, overwrite, or deletion operations.

Why this happens

The underlying issue is a missing authorization control on a state-changing WebDAV operation, mapped to CWE-862: Missing Authorization.

The WebDAV controller exposes MOVE on /asset/webdav{path} without integrating an authentication plugin, and the associated tree/asset logic carries out mutations before validating the presence of a current user or checking appropriate permissions.

This insecure pattern arises when sensitive operations (rename, delete, create, publish) are wired into request handlers without consistent access control enforcement, leading to trust in unauthenticated or improperly authorized requests.

Potential impact

  • Unauthorized deletion of existing digital assets and media files.
  • Unauthorized moves or renames that can break site content, links, and integrations.
  • Overwriting of assets, potentially resulting in data loss or content defacement.
  • Indirect disruption of marketing campaigns, product catalogs, or user experiences that rely on Pimcore-managed assets.
  • Potential staging of malicious content under trusted asset URLs, depending on how assets are consumed downstream.

General mitigation guidance

Mitigation typically centers on enforcing consistent authentication and authorization for all state-changing endpoints.

Useful patterns include:

  • Ensuring that every WebDAV operation (MOVE, DELETE, COPY, PUT) is guarded by middleware or plugins that validate user identity and permissions.
  • Applying role- and permission-based checks in asset mutation routines rather than relying solely on controller-level assumptions.
  • Designing asset APIs with secure defaults, where unauthenticated requests are limited to strictly read-only operations or blocked entirely.
  • Restricting exposure of administrative or asset management endpoints to internal networks or VPNs and aligning them with least-privilege principles.
  • Establishing centralized access control policies so that new endpoints cannot bypass existing authorization layers.

How teams detect issues like this

Detection efforts can focus on both code-level and operational signals:

  • Static analysis or manual review looking for controller actions that perform mutations (rename, delete, move, publish) without explicit authentication or permission checks.
  • Architectural reviews to confirm that all WebDAV routes pass through standardized auth middleware or plugins and do not define exceptions for sensitive operations.
  • Log analysis to identify anomalous MOVE requests from unexpected IP ranges or unauthenticated contexts targeting high-value asset paths.
  • Policy-based enforcement (e.g., in CI/CD) that flags new endpoints exposing destructive operations unless they reference approved authorization components.
  • Optional use of security scanning tools configured to probe WebDAV endpoints for unauthorized modifications.

Sources

SourceLink
github.comgithub.com/pimcore/pimcore/commit/9d7c77fd9b19fa011ce470de95d4438e65007d99
github.comgithub.com/pimcore/pimcore/pull/19120
github.comgithub.com/pimcore/pimcore/releases/tag/v12.3.7
github.comgithub.com/pimcore/pimcore/security/advisories/GHSA-wc7j-g8wx-m2qx

Frequently asked

questions

Yes, if the Pimcore WebDAV asset endpoint is reachable over the network from an attacker's environment. Remote exploitation is possible without a valid Pimcore account when the endpoint is exposed.

The attacker needs network access to the /asset/webdav{path} endpoint. No application-level authentication is strictly required for exploiting the MOVE operation if access control is not enforced by surrounding infrastructure.

The safest pattern is to ensure that all asset-modifying operations, including WebDAV MOVE, are consistently protected by authentication and fine-grained authorization checks. Centralizing access control logic and applying it to every state-changing route reduces the chance of future omissions.

Adopt a design where sensitive endpoints cannot be created without passing through standardized auth middleware, enforce code review practices that explicitly verify access control on mutation operations, and use automated checks to flag any controller logic that performs asset changes without explicit permission validation.

Find out what's already
exploitable in your codebase.