@scalar/typebox before 0.1.4 contains a code injection vulnerability in TypeCompiler that allows attackers to execute
Source GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 0.1.4 soon.
Data as of 19 Nov 2026, 19:19 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 0.1.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade typebox to 0.1.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| scalartypebox | Affected
| Fixed in
|
npmtypeboxpkg:npm/typeboxOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should upgrade to @scalar/typebox version 0.1.4 or later where this vulnerability is fixed. Until patched, avoid processing untrusted schema strings with the vulnerable TypeCompiler functions.
Description
@scalar/typebox versions before 0.1.4 have a code injection vulnerability in the TypeCompiler component. This flaw allows attackers to execute arbitrary JavaScript code by crafting malicious schema strings that exploit single-quote breakouts in string formats, Kind names, property keys, or Literal values. The vulnerability is triggered during the Compile() and Check() operations within the Node.js environment.
References
- github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-133309 (opens in a new tab)
- github.com/scalar/typebox/pull/5 (opens in a new tab)
- github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b (opens in a new tab)
- github.com/scalar/typebox (opens in a new tab)
- github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts (opens in a new tab)
- npmjs.com/package/@scalar/typebox (opens in a new tab)
- vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings (opens in a new tab)