Intel

AIKIDO-2026-740609

bun is vulnerable to Improper Certificate Validation

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 21, 2026
October 21, 2026

81

CVE Score

High

Improper Certificate Validation

Are you affected? Scan for Free

TL;DR

Bun's embedded CA bundle trusts eMudhra roots and the Sectigo AAA Certificate Services root that cross-signed compromised eMudhra intermediates. An attacker able to intercept a connection can use a compromised intermediate key to impersonate an HTTPS server and read or modify traffic.

How do I fix this?

Upgrade Bun to 1.4.4. That release updates the embedded roots to NSS 3.131.1 and rejects certificate chains that contain the blocked eMudhra public keys. Restart processes that already loaded the old bundle.

Who does this affect?

You are affected when Bun's TLS clients use its embedded CA bundle and the connection can chain through a compromised eMudhra intermediate key, including the Sectigo cross-signed path.

Package

bun

Versions

1.4.1 - 1.4.3

Fixed in 1.4.4

Background info

bun is vulnerable to Improper Certificate Validation in versions 1.4.1 - 1.4.3.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea