---
title: "CVE-2026-133309: @scalar/typebox - Code Injection"
description: "@scalar/typebox < 0.1.4 contains a code injection vulnerability caused by injection of crafted schema strings in TypeCompiler, letting attackers execute arbitrary JavaScript in the host Node.js process during Compile() and Check(), exploit requires crafted schema strings."
url: https://panop.io/threat-heartbeat/CVE-2026-133309/
---

# CVE-2026-133309 @scalar/typebox - Code Injection

@scalar/typebox < 0.1.4 contains a code injection vulnerability caused by injection of crafted schema strings in TypeCompiler, letting attackers execute arbitrary JavaScript in the host Node.js process during Compile() and Check(), exploit requires crafted schema strings.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.21% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-133309)

## Details

Type

Code Injection

Impact

Remote Code Execution

CVSS vector

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

Published

19 November 2026

Updated

21 November 2026

Weakness

[CWE-94](https://cwe.mitre.org/data/definitions/94.html)

## Vendor fix

Update to version 0.1.4 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-133309](https://nvd.nist.gov/vuln/detail/CVE-2026-133309)
- [https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b](https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b)
- [https://github.com/scalar/typebox/pull/5](https://github.com/scalar/typebox/pull/5)
- [https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35](https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35)
- [https://www.npmjs.com/package/@scalar/typebox](https://www.npmjs.com/package/@scalar/typebox)
- [https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings](https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings)
- [https://github.com/scalar/typebox](https://github.com/scalar/typebox)
- [https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427](https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
