Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27131: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in putyourlightson craft-sprig

0
Medium
VulnerabilityCVE-2026-27131cvecve-2026-27131cwe-200cwe-489
Published: Mon Mar 23 2026 (03/23/2026, 19:04:37 UTC)
Source: CVE Database V5
Vendor/Project: putyourlightson
Product: craft-sprig

Description

CVE-2026-27131 is a medium severity vulnerability in the Sprig plugin for Craft CMS, affecting versions 2. 0. 0 to before 2. 15. 2 and 3. 0. 0 to before 3. 15. 2. It allows admin users or users with explicit permission to the Sprig Playground to expose sensitive information such as security keys and credentials.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/23/2026, 19:45:55 UTC

Technical Analysis

The Sprig plugin for Craft CMS is a reactive Twig component framework used to build dynamic front-end components. Versions 2.0.0 through 2.15.1 and 3.0.0 through 3.15.1 contain a vulnerability (CVE-2026-27131) that allows certain privileged users—specifically admin users or those granted explicit access to the Sprig Playground—to expose sensitive information. This includes security keys, credentials, and other configuration data that should remain confidential. The root cause is that the Sprig Playground interface remained accessible even when the Craft CMS 'devMode' was disabled, which is typically used to restrict access in production environments. This accessibility allowed authorized users to run the `hashData()` signing function and potentially extract sensitive data. The vulnerability was addressed in versions 2.15.2 and 3.15.2 by disabling the Sprig Playground by default when devMode is off, with a new configuration option `enablePlaygroundWhenDevModeDisabled` introduced to override this behavior but defaulting to false. The vulnerability is classified under CWE-200 (Exposure of Sensitive Information) and CWE-489 (Leftover Debug Code). The CVSS v3.1 base score is 5.5, indicating a medium severity with network attack vector, low attack complexity, requiring high privileges but no user interaction, and impacting confidentiality significantly while integrity and availability are less affected. No known exploits in the wild have been reported as of the publication date.

Potential Impact

This vulnerability primarily impacts the confidentiality of sensitive information within organizations using the affected versions of the Sprig plugin for Craft CMS. Exposure of security keys and credentials can lead to further compromise, including unauthorized access to backend systems, data breaches, and potential lateral movement within the network. Since exploitation requires authenticated access with high privileges, the risk is somewhat contained but still significant in environments where multiple users have admin or elevated permissions. The integrity of data is minimally affected, and availability is not impacted. However, leaked credentials could be leveraged in chained attacks, increasing overall risk. Organizations running production environments with devMode disabled but with the Sprig Playground enabled via override are particularly at risk. The vulnerability could affect web applications relying on Craft CMS for content management, especially those with complex user roles and permissions. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers often target exposed sensitive information for follow-on attacks.

Mitigation Recommendations

Organizations should immediately upgrade the Sprig plugin to version 2.15.2 or 3.15.2 or later, where the vulnerability is patched by disabling the Sprig Playground by default when devMode is off. If upgrading is not immediately possible, administrators should ensure that the Sprig Playground is not enabled in production environments, particularly by verifying that the `enablePlaygroundWhenDevModeDisabled` setting remains false. Review and restrict user permissions to limit access to admin roles and the Sprig Playground only to trusted personnel. Conduct audits of user roles and permissions to minimize the number of users with elevated privileges. Monitor logs for any unusual access patterns to the Sprig Playground or attempts to invoke the `hashData()` function. Implement network segmentation and strong authentication controls to reduce the risk of privilege escalation. Additionally, rotate any potentially exposed credentials and security keys as a precautionary measure. Finally, maintain regular patch management and vulnerability scanning to detect and remediate similar issues promptly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-17T18:42:27.044Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c194ecf4197a8e3b85fa49

Added to database: 3/23/2026, 7:30:52 PM

Last enriched: 3/23/2026, 7:45:55 PM

Last updated: 3/23/2026, 8:38:39 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses