Bun 1.4.5 is a security release: update your Bun servers
Bun 1.4.5 fixes security issues in HTTP/3, TLS and DNS, and updates five libraries Bun builds on. Here is what changed and how to update.
On this page
Bun released version 1.4.5 on 19 November 2026. The Bun team describes it plainly: "This is a security release." If you run websites, APIs or build steps on Bun, this is an update to schedule now rather than at your next routine upgrade.
What the release fixes
The release notes say version 1.4.5 includes security fixes for HTTP/3, TLS and DNS. The notes list the protocols and APIs affected, and they cover much of what a web server touches:
- HTTP/3 and HTTP/1.1
- TLS and DNS
- Zstandard decompression
Bun.serve,Bun.connect,Bun.dnsandBun.zstdDecompress- The Node.js-compatible modules
node:tls,node:https,node:http,node:quic,node:dnsandnode:zlib fetchandDecompressionStream
The notes do not publish CVE identifiers or describe the individual flaws. What they do say is that the release updates five libraries Bun builds on:
- lsquic, from 4.9.4 to 4.11.2
- c-ares, from 1.34.8 to 1.34.9
- SQLite, from 3.53.4 to 3.54.1
- llhttp, from 9.4.2 to 9.4.4
- BoringSSL, from its August 2026 version to its November 2026 version
Changes to check after updating
A few changes in this release alter behaviour, so test before you deploy:
- Custom root certificates. Bun now validates custom root certificates more strictly, and the notes say "some legacy ones are rejected." Bun's bundled root certificates are not affected. If your app connects to an internal service with its own certificate authority, check that those connections still work.
- Certificate errors. An expired certificate from an unknown issuer now reports
CERT_HAS_EXPIRED, matching Node.js. Code that checks for a specific error code may need a small change. - Partial trust chains. Using
allowPartialTrustChainwithcrlnow requires the chain to end at a self-issued certificate, again matching Node.js. - SQLite 3.54.
ALTER TABLEcan no longer add, rename or drop a column namedrowid,oidor_rowid_, and thesetAuthorizer()callback now runs for functions inDEFAULTexpressions. On macOS, Bun uses the system's SQLite instead.
The release also fixes several stability issues in HTTP/3 and node:quic, and RSA signatures using SHA-3, SHA-512/224, SHA-512/256 and RIPEMD-160 no longer throw an error in node:crypto.
How to update
Bun can update itself. Run bun upgrade, then confirm the version with bun --version. If you installed Bun with Homebrew, use brew upgrade bun; with Scoop, use scoop update bun. Bun's installation guide lists these steps.
Containers need their own update. If your image starts from the official oven/bun image, pull it again so you get 1.4.5, then rebuild and redeploy. A server keeps running the old version until it restarts on the new one.
What it means for your site
- If a site or API is served by Bun, update to 1.4.5 and redeploy. The fixes cover
Bun.serve, HTTP/1.1, HTTP/3 and TLS, which is the path every request takes. - If your site only uses Bun to build, update anyway: builds that fetch packages or call other services use
fetch, TLS and DNS too. Update your local machines and your build pipeline too. - If you connect to services with private certificates, test those connections on 1.4.5 before you roll out, because of the stricter root certificate checks.
- If you look after sites for clients, check which ones run on Bun, including small tools and webhook handlers that are easy to forget.