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

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

mediumCVSS 3.1 5.5GHSA-m59h-42jf-cphr

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.7.2 and 2.15.2 by disabling access to the Sprig Playground entirely when devMode is disabled, by default.

Published Mar 23, 2026 · Updated Mar 30, 2026

Affected packages

putyourlightson/craft-sprig

Ecosystem
Composer (PHP)
Affected
>= 2.0.0, < 2.15.2
Fixed in
2.15.2
Check
composer show putyourlightson/craft-sprig

putyourlightson/craft-sprig

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, < 3.7.2
Fixed in
3.7.2
Check
composer show putyourlightson/craft-sprig

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.7.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 behaviour using a new enablePlaygroundWhenDevModeDisabled that defaults to false.

References:

  • https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475
  • https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b

Credited to Neosprings, bencroker.

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