Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/webhooks
  4. ›
  5. CVE-2026-32261

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

March 16, 2026

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.

References

  • github.com/advisories/GHSA-8wg7-wm29-2rvg
  • github.com/craftcms/webhooks
  • github.com/craftcms/webhooks/commit/88344991a68b07145567c46dfd0ae3328c521f62
  • github.com/craftcms/webhooks/security/advisories/GHSA-8wg7-wm29-2rvg
  • nvd.nist.gov/vuln/detail/CVE-2026-32261

Code Behaviors & Features

Detect and mitigate CVE-2026-32261 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.2.0

Fixed versions

  • 3.2.0

Solution

Upgrade to version 3.2.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

packagist/craftcms/webhooks/CVE-2026-32261.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:16:47 +0000.