CVE-2026-25495
CVE-2026-25495 is a high-severity vulnerability in Craftcms Craft Cms with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v4: 8.7
- EPSS exploit prediction: 1% (39th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-6841
- Weakness: CWE-89
- Affected product: Craftcms Craft Cms
- Published:
- Last modified:
Description
Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the element-indexes/get-elements endpoint is vulnerable to SQL Injection via the criteria[orderBy] parameter (JSON body). The application fails to sanitize this input before using it in the database query. An attacker with Control Panel access can inject arbitrary SQL into the ORDER BY clause by omitting viewState[order] (or setting both to the same payload). This issue is patched in versions 4.16.18 and 5.8.22.
Frequently asked questions
- What is CVE-2026-25495?
- Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the element-indexes/get-elements endpoint is vulnerable to SQL Injection via the criteria[orderBy] parameter (JSON body). The application fails to sanitize this input before using it in the database query. An attacker with Control Panel access can inject arbitrary SQL into the ORDER BY clause by omitting viewState[order] (or setting both to the same payload). This issue is patched in versions 4.16.18 and 5.8.22.
- How severe is CVE-2026-25495?
- CVE-2026-25495 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-25495 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (39th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-25495?
- CVE-2026-25495 primarily affects Craftcms Craft Cms. In total, 7 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2026-25495?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-25495 have an EU (EUVD) identifier?
- Yes. CVE-2026-25495 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-6841.
- When was CVE-2026-25495 published?
- CVE-2026-25495 was published on 2026-02-09 and last updated on 2026-06-17.
References
- https://github.com/craftcms/cms/commit/96c60d775c644ff0a0276da52fe29e11d4cd38d2
- https://github.com/craftcms/cms/releases/tag/5.8.22
- https://github.com/craftcms/cms/security/advisories/GHSA-2453-mppf-46cj
Affected products (7)
- cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*
- cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
More vulnerabilities in Craftcms Craft Cms
- CVE-2025-32432 — Critical (CVSS 10.0): Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from…
- CVE-2023-41892 — Critical (CVSS 10.0): Craft CMS is a platform for creating digital experiences. This is a high-impact, low-complexity attack vector. Users…
- CVE-2026-32267 — Critical (CVSS 9.8): Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.6 and from version…
- CVE-2024-56145 — Critical (CVSS 9.8): Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Users of affected…
- CVE-2024-37843 — Critical (CVSS 9.8): Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint.
- CVE-2021-27903 — Critical (CVSS 9.8): An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution…
All CVEs affecting Craftcms Craft Cms →
Other CWE-89 (SQL Injection) vulnerabilities
- CVE-2026-54350 — Critical (CVSS 10.0): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase…
- CVE-2026-8054 — Critical (CVSS 10.0): Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in the Publish Audit API endpoints…
- CVE-2026-42287 — Critical (CVSS 10.0): Emlog is an open source website building system. Prior to version 2.6.11, direct SQL injection in article creation and…
- CVE-2026-3325 — Critical (CVSS 10.0): SQL injection (SQLi) in MegaCMS v12.0.0, specifically in the “id_territorio” parameter of the…
- CVE-2025-10878 — Critical (CVSS 10.0): A SQL injection vulnerability exists in the login functionality of Fikir Odalari AdminPando 1.0.1 before 2026-01-26.…
- CVE-2025-57792 — Critical (CVSS 10.0): Explorance Blue versions prior to 8.14.9 contain a SQL injection vulnerability caused by insufficient validation of…