NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-32261: RCE via SSTI for users with permissions to access the Craft CMS Webhooks plugin

highCVSS 4.0 8.5GHSA-8wg7-wm29-2rvg

The Webhooks plugin renders user-supplied template content through Twig’s renderString() function without sandbox protection. This allows an authenticated user with access to the Craft control panel and permissions to access the Webhooks plugin to inject Twig template code that calls arbitrary PHP functions. This is possible even if allowAdminChanges is set to false.

Published Mar 16, 2026

Affected packages

craftcms/webhooks

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, < 3.2.0
Fixed in
3.2.0
Check
composer show craftcms/webhooks

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

The Webhooks plugin renders user-supplied template content through Twig’s renderString() function without sandbox protection. This allows an authenticated user with access to the Craft control panel and permissions to access the Webhooks plugin to inject Twig template code that calls arbitrary PHP functions.

This is possible even if allowAdminChanges is set to false.

Affected users should update to version 3.2.0 to mitigate the issue.

Credited to Neosprings.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology