{"answers":{"affected":"2 open source packages ship an affected version, including winter/wn-system-module.","exploited":"There is no known exploitation of CVE-2026-79774 in the wild and no public exploit code.","fix":"Upgrade winter/wn-system-module to 1.2.13 or later.","what":"CVE-2026-79774 is a critical code injection vulnerability in wintercms winter, published on 25 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-79774 and fix it if it is affected.\n\nWhat it is: CVE-2026-79774 is a critical code injection vulnerability in wintercms winter, published on 25 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-79774 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- winter/wn-system-module (Packagist): affected from 1.2.7; fixed in 1.2.13\n- winter/wn-system-module (Packagist): affected from 1.2.7; fixed in 1.2.13\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-79774/ (Markdown: https://insights.sbomify.com/CVE-2026-79774/index.md)","id":"CVE-2026-79774","markdown":"https://insights.sbomify.com/CVE-2026-79774/index.md","name":"CVE-2026-79774","record":{"aliases":["GHSA-8cfw-pcwh-v63w","GHSA-gw97-553p-fp3j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Winter CMS","requires_auth":"high_privilege","summary":"Authenticated users with template permissions can bypass Twig sandbox restrictions to execute arbitrary code and modify database records.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"}],"description":"Winter CMS versions before 1.2.13 contain an incomplete fix for a Twig sandbox escape vulnerability in System\\\\Twig\\\\SecurityPolicy that allows authenticated backend users with template-editing permissions to bypass sandbox restrictions. Attackers can exploit method forwarding through Eloquent models and query builders using methods like saveQuietly(), deleteQuietly(), increment(), decrement(), and newQuery() to read and modify arbitrary database records, execute arbitrary SQL, and achieve remote code execution by injecting PHP into template code sections.","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":false,"headline":"Winter CMS before 1.2.13 Twig Sandbox Escape via SecurityPolicy","id":"CVE-2026-79774","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"rclone Archive Backend SquashFS Parser Denial of Service","id":"CVE-2026-79775"},"packages":[{"ecosystem":"Packagist","fixed":["1.2.13"],"introduced":["1.2.7"],"last_affected":[],"package":"winter/wn-system-module","purl":null,"source":"GHSA-8cfw-pcwh-v63w"},{"ecosystem":"Packagist","fixed":["1.2.13"],"introduced":["1.2.7"],"last_affected":[],"package":"winter/wn-system-module","purl":"pkg:composer/winter/wn-system-module","source":"GHSA-8cfw-pcwh-v63w"}],"prev":{"headline":"Winter CMS before 1.2.13 Local File Inclusion via JavaScript","id":"CVE-2026-79773"},"products":["winter"],"published":"2026-08-25","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":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["wintercms"]},"summary":"Authenticated users with template permissions can bypass Twig sandbox restrictions to execute arbitrary code and modify database records.","url":"https://insights.sbomify.com/CVE-2026-79774/"}