Code Injection Vulnerability in @scalar/typebox Product by Scalar
CVE-2026-133309

8.5HIGH

Key Information:

Vendor

Scalar

Status
Vendor
CVE Published:
19 November 2026

What is CVE-2026-133309?

@scalar/typebox versions before 0.1.4 are susceptible to a code injection vulnerability found in TypeCompiler. This flaw allows attackers to execute arbitrary JavaScript code by manipulating schema strings provided to the compiler. Attackers can break out of string contexts using single quotes within Kind names, property keys, or Literal values. The exploitation occurs during the Compile() and Check() processes, posing a risk to the host Node.js process and potentially compromising application integrity.

Affected Version(s)

typebox 0.1.0 < 0.1.4

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mohd Absar Ansari
hanspagel
.