PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-133309 scalar CVE debrief

A code injection vulnerability exists in @scalar/typebox before version 0.1.4. The vulnerability is located in the TypeCompiler and 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().

Vendor
scalar
Product
typebox
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-19
Original CVE updated
2026-11-19
Advisory published
2026-11-19
Advisory updated
2026-11-19

Who should care

Defenders responsible for Node.js systems using @scalar/typebox should assess exposure and verify the version in use. Upgrading to version 0.1.4 or later is recommended to prevent code injection attacks.

Why it matters

CVE-2026-133309 is a code injection vulnerability in @scalar/typebox before version 0.1.4. Defenders should prioritize verifying the version in use and upgrading to prevent code injection attacks. Implementing input validation and sanitization can also help prevent attacks.

  • Code injection can lead to arbitrary JavaScript execution in the host Node.js process.
  • Defenders should verify the version of @scalar/typebox in use and upgrade to version 0.1.4 or later to prevent code injection attacks.
  • Implementing input validation and sanitization can help prevent code injection attacks.

Technical summary

The vulnerability exists in the TypeCompiler of @scalar/typebox before version 0.1.4. 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(). This can lead to code injection attacks, allowing attackers to execute arbitrary JavaScript code in the host Node.js process. Defenders should prioritize verifying the version of @scalar/typebox in use and upgrading to version 0.1.4 or later to prevent code injection attacks. Additionally, defenders should monitor for suspicious schema strings and implement input validation and sanitization to prevent code injection attacks.

Defensive priority

Defenders should prioritize verifying the version of @scalar/typebox in use and upgrading to version 0.1.4 or later. Additionally, defenders should monitor for suspicious schema strings and implement input validation and sanitization to prevent code injection attacks.

Recommended defensive actions

  • Verify the version of @scalar/typebox in use and upgrade to version 0.1.4 or later.
  • Monitor for suspicious schema strings and implement input validation and sanitization to prevent code injection attacks.
  • Review and implement secure coding practices to prevent similar vulnerabilities in the future.
  • Perform a thorough review of the system to identify potential entry points for code injection attacks.
  • Implement additional logging and monitoring to detect potential code injection attacks.
  • Conduct a thorough risk assessment to identify potential impacts of code injection attacks.
  • Develop and implement a plan to quickly respond to and contain code injection attacks.

Evidence notes

The CVE record and source item provide details about the vulnerability, including its location in the TypeCompiler and the potential impact of code injection. However, the corpus does not provide information on known affected systems, exploitation, or specific defensive measures beyond upgrading to version 0.1.4 or later.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-133309 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-133309

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-133309 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-133309

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • @scalar/typebox before 0.1.4 Code Injection via TypeCompiler Schema Strings

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/133xxx/CVE-2026-133309.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/scalar/typebox/pull/5

    Supplemental source - patch, issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/scalar/typebox/commit/21d55f035a83868a3577be2142b9c9bbc125969b

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/scalar/typebox/blob/v0.1.3/src/compiler/compiler.ts

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://github.com/sinclairzx81/sinclair-typebox/security/advisories/GHSA-976x-prgx-qv35

    Supplemental source - related, third-party-advisory

  • Source reference

    Unverified legacy reference

    URL: https://www.npmjs.com/package/@scalar/typebox

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://github.com/scalar/typebox

    Supplemental source - product

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/scalar-typebox-before-0.1.4-code-injection-via-typecompiler-schema-strings

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.