8.8

CVE-2026-31858: craftcms cms SQL Injection

CVSS: 8.8v3.1HighAnalyzed
Published 11-03-2026Last modified 12-03-2026

Vulnerability summary

CVE-2026-31858 is a high (CVSS 8.8) SQL Injection vulnerability in craftcms cms. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 40.4% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · +0.13 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 11-03-2026
    PublishedVulnerability first disclosed.
  2. 12-03-2026
    Last modifiedVulnerability information updated.

Description

Craft is a content management system (CMS). The ElementSearchController::actionSearch() endpoint is missing the unset() protection that was added to ElementIndexesController in CVE-2026-25495. The exact same SQL injection vulnerability (including criteria[orderBy], the original advisory vector) works on this controller because the fix was never applied to it. Any authenticated control panel user (no admin required) can inject arbitrary SQL via criteria[where], criteria[orderBy], or other query properties, and extract the full database contents via boolean-based blind injection. Users should update to the patched 5.9.9 release to mitigate the issue.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

+0.13 pp

From 0.35% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Craftcms2 products
  • cms≥ 5.0.0-RC1, ≤ 5.9.8
  • craft_cms≥ 5.0.1, < 5.9.9 | 5.0.0 | 5.0.0:rc1

1 vendor · 2 products

References

2 links