Summary
CVE-2026-104070 is a critical missing-authorization vulnerability (CWE-862) in the Crayons plugin for the SPIP content management system. It allows unauthenticated attackers to modify arbitrary editable object fields in crayons_store.php, and the flaw can be chained to achieve arbitrary PHP code execution on the web server. The vulnerability affects all Crayons plugin versions before 3.5.0 and carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause:
crayons_store.phpfails to perform proper authorization checks when thesecu_anti-forgery parameter is omitted from a request; the authorization dispatcher instead resolves to a handler that always evaluates as authorized, bypassing the intended modification check. - Trigger conditions: An attacker sends a request to
crayons_store.phpwithout thesecu_parameter, with no authentication or prior access required. - Attack vector: Network-based, no privileges or user interaction needed.
- Impact and attack chain: The bypass lets an attacker modify arbitrary editable object fields. This can be chained to write a malicious
.htmlskeleton file, read configuration files containing the site’s secret key, forge a signed AJAX context using that secret, and then trigger execution of the uploaded skeleton — resulting in arbitrary PHP code execution with web-server privileges.
Affected software
- SPIP Crayons plugin: all versions from 0 up to (but not including) 3.5.0
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade the SPIP Crayons plugin to version 3.5.0 or later.
- If immediate patching is not possible: Restrict or disable access to the Crayons plugin’s
crayons_store.phpendpoint at the web server or WAF layer until the update can be applied, and monitor for requests to this endpoint that omit thesecu_parameter.

