Skip to content

Rebuild release binaries on Bun ≥1.4.4 for CVE-2026-111497 (Brotli decoder RCE) #2405

Closed

Description

@adarlak

Summary

The compiled Executor binaries are built with Bun 1.3.11, which bundles a Brotli decoder affected by CVE-2026-111497 (also called Node2Shell / HTTP2Shell): an out-of-bounds write in Google Brotli 1.0.3–1.2.0 that can be reached with attacker-controlled Brotli data. Bun's fetch() decompresses Content-Encoding: br responses automatically, so any server the daemon fetches from could send such a stream.

Bun fixed this in 1.4.4 (2026-10-22). Because the runtime is embedded by bun build --compile, the fix only reaches users once the binaries are rebuilt.

Evidence

  • package.json pins "packageManager": "bun@1.3.11".
  • The published executor@1.6.11-linux-x64 binary (latest as of 2026-10-26) still embeds bun-v1.3.11, as do older releases such as 1.5.20.
  • Bun's Brotli pin (scripts/build/deps/brotli.ts):
    • bun-v1.3.11: BROTLI_COMMIT = "v1.1.0" (affected)
    • bun-v1.4.3: 028fb5a… (v1.2.0, affected)
    • bun-v1.4.4: db24a98… (v1.2.1, fixed)
  • Upstream Brotli fixed releases: 1.0.10, 1.1.1, 1.2.1.

Ask

Bump packageManager (and the CI/release build) to Bun ≥ 1.4.4 and publish new platform binaries. Ideally the release notes would mention CVE-2026-111497, so people running the daemon know to update.

References

Thanks for Executor!

Activity

  1. RhysSullivan commented on Nov 1, 2026

    @RhysSullivan
    Collaborator

    Thanks for the clear report. v2 builds its CLI on Bun 1.4.4 from 2.0.0-beta.28 onward, so executor@beta carries the Brotli fix. The v1 self-host image was rebuilt on Bun 1.4.4 in #2335 and published as ghcr.io/usefulsoftwareco/executor-selfhost:1.6.11. v1 now only gets migration work, so please move to v2 for the fixed CLI binaries.

    Sent from my Claude

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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