{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-51755","id":"CVE-2024-51755","title":"Unguarded calls to __isset() and to array-accesses when the sandbox is enabled in Twig","description":"Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known ","descriptionLong":"Twig is a template language for PHP. In a sandbox, an attacker can access attributes of Array-like objects as they were not checked by the security policy. They are now checked via the property policy and the `__isset()` method is now called after the security check. This is a BC break. This issue has been patched in versions 3.11.2 and 3.14.1. All users are advised to upgrade. There are no known workarounds for this issue.","published":"2024-11-06T19:27:05.347Z","updated":"2026-10-28T02:30:48.389624513Z","reserved":"2024-10-31T14:12:45.791Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"low","source":"GitHub"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":2.2,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["twigphp Twig"],"affectedProducts":[{"vendor":"twigphp","product":"Twig","defaultStatus":null,"versions":[{"version":"< 3.11.2","status":"affected"},{"version":">= 3.12.0, < 3.14.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"twig/twig","purl":"pkg:composer/twig/twig","ranges":["<3.11.2",">=3.12 <3.14.1"],"fixed":["3.11.2","3.14.1"],"advisory":"GHSA-jjxq-ff2g-95vh"}],"cwes":["CWE-668"],"aliases":["GHSA-jjxq-ff2g-95vh"],"references":[{"url":"https://github.com/twigphp/Twig/security/advisories/GHSA-jjxq-ff2g-95vh","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/twigphp/Twig/commit/831c148e786178e5f2fde9db67266be3bf241c21","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51755.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51755","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/twig/twig/CVE-2024-51755.yaml","tags":["web"]},{"url":"https://github.com/twigphp/Twig","tags":["package"]},{"url":"https://symfony.com/blog/unguarded-calls-to-__isset-and-to-array-accesses-when-the-sandbox-is-enabled","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00425,"epssPercentile":0.37573,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-51755","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51755","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-51755","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jjxq-ff2g-95vh","ok":true,"note":"GHSA-jjxq-ff2g-95vh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-51755","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}