Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31858

8.8 · HIGH
Published Mar 11, 2026 craftcms CWE-89

Overview

CVE-2026-31858 is a high-severity vulnerability affecting craftcms craft_cms. It was published on March 11, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from craftcms. Update craft_cms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
craftcms craft_cms >= 5.0.1, < 5.9.9 Affected

Frequently Asked Questions

What is CVE-2026-31858?

CVE-2026-31858 is a high-severity vulnerability affecting craftcms craft_cms. It was published on March 11, 2026 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2026-31858?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2026-31858?

Check the references section for vendor advisories and patches from craftcms. Update craft_cms to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31858?

CyberStrike's AI-powered security agents can automatically detect CVE-2026-31858 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.

Browse by year 2026