{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-109305", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-10-12T14:13:39.027Z", "datePublished": "2026-10-12T16:05:01.545Z", "dateUpdated": "2026-10-12T16:05:01.545Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-10-12T16:05:01.545Z" }, "datePublic": "2026-09-22T00:00:00.000Z", "title": "Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every", "descriptions": [ { "lang": "en", "value": "Craft CMS from 5.10.2 before 5.10.14 contains a Twig sandbox bypass that allows non-admin users to invoke PHP callables through the \"has some\" and \"has every\" operators. Users with the System Messages permission can supply two-argument callables such as passthru or system in sandboxed templates to execute code as the web user." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Improper Neutralization of Special Elements Used in a Template Engine", "cweId": "CWE-1336", "type": "CWE" } ] } ], "affected": [ { "vendor": "craftcms", "product": "cms", "defaultStatus": "unaffected", "versions": [ { "version": "5.10.2", "status": "affected", "versionType": "semver", "lessThan": "5.10.14" }, { "version": "5.10.14", "status": "unaffected", "versionType": "semver" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.10.2", "versionEndExcluding": "5.10.14" } ] } ] } ], "metrics": [ { "cvssV4_0": { "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "Safety": "NOT_DEFINED", "attackComplexity": "LOW", "attackRequirements": "NONE", "attackVector": "NETWORK", "baseScore": 8.7, "baseSeverity": "HIGH", "exploitMaturity": "NOT_DEFINED", "privilegesRequired": "LOW", "providerUrgency": "NOT_DEFINED", "subAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "userInteraction": "NONE", "valueDensity": "NOT_DEFINED", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N", "version": "4.0", "vulnAvailabilityImpact": "HIGH", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnerabilityResponseEffort": "NOT_DEFINED" }, "format": "CVSS" }, { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "format": "CVSS" } ], "references": [ { "url": "https://github.com/craftcms/cms/security/advisories/GHSA-vfcw-xv8p-8rj2", "tags": [ "vendor-advisory" ], "name": "GitHub Security Advisory (GHSA-vfcw-xv8p-8rj2)" }, { "name": "VulnCheck Advisory: Craft CMS 5.10.2 before 5.10.14 Twig Sandbox Bypass RCE via has some/has every", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/craft-cms-5.10.2-before-5.10.14-twig-sandbox-bypass-rce-via-has-some-has-every" } ], "credits": [ { "lang": "en", "value": "dee-see", "type": "reporter" } ], "x_generator": { "engine": "vulncheck-endgame" } } } }