CVE
CVE-2026-45102
OneUptime runs user-supplied code from custom code monitors, synthetic monitors and workflow components inside the VMRunner class of its common package, using Node's built-in vm module as the isolation boundary. The sandbox is created with vm.runInContext and no hardening: Error.prototype is still chained to Object.prototype, the built-in prototypes keep their constructor properties, and Function and eval stay reachable. An authenticated project member can force a stack-overflow RangeError, walk the error object's prototype chain up to Object.prototype and read toString.constructor to obtain the host Function constructor, which compiles code outside the sandbox. This gives remote code execution in the server or probe process. The unhardened call lives in runCodeInSandbox in @oneuptime/common 7.0.2972 to 9.5.13 and, after a period where that function used isolated-vm, in runCodeInNodeVM from 10.0.16 until the hardening shipped in 10.0.96.
Package Versions Affected
Package Version
patch Availability
No items found.
Automatically patch vulnerabilities without upgrading
Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request
CVSS Version
Severity
Base Score
CVSS Version
Score Vector

C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

C
H
U
-

C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Related Resources
No items found.
References
https://github.com/advisories/GHSA-g9cp-35m2-fjv6, https://github.com/OneUptime/oneuptime/security/advisories/GHSA-g9cp-35m2-fjv6, https://nvd.nist.gov/vuln/detail/CVE-2026-45102