CVE-2025-68436: Craftcms/cms Craft CMS Vulnerable To Potential Vulnerability
MODERATECVE-2025-68436 is a MODERATE craft cms vulnerable to potential vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Craftcms/cms libraries in the Packagist ecosystem. The issue involves craft cms vulnerable to potential information disclosure via unchecked asset relocation. Remediation is available by upgrading affected packages to version 5.8.21, 4.16.17.
CVE-2025-68436 at a Glance
How to Fix CVE-2025-68436
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.
Upgrade craftcms/cms to 5.8.21
Upgrade craftcms/cms to 4.16.17
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-2025-68436, 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.8.21), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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
CVE-2025-68436 Affected Craftcms/cms Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
craftcms/cms
|
Packagist |
≥ 5.0.0-RC1
< 5.8.21
|
5.8.21
|
|
craftcms/cms
|
Packagist |
≥ 4.0.0-RC1
< 4.16.17
|
4.16.17
|
References
Frequently Asked Questions
What is CVE-2025-68436?
Which Craftcms/cms versions are affected?
What version fixes CVE-2025-68436?
Is craftcms/cms affected?
What CWE is associated with CVE-2025-68436?
How can I check Packagist dependencies for CVE-2025-68436?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-53vf-c43h-j2x9",
"modified" : "2026-01-06T15:52:07Z",
"published" : "2026-01-05T17:42:31Z",
"aliases" : [ "CVE-2025-68436" ],
"summary" : "Craft CMS vulnerable to potential information disclosure via unchecked asset relocation",
"details" : "Authenticated users on a Craft installation could potentially expose sensitive assets via their user profile photo via maliciously crafted requests.\n\nUsers should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.\n\nResources:\n\nhttps://github.com/craftcms/cms/commit/4bcb0db554e273b66ce3b75263a13414c2368fc9\n\nhttps://github.com/craftcms/cms/commit/4bcb0db554e273b66ce3b75263a13414c2368fc9",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.8.21"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 5.8.20"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "craftcms/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0-RC1"
}, {
"fixed" : "4.16.17"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.16.16"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/security/advisories/GHSA-53vf-c43h-j2x9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68436"
}, {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/commit/4bcb0db554e273b66ce3b75263a13414c2368fc9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/craftcms/cms"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-05T17:42:31Z",
"nvd_published_at" : "2026-01-05T22:15:52Z"
}
}