CVE-2021-46703: In the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute ar
CVE-2021-46703 is a critical-severity flaw (CVSS 9.8) affecting razorengine. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute arbitrary .NET code in a sandboxed environment (if users can externally control template contents). NOTE: This vulnerability only affects products that are no longer supported by the maintainer
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.9% (top 21%) |
| CISA exploited list | No |
| Published | 2022-03-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-46703?
razorengine: upgrade to 4.5.1. Exact commands for each OS are on this page.
Is CVE-2021-46703 being exploited?
CVE-2021-46703 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-46703 affect?
CVE-2021-46703 affects razorengine. Severity is critical (CVSS 9.8). In the IsolatedRazorEngine component of Antaris RazorEngine through 4.5.1-alpha001, an attacker can execute arbitrary .NET code in a sandboxed environment (if users can externally control template contents). NOTE: This vulnerability only af
How urgent is CVE-2021-46703?
Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action