---
id: CVE-2024-9180
aliases:
  - GHSA-rr8j-7w34-xp5j
  - BIT-openbao-2024-9180
  - BIT-vault-2024-9180
  - GO-2024-3191
title: Vault Community Edition privilege escalation vulnerability
summary: Vault Community Edition privilege escalation vulnerability
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
vendor: hashicorp
product: github.com/hashicorp/vault
ecosystem: go
affected:
  - github.com/hashicorp/vault < 1.18.0
  - github.com/openbao/openbao < 2.0.3
patched:
  - github.com/hashicorp/vault 1.18.0
  - github.com/openbao/openbao 2.0.3
published: '2024-10-10'
updated: '2026-07-27'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-rr8j-7w34-xp5j'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-9180'
  - url: >-
      https://discuss.hashicorp.com/t/hcsec-2024-21-vault-operators-in-root-namespace-may-elevate-their-privileges/70565
  - url: 'https://github.com/hashicorp/vault'
  - url: 'https://openbao.org/docs/release-notes/2-0-0/#203'
  - url: 'https://pkg.go.dev/vuln/GO-2024-3191'
tags:
  - osv
  - go
epss: 0.00525
epssPercentile: 0.43488
ingestedAt: '2026-07-27T19:08:55.103Z'
---

## Overview

A privileged Vault operator with write permissions to the root namespace’s identity endpoint could escalate their privileges to Vault’s root policy. Fixed in Vault Community Edition 1.18.0 and Vault Enterprise 1.18.0, 1.17.7, 1.16.11, and 1.15.16

## Affected packages

- `github.com/hashicorp/vault < 1.18.0`
- `github.com/openbao/openbao < 2.0.3`

## Remediation

Upgrade to a patched release:

- `github.com/hashicorp/vault 1.18.0`
- `github.com/openbao/openbao 2.0.3`
