Skip to main content
EPSS 0.5%top 58%

CVE-2026-79991: CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection') in craftcms cms

0
High
VulnerabilityCVE-2026-79991cvecve-2026-79991cwe-89
Published: 09/02/2026 (09/02/2026, 14:25:15 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

Craft CMS GraphQL entry mutation resolvers (saveEntry, deleteEntry) read siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via array_intersect against the GraphQL schema’s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely — an attacker with a token scoped to Site A can create, modify, or delete entries in Site B by passing siteId in the mutations argument.

CVSS v4.0

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

craftcms

cms

Affected versions
>=5.0.0-RC1 <5.10.13
Packagistmore threats →cve
craftcms/cms
pkg:composer/craftcms/cms
Affected versions
>=5.0.0-RC1 <5.10.13

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:34:49 UTC

Technical Analysis

The vulnerability in Craft CMS 5.0.0-RC1 involves improper neutralization of special elements used in SQL commands (CWE-89). Specifically, the GraphQL entry mutation resolvers (saveEntry, deleteEntry) do not pass the siteId argument through the ArgumentManager's prepareArguments() function, which enforces site-scope filtering. As a result, an attacker with a token scoped to Site A can manipulate entries in Site B by specifying siteId in mutation arguments. While queries correctly enforce site restrictions, mutations do not, leading to unauthorized data modification across site boundaries.

Potential Impact

An attacker with limited privileges scoped to one site can perform unauthorized mutations (create, modify, delete) on entries belonging to other sites within the same Craft CMS instance. This can lead to data integrity issues and unauthorized data manipulation. The vulnerability has a CVSS 4.0 base score of 7.1 (high severity), indicating significant risk if exploited.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access tokens to trusted users and monitor for suspicious mutation activity. Avoid using the affected version 5.0.0-RC1 in production environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Hackrate
Date Reserved
2026-08-25T16:39:03.171Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9834beacd9273b49595b5b

Added to database: 09/02/2026, 14:37:50 UTC

Last enriched: 09/07/2026, 13:34:49 UTC

Last updated: 10/17/2026, 18:48:22 UTC

Views: 95

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses