Hashicorp Vault, Privilege Escalation, CVE-2025-12345 (High)

Listen to this Post

How the CVE Works

The vulnerability (CVE-2025-12345) allows a privileged Vault operator with write access to the root namespace’s identity endpoint to escalate privileges. By manipulating token permissions, an attacker can assign the root policy to their own or another user’s token. This flaw exists due to improper access controls in versions >= 0.10.4 and < 1.20.0. The issue was patched in Vault Community Edition 1.20.0 and Enterprise versions 1.20.0, 1.19.6, 1.18.11, and 1.16.22.

DailyCVE Form

Platform: Hashicorp Vault
Version: >= 0.10.4, < 1.20.0
Vulnerability: Privilege Escalation
Severity: High
Date: Aug 1, 2025

Prediction: Patch expected by Aug 1, 2025

What Undercode Say

Analytics:

vault token lookup -namespace=root
vault policy write root malicious_policy.hcl

How Exploit:

1. Authenticate as a privileged operator.

2. Write malicious policy to root namespace.

3. Assign root policy to target token.

Protection from this CVE:

  • Upgrade to Vault 1.20.0+
  • Restrict root namespace access.
  • Monitor identity endpoint writes.

Impact:

  • Full Vault compromise.
  • Unauthorized data access.
  • Policy manipulation.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: github.com
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top