CVE-2026-133309scalar typebox Code Injection
NVD
Vulnerability Summary
@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().
CVSS v4.0 Base Metrics — Score 8.5 (HIGH)
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.8)
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- scalar typebox >= 0.1.0 and < 0.1.4
- scalar typebox 0.1.4
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run scalar typebox and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 19, 2026Published
- Nov 19, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new scalar typebox CVEsYou are reading CVE-2026-133309. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/scalar/typebox/pull/5
- Patchhttps://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b
- Referencehttps://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts#L427
- Vendor Advisoryhttps://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35
- Referencehttps://www.npmjs.com/package/@scalar/typebox
- Referencehttps://github.com/scalar/typebox
- Referencehttps://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings
Data last checked: Nov 24, 2026 16:13 UTC