CVE-2026-0542 Remote Code Execution in ServiceNow AI Platform
Unauthenticated attackers can execute code in the ServiceNow AI Platform sandbox under certain circumstances, requiring immediate patching.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-0542?
CVE-2026-0542 is a critical code injection vulnerability in ServiceNow AI Platform, published on 25 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ServiceNow has addressed a remote code execution vulnerability that was identified in the ServiceNow AI platform. This vulnerability could enable an unauthenticated user, in certain circumstances, to execute code within the ServiceNow Sandbox.
ServiceNow addressed this vulnerability by deploying a security update to hosted instances. Relevant security updates also have been provided to ServiceNow self-hosted customers and partners. Further, the vulnerability is addressed in the listed patches and hot fixes. While we are not currently aware of exploitation against customer instances, we recommend customers promptly apply appropriate updates or upgrade if they have not already done so.
Weakness: CWE-653
Which versions are affected by CVE-2026-0542?
How do I fix CVE-2026-0542?
No fix has been published for CVE-2026-0542 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-0542 being exploited?
There is no known exploitation of CVE-2026-0542 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-8h66-rpjm-6pwc.