CVE-2021-46433
CRITICAL 10.0CVSS 3.1Sandbox bypass in fenom
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.
- Published
- 28 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-674v-3g2w-84gx
- Sources
- NVDJSONOSV GHSA-674v-3g2w-84gxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fenom_project | fenomcpe:2.3:a:fenom_project:fenom:*:*:*:*:*:*:*:* |
<= 2.12.1 | |
| OSV | Packagist | fenom/fenom | <= 2.12.1 |
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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 28 Mar 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 29 Mar 2022)