CVE-2026-27131
CVE-2026-27131 · Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground
This page contains facts from public vulnerability sources. Check the original advisory before updating.
The Sprig Plugin for Craft CMS is a reactive Twig component framework for Craft CMS. Starting in version 2.0.0 and prior to versions 2.15.2 and 3.15.2, admin users, and users with explicit permission to access the Sprig Playground, could potentially expose the security key, credentials, and other sensitive configuration data, in addition to running the `hashData()` signing function. This issue was mitigated in versions 3.15.2 and 2.15.2 by disabling access to the Sprig Playground entirely when `devMode` is disabled, by default. It is possible to override this behavior using a new `enablePlaygroundWhenDevModeDisabled` that defaults to `false`.
CVSS 5.5 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
craft-sprig
- Versions
- >= 3.0.0, < 3.15.2: Affected
- >= 2.0.0, < 2.15.2: Affected
No fix published
putyourlightson/craft-sprig Packagist
- Versions
- 2.0.0
- 2.0.1
- 2.1.0
- 2.10.0
- 2.10.1
- 2.11.0
- 2.12.0
- 2.13.0
- 2.13.1
- 2.14.0
- 2.14.1
- 2.15.0
- 2.15.1
- 2.2.0
- 2.2.1
- 2.3.0
- 2.4.0
- 2.5.0
- 2.5.1
- 2.6.0
- 2.6.1
- 2.6.2
- 2.7.0
- 2.7.1
- 2.7.2
- 2.7.3
- 2.8.0
- 2.8.1
- 2.9.0
- 2.9.0-beta.1
- Affected ranges
- ECOSYSTEM: ≥ 2.0.0, < 2.15.2
Update to 2.15.2
putyourlightson/craft-sprig Packagist
- Versions
- 3.0.0
- 3.0.1
- 3.0.2
- 3.1.0
- 3.1.0-beta.1
- 3.2.0
- 3.2.1
- 3.3.0
- 3.4.0
- 3.5.0
- 3.5.1
- 3.5.2
- 3.6.0
- 3.6.1
- 3.7.0
- 3.7.1
- Affected ranges
- ECOSYSTEM: ≥ 3.0.0, < 3.7.2
Update to 3.7.2
Original sources
- https://github.com/putyourlightson/craft-sprig/security/advisories/GHSA-m59h-42jf-cphr
- https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b
- https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475
- https://nvd.nist.gov/vuln/detail/CVE-2026-27131