CVE-2026-133309 is a high-severity (CVSS 7.8) Code Injection vulnerability in scalar typebox. A fix is available — see the affected versions and patch details below.
@scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute JavaScript by supplying crafted schema strings. Attackers can inject…
Description
@scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute JavaScript by supplying crafted schema strings. Attackers can inject single-quote breakouts into string format, Kind names, property keys or Literal values to run arbitrary JavaScript in the host Node.js process during Compile() and Check().
Affected Products
typeboxscalarDetection & mitigation playbook
Vendor / applianceDetect
Inventory every scalar typebox deployment and check each version against the affected-products list above.
Fix
Apply the scalar typebox security patch or hotfix for CVE-2026-133309 on the affected version, following the vendor advisory for your exact build.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-133309 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.