CVE-2026-5006 is an authenticated path traversal-style policy manipulation vulnerability in HashiCorp Vault and Vault Enterprise. In affected releases, Vault renders identity values referenced by templated policy paths without rejecting forward-slash characters. An attacker able to control such a referenced value, including AppRole SecretID metadata used by an identity alias template, can inject additional path segments into the rendered policy path. This can cause a policy intended to constrain access to one secret prefix to match paths outside that prefix.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This 34-file repository is a multi-CVE offensive research collection for Keycloak, Apache NiFi, HashiCorp Vault, and HashiCorp Nomad. It contains four standalone Python PoCs under exploits/, three corresponding Metasploit modules under metasploit-custom-modules/, module documentation, and four deliberately vulnerable Docker labs under docker-lab/. The Metasploit modules provide reusable Keycloak account takeover, Vault secret disclosure, and NiFi command/reverse-shell exploitation; Nomad is supplied as a standalone PoC only. The labs bind their primary services to localhost and intentionally use vulnerable versions: Keycloak 26.7.1, NiFi 2.8.0 with graph NARs and Keycloak OIDC, Vault 2.0.3 dev mode, and Nomad 2.0.0 with a privileged nested Docker/client setup. Notable implementation issue: exploits/nifi_rce_39816.py imports nifi_oidc from a repository-root configs directory, but the supplied nifi_oidc.py is actually located in docker-lab/nifi-cve-2026-39816/setup/; absent an external configs/nifi_oidc.py, that standalone script will fail at import time. The equivalent Metasploit NiFi module contains its own OIDC implementation and is not affected by this path mismatch.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A HashiCorp Vault AppRole templated-policy path traversal flaw. In affected Vault versions through 2.0.3, an AppRole permitted to rotate its own secret ID can use slash characters in secret-ID metadata to escape its intended templated policy path and read out-of-scope secrets without a root or administrative token.
A HashiCorp Vault AppRole templated-policy path traversal issue. An AppRole permitted to rotate its own secret ID can set slash-containing scope metadata; because Vault through version 2.0.3 does not sanitize slash characters in the templated policy path, the resulting policy can traverse path segments and permit reads outside the intended secret scope without requiring a root or administrative token.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.