CVE-2026-27574 Security Alert: CRITICAL Vulnerability

Urgent: CVE-2026-27574 requires immediate attention.

· 3 min read

```html

Executive Summary

A critical vulnerability (CVE-2026-27574) has been identified in the npm package @oneuptime/common, which allows arbitrary code execution on the host running OneUptime monitors. This vulnerability arises from the use of Node.js's vm module to execute custom JavaScript without proper validation, enabling attackers to gain full access to the underlying process and sensitive environment variables. Immediate action is required to secure your deployments.

Immediate Action

  • Disable open registration to prevent unauthorized account creation.
  • Restrict monitor creation permissions to trusted users only (e.g., Admin role).
  • Upgrade @oneuptime/common to a patched version as soon as it is available.
  • Consider isolating your OneUptime service to limit exposure.
  • Monitor logs for any unauthorized custom code executions.
  • Consult vendor advisories for further guidance (link TBD).

Affected Versions

  • @oneuptime/common@<=1.2.3 vulnerable; upgrade to 1.2.4+ (TODO: confirm patched version)

Resolution Guide

To upgrade the vulnerable package, run the following command:

npm install @oneuptime/common@1.2.4

To harden your configuration:

# Disable open registration in your OneUptime config
disableSignup: true

For a code fix, replace the usage of vm.runInContext with isolated-vm:

const { VM } = require('isolated-vm');
const isolate = new VM();
isolate.run(script);

Detection & Verification

To check if your version is vulnerable, run:

npm list @oneuptime/common

To verify the fix after upgrading, ensure your version is updated:

npm list @oneuptime/common

Additionally, review monitor logs for any unusual activity.

Risk and Impact

This vulnerability allows an attacker to execute arbitrary commands on the probe host, potentially leading to full cluster compromise. With access to sensitive credentials such as database passwords, the attacker can manipulate or steal data, posing a significant risk to your application's security and integrity.

```

Keep reading