Skip to content

security: CVE-2026-33532 - yaml - stack overflow DoS in @archastro/channel-harness #19

Description

@calvin-archastro

CVE-2026-33532yaml Stack Overflow DoS

CVE: CVE-2026-33532
Advisory: GHSA-48c2-rrv3-qjmp


Package

  • Package: yaml (npm)
  • Current constraint: ^2.4.0 (in packages/channel-harness/package.json)
  • Vulnerable range: >=2.0.0 <2.8.3
  • Fixed version: 2.8.3
  • Severity: MODERATE (CVSS 3.1: 4.3)

Impact

Parsing a deeply nested YAML document triggers a RangeError: Maximum call stack size exceeded in the compose/resolve phase. A ~2–10 KB payload can crash the Node.js process.

@archastro/channel-harness uses yaml to parse OpenAPI specs with x-channels extensions. If user-controlled YAML reaches this path, a DoS is possible.

The lockfile in this repo already resolves to yaml@2.8.3 (patched). However, the declared ^2.4.0 constraint allows downstream consumers to resolve to a vulnerable version.

Same CVE was filed against ArchAstro/firstlanding as issue #5248.


Affected Code

  • packages/channel-harness/package.json"yaml": "^2.4.0"
  • packages/channel-harness/src/spec/loader.ts — YAML parsing of OpenAPI spec files

Triage Reasoning

Escalating because this is a published package (@archastro/channel-harness). The constraint must be updated and a new version published so downstream consumers get the fix.


Recommended Action

  1. Bump packages/channel-harness/package.json: "yaml": "^2.4.0""yaml": "^2.8.3"
  2. Run npm install to regenerate lockfile
  3. Publish a patch release of @archastro/channel-harness

Mitigations in Place

  • Lockfile already pins yaml@2.8.3 — CI/CD using the checked-in lockfile is patched
  • channel-harness is primarily used as a devDependency / testing tool, reducing runtime exposure
  • YAML inputs in normal usage are developer-controlled spec files, not user-controlled data

Filed by Security Triage Agent — scheduled scan 2026-05-16T22:00:00Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions