CVE-2026-133309@scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings
@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().
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-sinclair-typebox | Fix pending | UBUNTU-CVE-2026-133309 | |
| Ubuntu 26.04 | node-sinclair-typebox | Under investigation | UBUNTU-CVE-2026-133309 | |
| Ubuntu 24.04 | node-sinclair-typebox | Under investigation | UBUNTU-CVE-2026-133309 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- scalar typebox: affected: 0.1.0 to before 0.1.4; fixed in
0.1.4
Vendor advisories:
- https://github.com/scalar/typebox/pull/5 (patch)
- https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b (patch)
References
- https://github.com/scalar/typebox/pull/5
- https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
- https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- https://www.npmjs.com/package/@scalar/typebox
- https://github.com/scalar/typebox
- https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.