Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. putyourlightson/craft-sprig
  4. ›
  5. CVE-2026-27131

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

March 23, 2026

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

References

  • github.com/advisories/GHSA-m59h-42jf-cphr
  • github.com/putyourlightson/craft-sprig
  • github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b
  • github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475
  • github.com/putyourlightson/craft-sprig/security/advisories/GHSA-m59h-42jf-cphr
  • nvd.nist.gov/vuln/detail/CVE-2026-27131

Code Behaviors & Features

Detect and mitigate CVE-2026-27131 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 2.0.0 before 2.15.2, all versions starting from 3.0.0 before 3.15.2

Fixed versions

  • 3.15.2
  • 2.15.2

Solution

Upgrade to versions 2.15.2, 3.15.2 or above.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-489: Active Debug Code

Source file

packagist/putyourlightson/craft-sprig/CVE-2026-27131.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 24 Mar 2026 12:19:22 +0000.