---
id: CVE-2026-39388
aliases:
  - GHSA-7ccv-rp6m-rffr
  - BIT-openbao-2026-39388
  - GO-2026-5213
title: >-
  OpenBao's Certificate Authentication Allows Token Renewal With Different
  Certificate
summary: >-
  OpenBao's Certificate Authentication Allows Token Renewal With Different
  Certificate
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:N'
vendor: openbao
product: github.com/openbao/openbao
ecosystem: go
affected:
  - github.com/openbao/openbao < 0.0.0-20260420160924-abe84e1af4c3
patched:
  - github.com/openbao/openbao 0.0.0-20260420160924-abe84e1af4c3
published: '2026-04-21'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:43.643918213Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7ccv-rp6m-rffr'
references:
  - url: 'https://github.com/openbao/openbao/security/advisories/GHSA-7ccv-rp6m-rffr'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-39388'
  - url: 'https://github.com/openbao/openbao/pull/2932'
  - url: >-
      https://github.com/openbao/openbao/commit/9ab7a066826cc544c30e8b203f8f472076f366e1
  - url: 'https://github.com/openbao/openbao'
  - url: 'https://github.com/openbao/openbao/releases/tag/v2.5.3'
tags:
  - osv
  - go
epss: 0.00144
epssPercentile: 0.03013
ingestedAt: '2026-07-27T19:08:54.161Z'
---

## Overview

### Background

OpenBao's Certificate authentication method, when a token renewal is requested and `disable_binding=true` is set, attempts to verify the current request's presented mTLS certificate matches the original. Token renewals for other authentication methods do not require any supplied login information.

### Impact

Due to incorrect matching, the certificate authentication method would allow renewal of tokens for which the attacker had a sibling certificate+key signed by the same CA, but which did not necessarily match the original role or the originally supplied certificate. This implies an attacker could still authenticate to OpenBao in a similar scope, however, token renewal implies that an attacker may be able to extend the lifetime of dynamic leases held by the original token. This attack requires knowledge of either the original token or its accessor. 

This vulnerability is originally from HashiCorp Vault.

### Patches

This has been addressed in v2.5.3.

### Workarounds

Ensure privileged roles are tightly scoped to single certificates.

## Affected packages

- `github.com/openbao/openbao < 0.0.0-20260420160924-abe84e1af4c3`

## Remediation

Upgrade to a patched release:

- `github.com/openbao/openbao 0.0.0-20260420160924-abe84e1af4c3`
