{"id":"CVE-2021-46433","aliases":["EUVD-2022-1337","GHSA-674v-3g2w-84gx"],"status":"published","title":"Sandbox bypass in fenom","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01126,"percentile":0.66575,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2022-03-28T10:51:16Z","modified":"2026-10-20T10:55:10Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"fenom/fenom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.12.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"fenom/fenom","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.12.1"}]}],"versions":["1.4.9","2.0.0","2.1.0","2.10.0","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5","2.11.6","2.11.7","2.11.8","2.11.9","2.12.0","2.12.1","2.2.0","2.3.0","2.4.0","2.4.6","2.5.0","2.5.1","2.5.2","2.5.3","2.5.4","2.6.0","2.6.1","2.6.2","2.7.0","2.7.1","2.8.0","2.8.1","2.8.2","2.9.0"]}],"products":[{"vendor":"fenom_project","product":"fenom"}],"references":[{"url":"https://github.com/fenom-template/fenom/issues/331","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46433","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-674v-3g2w-84gx"},{"url":"https://github.com/fenom-template/fenom","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-46433","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-28T10:51:16Z","modified":"2024-08-04T05:02:11.689Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2022-1337","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-28T10:51:16Z","modified":"2024-08-04T05:02:11Z","updated_at":"2026-11-03T03:08:23.591313Z"}],"ghsa":[{"id":"GHSA-674v-3g2w-84gx","title":"Sandbox bypass in fenom","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-29T00:01:15Z","modified":"2023-01-27T05:01:05Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:36:16.28305Z"}],"nvd":[{"id":"CVE-2021-46433","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-28T11:15:07.647Z","modified":"2026-06-17T04:14:52.753Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:07:05.581807Z"}],"osv":[{"id":"CVE-2021-46433","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-28T11:15:07.647Z","modified":"2026-10-20T10:55:10.065620511Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"GHSA-674v-3g2w-84gx","title":"Sandbox bypass in fenom","description":"In fenom 2.12.1 and before, there is a way in fenom/src/Fenom/Template.php function getTemplateCode()to bypass sandbox to execute arbitrary PHP code when disable_native_funcs is true.","status":"published","published":"2022-03-29T00:01:15Z","modified":"2024-12-05T05:49:33.933128Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
