Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openbao/openbao
  4. ›
  5. CVE-2026-39396

CVE-2026-39396: OpenBao: Decompression Bomb via Unbounded Copy in OCI Plugin Extraction (DoS)

April 21, 2026

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.

References

  • github.com/advisories/GHSA-r65v-xgwc-g56j
  • github.com/openbao/openbao
  • github.com/openbao/openbao/commit/af576af5322c6552a017ad10fd76aa4f40fd021e
  • github.com/openbao/openbao/pull/2941
  • github.com/openbao/openbao/releases/tag/v2.5.3
  • github.com/openbao/openbao/security/advisories/GHSA-r65v-xgwc-g56j
  • nvd.nist.gov/vuln/detail/CVE-2026-39396

Code Behaviors & Features

Detect and mitigate CVE-2026-39396 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260420180337-2b2a901aa9f7

Fixed versions

  • 0.0.0-20260420180337-2b2a901aa9f7

Solution

Upgrade to version 0.0.0-20260420180337-2b2a901aa9f7 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-674: Uncontrolled Recursion
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/openbao/openbao/CVE-2026-39396.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 11 May 2026 00:20:19 +0000.