{"answers":{"affected":"4 open source packages ship an affected version, including putyourlightson/craft-sprig.","exploited":"There is no known exploitation of CVE-2026-27131 in the wild and no public exploit code.","fix":"Upgrade putyourlightson/craft-sprig to a fixed version for your release line: 2.15.2 or 3.7.2.","what":"CVE-2026-27131 is a medium-severity vulnerability in putyourlightson craft-sprig, published on 23 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-27131 and fix it if it is affected.\n\nWhat it is: CVE-2026-27131 is a medium-severity vulnerability in putyourlightson craft-sprig, published on 23 Mar 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-27131 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- putyourlightson/craft-sprig (Packagist): affected from 2.0.0; fixed in 2.15.2\n- putyourlightson/craft-sprig (Packagist): affected from 2.0.0; fixed in 2.15.2\n- putyourlightson/craft-sprig (Packagist): affected from 3.0.0; fixed in 3.7.2\n- putyourlightson/craft-sprig (Packagist): affected from 3.0.0; fixed in 3.7.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-27131/ (Markdown: https://insights.sbomify.com/CVE-2026-27131/index.md)","id":"CVE-2026-27131","markdown":"https://insights.sbomify.com/CVE-2026-27131/index.md","name":"CVE-2026-27131","record":{"aliases":["GHSA-m59h-42jf-cphr"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Craft CMS plugin","requires_auth":"high_privilege","summary":"Admins with Playground access can expose security keys and credentials; upgrade to disable Playground in production.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-489","name":"Active Debug Code"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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`.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground","id":"CVE-2026-27131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"Strimzi All CAs from CA chain will be trusted in Kafka Connect and Kafka MirrorMaker 2 target clusters","id":"CVE-2026-27133"},"packages":[{"ecosystem":"Packagist","fixed":["2.15.2"],"introduced":["2.0.0"],"last_affected":[],"package":"putyourlightson/craft-sprig","purl":null,"source":"GHSA-m59h-42jf-cphr"},{"ecosystem":"Packagist","fixed":["2.15.2"],"introduced":["2.0.0"],"last_affected":[],"package":"putyourlightson/craft-sprig","purl":"pkg:composer/putyourlightson/craft-sprig","source":"GHSA-m59h-42jf-cphr"},{"ecosystem":"Packagist","fixed":["3.7.2"],"introduced":["3.0.0"],"last_affected":[],"package":"putyourlightson/craft-sprig","purl":null,"source":"GHSA-m59h-42jf-cphr"},{"ecosystem":"Packagist","fixed":["3.7.2"],"introduced":["3.0.0"],"last_affected":[],"package":"putyourlightson/craft-sprig","purl":"pkg:composer/putyourlightson/craft-sprig","source":"GHSA-m59h-42jf-cphr"}],"prev":{"headline":"Dokploy has Command Injection in its Service Operations","id":"CVE-2026-27130"},"products":["craft-sprig"],"published":"2026-03-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-24","vendors":["putyourlightson"]},"summary":"Admins with Playground access can expose security keys and credentials; upgrade to disable Playground in production.","url":"https://insights.sbomify.com/CVE-2026-27131/"}