# CVE-2021-46433: Sandbox bypass in fenom

- Severity: Critical 10.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Published: 2022-03-28T10:51:16.000Z
- Modified: 2026-06-17T04:14:52.753Z
- Also known as: GHSA-674v-3g2w-84gx
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- fenom/fenom (Packagist): up to 2.12.1
- fenom_project fenom: up to 2.12.1

## Every score

- GitHub: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/fenom-template/fenom/issues/331> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-46433> (advisory)
- <https://github.com/fenom-template/fenom> (package)

## Sources

- CVE List: [CVE-2021-46433](https://www.cve.org/CVERecord?id=CVE-2021-46433), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-674v-3g2w-84gx](https://github.com/advisories/GHSA-674v-3g2w-84gx), CC-BY-4.0, modified 2024-12-05
- NVD: [CVE-2021-46433](https://nvd.nist.gov/vuln/detail/CVE-2021-46433), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46433 · Whole record: https://cve.day/CVE-2021-46433.json · Rebuilt by cve.day 2026-11-25T22:58:07.270Z
