Advisory

GHSA-8wg7-wm29-2rvg

Also known as: CVE-2026-32261

Summary

RCE via SSTI for users with permissions to access the Craft CMS Webhooks plugin

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-03-16 18:11 UTC
Modified
2026-03-16 22:01 UTC

Affected packages and fixes

craftcms/webhooks

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.2.0 (ecosystem)

Fixed versions

3.2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences