CVE-2026-45260: Pimcore Missing Authorization Vulnerability

HIGH
Advisory Identifier: GHSA-wc7j-g8wx-m2qx
CVSS 8.1
CWE-862
Published
Advisory Summary

CVE-2026-45260 is a HIGH (CVSS 8.1) missing authorization vulnerability (CWE-862: Missing Authorization) affecting Pimcore libraries in the Packagist ecosystem. The issue involves missing authorization in webdav move via unchecked asset move handling. Remediation is available by upgrading affected packages to version 12.3.7, 2026.1.3, 11.5.17.

CVE-2026-45260 at a Glance

CVE Identifier CVE-2026-45260
GHSA Identifier GHSA-wc7j-g8wx-m2qx
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-862: Missing Authorization
Affected Product Pimcore
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-45260

To remediate this vulnerability, upgrade all affected Pimcore dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

pimcore/pimcore fixed: 12.3.7
Upgrade pimcore/pimcore to 12.3.7
pimcore/pimcore fixed: 2026.1.3
Upgrade pimcore/pimcore to 2026.1.3
pimcore/pimcore fixed: 11.5.17
Upgrade pimcore/pimcore to 11.5.17
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for pimcore/pimcore

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-45260, inspect your project dependencies for Pimcore:

inspect dependencies for pimcore/pimcore

Analyze the terminal output to locate any version of Pimcore in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.3.7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Pimcore, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Pimcore's WebDAV asset endpoint exposes a `MOVE` operation through `/asset/webdav{path}` without adding an authentication plugin in the WebDAV controller. The `Tree::move()` implementation then performs asset mutation and deletion before checking a current Pimcore user or any asset permissions. An unauthenticated remote attacker who knows two existing asset paths in the same directory can send a WebDAV `MOVE` request that deletes the source asset. Authenticated low-privileged users may also be able to perform unauthorized asset move or overwrite operations because the move path does not enforce `rename`, `delete`, `create`, or `publish` permissions. ### Details The route for WebDAV is globally registered and accepts arbitrary trailing paths: ```yaml # bundles/CoreBundle/config/routing.yaml pimcore_webdav: path: /asset/webdav{path} defaults: { _controller: Pimcore\Bundle\CoreBundle\Controller\WebDavController::webdavAction } requirements: path: '.*' ``` The controller constructs a SabreDAV server but only attaches lock and browser plugins. It does not attach an authentication plugin or perform an explicit user/session check before starting the server: ```php # bundles/CoreBundle/src/Controller/WebDavController.php $publicDir = new Asset\WebDAV\Folder($homeDir); $objectTree = new Asset\WebDAV\Tree($publicDir); $server = new \Sabre\DAV\Server($objectTree); $server->setBaseUri($this->generateUrl('pimcore_webdav', ['path' => '/'])); $server->addPlugin($lockPlugin); $server->addPlugin(new \Sabre\DAV\Browser\Plugin()); $server->start(); ``` Most WebDAV file and folder operations perform permission checks through `isAllowed()`, but `Tree::move()` does not. In the overwrite path for a same-directory move, it deletes the source asset before resolving the current user: ```php # models/Asset/WebDAV/Tree.php if (dirname($sourcePath) == dirname($destinationPath)) { if ($asset = Asset::getByPath('/' . $destinationPath)) { $sourceAsset = Asset::getByPath('/' . $sourcePath); $asset->setData($sourceAsset->getData()); $sourceAsset->delete(); } ... } $user = \Pimcore\Tool\Admin::getCurrentUser(); $asset->setUserModification($user->getId()); $asset->save(); ``` `Asset::delete()` removes the asset without an internal permission gate: ```php # models/Asset.php public function delete(bool $isNested = false): void { ... $this->getDao()->delete(); ... $this->deletePhysicalFile(); } ``` Because the source asset deletion happens before `$user->getId()`, an unauthenticated request can still cause a deletion even if later execution fails when no current user is present. ### PoC Prerequisites: - Pimcore 2026.1.0 with the built-in WebDAV route enabled. - Two existing asset paths in the same directory, for example `/products/source.jpg` and `/products/existing.jpg`. - No valid session is required for the unauthenticated deletion path. PoC request: ```http MOVE /asset/webdav/products/source.jpg HTTP/1.1 Host: target.example Destination: http://target.example/asset/webdav/products/existing.jpg Overwrite: T ``` Result: The server will return an error after the deletion because `Tree::move()` later attempts to call `$user->getId()` when no current user exists. However, the source asset at `/products/source.jpg` has already been deleted by `$sourceAsset->delete()` before that failure point. For an authenticated low-privileged backend user without sufficient asset permissions, the same request can also reach the unchecked move path and may overwrite the destination asset or move an asset without the expected per-asset permission checks. ### Impact This issue allows remote unauthorized destruction of assets when paths are known or guessable. In Pimcore deployments where assets represent product images, documents, media, or DAM-managed business content, deletion or unauthorized overwrite can cause data loss, content integrity loss, and service disruption.

CVE-2026-45260 Affected Pimcore Versions

3 component(s)
Fixed Versions:
12.3.72026.1.311.5.17
Product / Package Ecosystem Affected Versions Fixed Version
pimcore/pimcore
Packagist
≥ 12.0.0-RC1
< 12.3.7
12.3.7
pimcore/pimcore
Packagist
≥ 2026.1.0
< 2026.1.3
2026.1.3
pimcore/pimcore
Packagist
< 11.5.17
11.5.17

References

Frequently Asked Questions

What is CVE-2026-45260?
CVE-2026-45260 is a security vulnerability in Pimcore involving Missing Authorization in WebDAV MOVE via unchecked asset move handling under CWE-862: Missing Authorization.
Which Pimcore versions are affected?
Affected versions include releases prior to 12.3.7, 2026.1.3, 11.5.17 across affected packages: pimcore/pimcore.
What version fixes CVE-2026-45260?
Upgrading to 12.3.7, 2026.1.3, 11.5.17 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pimcore/pimcore affected?
Yes, pimcore/pimcore is affected in releases prior to 12.3.7, 2026.1.3, 11.5.17. Upgrade your dependency to 12.3.7, 2026.1.3, 11.5.17 or later.
What is the CVSS score of CVE-2026-45260?
CVE-2026-45260 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.
What CWE is associated with CVE-2026-45260?
CVE-2026-45260 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for CVE-2026-45260?
Run the dependency tree command: 'inspect dependencies for pimcore/pimcore'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wc7j-g8wx-m2qx",
  "modified" : "2026-07-10T19:08:21Z",
  "published" : "2026-05-27T17:17:18Z",
  "aliases" : [ "CVE-2026-45260" ],
  "summary" : "Pimcore: Missing Authorization in WebDAV MOVE via unchecked asset move handling",
  "details" : "### Summary\nPimcore's WebDAV asset endpoint exposes a `MOVE` operation through `/asset/webdav{path}` without adding an authentication plugin in the WebDAV controller. The `Tree::move()` implementation then performs asset mutation and deletion before checking a current Pimcore user or any asset permissions.\n\nAn unauthenticated remote attacker who knows two existing asset paths in the same directory can send a WebDAV `MOVE` request that deletes the source asset. Authenticated low-privileged users may also be able to perform unauthorized asset move or overwrite operations because the move path does not enforce `rename`, `delete`, `create`, or `publish` permissions.\n\n### Details\nThe route for WebDAV is globally registered and accepts arbitrary trailing paths:\n\n```yaml\n# bundles/CoreBundle/config/routing.yaml\npimcore_webdav:\n    path: /asset/webdav{path}\n    defaults: { _controller: Pimcore\\Bundle\\CoreBundle\\Controller\\WebDavController::webdavAction }\n    requirements:\n        path: '.*'\n```\n\nThe controller constructs a SabreDAV server but only attaches lock and browser plugins. It does not attach an authentication plugin or perform an explicit user/session check before starting the server:\n\n```php\n# bundles/CoreBundle/src/Controller/WebDavController.php\n$publicDir = new Asset\\WebDAV\\Folder($homeDir);\n$objectTree = new Asset\\WebDAV\\Tree($publicDir);\n$server = new \\Sabre\\DAV\\Server($objectTree);\n$server->setBaseUri($this->generateUrl('pimcore_webdav', ['path' => '/']));\n$server->addPlugin($lockPlugin);\n$server->addPlugin(new \\Sabre\\DAV\\Browser\\Plugin());\n$server->start();\n```\n\nMost WebDAV file and folder operations perform permission checks through `isAllowed()`, but `Tree::move()` does not. In the overwrite path for a same-directory move, it deletes the source asset before resolving the current user:\n\n```php\n# models/Asset/WebDAV/Tree.php\nif (dirname($sourcePath) == dirname($destinationPath)) {\n    if ($asset = Asset::getByPath('/' . $destinationPath)) {\n        $sourceAsset = Asset::getByPath('/' . $sourcePath);\n        $asset->setData($sourceAsset->getData());\n        $sourceAsset->delete();\n    }\n    ...\n}\n\n$user = \\Pimcore\\Tool\\Admin::getCurrentUser();\n$asset->setUserModification($user->getId());\n$asset->save();\n```\n\n`Asset::delete()` removes the asset without an internal permission gate:\n\n```php\n# models/Asset.php\npublic function delete(bool $isNested = false): void\n{\n    ...\n    $this->getDao()->delete();\n    ...\n    $this->deletePhysicalFile();\n}\n```\n\nBecause the source asset deletion happens before `$user->getId()`, an unauthenticated request can still cause a deletion even if later execution fails when no current user is present.\n\n### PoC\nPrerequisites:\n\n- Pimcore 2026.1.0 with the built-in WebDAV route enabled.\n- Two existing asset paths in the same directory, for example `/products/source.jpg` and `/products/existing.jpg`.\n- No valid session is required for the unauthenticated deletion path.\n\nPoC request:\n\n```http\nMOVE /asset/webdav/products/source.jpg HTTP/1.1\nHost: target.example\nDestination: http://target.example/asset/webdav/products/existing.jpg\nOverwrite: T\n```\n\nResult:\n\nThe server will return an error after the deletion because `Tree::move()` later attempts to call `$user->getId()` when no current user exists. However, the source asset at `/products/source.jpg` has already been deleted by `$sourceAsset->delete()` before that failure point.\n\nFor an authenticated low-privileged backend user without sufficient asset permissions, the same request can also reach the unchecked move path and may overwrite the destination asset or move an asset without the expected per-asset permission checks.\n\n### Impact\nThis issue allows remote unauthorized destruction of assets when paths are known or guessable. In Pimcore deployments where assets represent product images, documents, media, or DAM-managed business content, deletion or unauthorized overwrite can cause data loss, content integrity loss, and service disruption.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/pimcore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0-RC1"
      }, {
        "fixed" : "12.3.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 12.3.6"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/pimcore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2026.1.0"
      }, {
        "fixed" : "2026.1.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "pimcore/pimcore"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "11.5.17"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.5.16"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/security/advisories/GHSA-wc7j-g8wx-m2qx"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/pull/19120"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/commit/9d7c77fd9b19fa011ce470de95d4438e65007d99"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pimcore/pimcore"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pimcore/pimcore/releases/tag/v12.3.7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-27T17:17:18Z",
    "nvd_published_at" : null
  }
}