CVE-2026-33161: Craftcms/cms Craft CMS' Anonymous "assets/image-editor" Calls Vulnerability

LOW
Advisory Identifier: GHSA-vgjg-248p-rfm2
CWE-862 CWE-200
Published
Advisory Summary

CVE-2026-33161 is a LOW craft cms' anonymous "assets/image-editor" calls vulnerability (CWE-862: Missing Authorization) affecting Craftcms/cms libraries in the Packagist ecosystem. The issue involves craft cms' anonymous "assets/image-editor" calls return private asset editor metadata to unauthorized users. Remediation is available by upgrading affected packages to version 5.9.14, 4.17.8.

CVE-2026-33161 at a Glance

CVE Identifier CVE-2026-33161
GHSA Identifier GHSA-vgjg-248p-rfm2
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-862: Missing Authorization
Affected Product Craftcms/cms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2026-33161

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

craftcms/cms fixed: 5.9.14
Upgrade craftcms/cms to 5.9.14
craftcms/cms fixed: 4.17.8
Upgrade craftcms/cms to 4.17.8
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 craftcms/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33161, inspect your project dependencies for Craftcms/cms:

inspect dependencies for craftcms/cms

Analyze the terminal output to locate any version of Craftcms/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.9.14), 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 Craftcms/cms, 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 A low-privileged authenticated user can call `assets/image-editor` with the ID of a private asset they cannot view and still receive editor response data, including `focalPoint`. The endpoint returns private editing metadata without per-asset authorization validation. Root-cause analysis: 1. `actionImageEditor()` accepts `assetId` from the request body. 2. The asset is loaded, and the focal-point data is read. 3. Response returns `html` and `focalPoint`. 4. No explicit authorization check is applied before the response. ### Impact ## Affected deployments: * Craft sites where asset edit metadata should remain restricted to authorized users. ## Security consequence: * Unauthorized users can extract private editor metadata and related editor context for inaccessible assets.

CVE-2026-33161 Affected Craftcms/cms Versions

2 component(s)
Fixed Versions:
5.9.144.17.8
Product / Package Ecosystem Affected Versions Fixed Version
craftcms/cms
Packagist
≥ 5.0.0-RC1
< 5.9.14
5.9.14
craftcms/cms
Packagist
≥ 4.0.0-RC1
< 4.17.8
4.17.8

References

Frequently Asked Questions

What is CVE-2026-33161?
CVE-2026-33161 is a security vulnerability in Craftcms/cms involving Craft CMS' anonymous "assets/image-editor" calls return private asset editor metadata to unauthorized users under CWE-862: Missing Authorization.
Which Craftcms/cms versions are affected?
Affected versions include releases prior to 5.9.14, 4.17.8 across affected packages: craftcms/cms.
What version fixes CVE-2026-33161?
Upgrading to 5.9.14, 4.17.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is craftcms/cms affected?
Yes, craftcms/cms is affected in releases prior to 5.9.14, 4.17.8. Upgrade your dependency to 5.9.14, 4.17.8 or later.
What CWE is associated with CVE-2026-33161?
CVE-2026-33161 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-33161?
Run the dependency tree command: 'inspect dependencies for craftcms/cms'. 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-vgjg-248p-rfm2",
  "modified" : "2026-03-25T21:00:22Z",
  "published" : "2026-03-24T17:27:17Z",
  "aliases" : [ "CVE-2026-33161" ],
  "summary" : "Craft CMS' anonymous \"assets/image-editor\" calls return private asset editor metadata to unauthorized users",
  "details" : "### Summary\n\nA low-privileged authenticated user can call `assets/image-editor` with the ID of a private asset they cannot view and still receive editor response data, including `focalPoint`.\n\nThe endpoint returns private editing metadata without per-asset authorization validation.\n\nRoot-cause analysis:\n\n1. `actionImageEditor()` accepts `assetId` from the request body.\n2. The asset is loaded, and the focal-point data is read.\n3. Response returns `html` and `focalPoint`.\n4. No explicit authorization check is applied before the response.\n\n### Impact\n\n## Affected deployments:\n\n* Craft sites where asset edit metadata should remain restricted to authorized users.\n\n## Security consequence:\n\n* Unauthorized users can extract private editor metadata and related editor context for inaccessible assets.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "craftcms/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0-RC1"
      }, {
        "fixed" : "5.9.14"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 5.9.13"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "craftcms/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-RC1"
      }, {
        "fixed" : "4.17.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.17.7"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/craftcms/cms/security/advisories/GHSA-vgjg-248p-rfm2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33161"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/craftcms/cms/commit/d30df3112220db1ffd6726a3ed11857014c7fb27"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/craftcms/cms"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/craftcms/cms/releases/tag/4.17.8"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/craftcms/cms/releases/tag/5.9.14"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-862" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-24T17:27:17Z",
    "nvd_published_at" : "2026-03-24T18:16:10Z"
  }
}