CVE-2026-39396
Description
OpenBao is an open source identity-based secrets management system. Prior to version 2.5.3, `ExtractPluginFromImage()` in OpenBao's OCI plugin downloader extracts a plugin binary from a container image by streaming decompressed tar data via `io.Copy` with no upper bound on the number of bytes written. An attacker who controls or compromises the OCI registry referenced in the victim's configuration can serve a crafted image containing a decompression bomb that decompresses to an arbitrarily large file. The SHA256 integrity check occurs after the full file is written to disk, meaning the hash mismatch is detected only after the damage (disk exhaustion) has already occurred. This allow the attacker to replace **legit plugin image** with no need to change its signature. Version 2.5.3 contains a patch.
How to fix
- openbao openbao2.5.3 or later
- github.com/openbao/openbao0.0.0-20260420180337-2b2a901aa9f7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbao openbao | v < 2.5.3 | 2.5.3 |
| github.com/openbao/openbaoGo | v < 0.0.0-20260420180337-2b2a901aa9f7 | 0.0.0-20260420180337-2b2a901aa9f7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.