CVE-2025-68456: Craftcms/cms Unauthenticated Craft CMS Users Can Vulnerability
HIGHCVE-2025-68456 is a HIGH unauthenticated craft cms users can vulnerability (CWE-202: Exposure of Sensitive Information Through Data Queries) affecting Craftcms/cms libraries in the Packagist ecosystem. The issue involves unauthenticated craft cms users can trigger a database backup. Remediation is available by upgrading affected packages to version 5.8.21, 4.16.17.
CVE-2025-68456 at a Glance
How to Fix CVE-2025-68456
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-68456, 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-202: Exposure of Sensitive Information Through Data Queries, where when trying to keep information confidential, an attacker can often infer some of the information by using statistics. 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-68456 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 |
≥ 3.0.0
< 4.16.17
|
4.16.17
|
References
Frequently Asked Questions
What is CVE-2025-68456?
Which Craftcms/cms versions are affected?
What version fixes CVE-2025-68456?
Is craftcms/cms affected?
What CWE is associated with CVE-2025-68456?
How can I check Packagist dependencies for CVE-2025-68456?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v64r-7wg9-23pr",
"modified" : "2026-01-09T03:11:23Z",
"published" : "2026-01-05T18:49:56Z",
"aliases" : [ "CVE-2025-68456" ],
"summary" : "Unauthenticated Craft CMS users can trigger a database backup",
"details" : "Unauthenticated users can trigger database backup operations the `updater/backup` action, potentially leading to resource exhaustion or information disclosure.\n\nUsers should update to the patched versions (5.8.21 and 4.16.17) to mitigate the issue.\n\nCraft 3 users should update to the latest Craft 4 and 5 releases, which include the fixes.\n\nReferences:\n\nhttps://github.com/craftcms/cms/commit/f83d4e0c6b906743206b4747db4abf8164b8da39\n\nhttps://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04\n\n## Affected Endpoints\n\n- `POST /admin/actions/updater/backup` (unauthenticated)\n\n## Vulnerability Details\n\n### Root Cause\nAll `updater/*` actions are explicitly configured with anonymous access:\n\n```php\n// BaseUpdaterController.php \nprotected array|bool|int $allowAnonymous = self::ALLOW_ANONYMOUS_LIVE | self::ALLOW_ANONYMOUS_OFFLINE;\n```\n\n### Attack Vector\n1. Send unauthenticated POST request to `/admin/actions/updater/backup`\n2. Database backup executes with configured `backupCommand`",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"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" : "3.0.0"
}, {
"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-v64r-7wg9-23pr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-68456"
}, {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/commit/f83d4e0c6b906743206b4747db4abf8164b8da39"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/craftcms/cms"
}, {
"type" : "WEB",
"url" : "https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-202", "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-05T18:49:56Z",
"nvd_published_at" : "2026-01-05T22:15:52Z"
}
}