# CVE-2026-115938: Craft CMS template injection in element search

Source: https://junglewise.ai/threats/cve-2026-115938-craft-cms-allows-any-authenticated-control-panel-user-to-submit  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-23. Updated: 2026-10-23  
License: CC BY 4.0 with a link back

CVE-2026-115938 · Severity: high · CVSS 8.8 · Published 2026-10-23

Craft CMS is a web-based content management system. An authenticated control panel user can exploit a template injection vulnerability to leak the application's security key, then forge signed requests to execute arbitrary PHP code. This allows account takeover, data theft, or full site compromise by a user with basic admin access.

Technologies: [Craft CMS](https://junglewise.ai/threats/technologies/craft-cms-1). Vendors: [Craft](https://junglewise.ai/threats/vendors/craft).

## Quick answers

**Is CVE-2026-115938 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-115938 being exploited in the wild.

**How severe is CVE-2026-115938?** High severity, with a CVSS score of 8.8, published 23 October 2026.

**Which products and versions are affected?** Craft CMS.

**Is there a fix for CVE-2026-115938?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-115938 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-115938?** Check whether you run Craft CMS. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A two-stage vulnerability: first, an authenticated user submits an element-search condition with a crafted element selector that bypasses Twig's SecurityPolicy sandbox by using Yii's ArrayHelper for property lookup, leaking the security key via a character-oracle side channel. Second, the attacker forges HMAC-signed parameters and passes them to View::renderObjectTemplate(), which evaluates untrusted Twig templates outside the sandbox, allowing PHP code execution through Twig's string-callable form.

## Affected products

- Craft CMS

## Timeline

- 2026-10-23: disclosed

## References

- [https://packagist.org/](https://packagist.org/)
- [https://github.com/craftcms/cms](https://github.com/craftcms/cms)

## Related threats

- [Craft CMS SQL injection in craft.search](https://junglewise.ai/threats/cve-2026-115934-an-unauthenticated-sql-injection-can-occur-on-the-front-end-of)
- [Craft CMS authorization bypass in volume browser](https://junglewise.ai/threats/cve-2026-124431-craft-cms-from-5-10-0-before-5-11-2-contains-an-authorization)
- [Craft CMS privilege escalation in public registration](https://junglewise.ai/threats/cve-2026-124429-craft-cms-from-5-0-0-before-5-11-2-contains-a-privilege)
- [Craft CMS path traversal in app/icon-svg endpoint](https://junglewise.ai/threats/cve-2026-124428-craft-cms-from-5-7-0-before-5-11-2-contains-an-arbitrary-file)
- [Craft CMS authorization bypass in GraphQL schema scope](https://junglewise.ai/threats/cve-2026-124427-craft-cms-from-5-0-0-before-5-11-2-contains-an-authorization)
