CVE-2026-27131: Putyourlightson/craft sprig Sprig Plugin For Craft CMS Vulnerability
MODERATECVE-2026-27131 is a MODERATE (CVSS 5.5) sprig plugin for craft cms vulnerability (CWE-489: Active Debug Code) affecting Putyourlightson/craft sprig libraries in the Packagist ecosystem. The issue involves sprig plugin for craft cms potentially discloses sensitive information via sprig playground. Remediation is available by upgrading affected packages to version 2.15.2, 3.7.2.
CVE-2026-27131 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N).
How to Fix CVE-2026-27131
To remediate this vulnerability, upgrade all affected Putyourlightson/craft sprig dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade putyourlightson/craft-sprig to 2.15.2
Upgrade putyourlightson/craft-sprig to 3.7.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for putyourlightson/craft-sprig
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-27131, inspect your project dependencies for Putyourlightson/craft sprig:
inspect dependencies for putyourlightson/craft-sprig
Analyze the terminal output to locate any version of Putyourlightson/craft sprig in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.15.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-489: Active Debug Code, where the product is released with debugging code still enabled or active. In Putyourlightson/craft sprig, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-27131 Affected Putyourlightson/craft sprig Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
putyourlightson/craft-sprig
|
Packagist |
≥ 2.0.0
< 2.15.2
|
2.15.2
|
|
putyourlightson/craft-sprig
|
Packagist |
≥ 3.0.0
< 3.7.2
|
3.7.2
|
References
Frequently Asked Questions
What is CVE-2026-27131?
Which Putyourlightson/craft sprig versions are affected?
What version fixes CVE-2026-27131?
Is putyourlightson/craft-sprig affected?
What is the CVSS score of CVE-2026-27131?
What CWE is associated with CVE-2026-27131?
How can I check Packagist dependencies for CVE-2026-27131?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m59h-42jf-cphr",
"modified" : "2026-03-30T13:55:55Z",
"published" : "2026-03-23T20:25:37Z",
"aliases" : [ "CVE-2026-27131" ],
"summary" : "Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground",
"details" : "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.\n\nThis 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`.\n\nReferences:\n\n- https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475\n- https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "putyourlightson/craft-sprig"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.15.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "putyourlightson/craft-sprig"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.7.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/putyourlightson/craft-sprig/security/advisories/GHSA-m59h-42jf-cphr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27131"
}, {
"type" : "WEB",
"url" : "https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b"
}, {
"type" : "WEB",
"url" : "https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/putyourlightson/craft-sprig"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-489" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-23T20:25:37Z",
"nvd_published_at" : "2026-03-23T20:16:25Z"
}
}