GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-5006 (GCVE-0-2026-5006)

Vulnerability from cvelistv5 – Published: 2026-08-24 20:32 – Updated: 2026-08-26 03:56
VLAI
Title
Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths
Summary
A vulnerability was identified in HashiCorp Vault and Vault Enterprise (“Vault”) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths. An attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy. This vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-25 00:00 UTC
CWE
  • CWE-639 - Authorization Bypass Through User-Controlled Key
Impacted products
Vendor Product Version CPE status
HashiCorp Vault Affected: 0.11.0 , < 2.0.4 (semver)
guessed Create a notification for this product.
HashiCorp Vault Enterprise Affected: 0.11.0 , < 2.0.4 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-5006",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-25T00:00:00+00:00",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-26T03:56:14.745Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "64 bit",
            "32 bit",
            "x86",
            "ARM",
            "MacOS",
            "Windows",
            "Linux"
          ],
          "product": "Vault",
          "repo": "https://github.com/hashicorp/vault",
          "vendor": "HashiCorp",
          "versions": [
            {
              "changes": [
                {
                  "at": "2.0.4",
                  "status": "unaffected"
                }
              ],
              "lessThan": "2.0.4",
              "status": "affected",
              "version": "0.11.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "platforms": [
            "64 bit",
            "32 bit",
            "x86",
            "ARM",
            "MacOS",
            "Windows",
            "Linux"
          ],
          "product": "Vault Enterprise",
          "repo": "https://github.com/hashicorp/vault",
          "vendor": "HashiCorp",
          "versions": [
            {
              "changes": [
                {
                  "at": "1.19.20",
                  "status": "unaffected"
                },
                {
                  "at": "1.20.0",
                  "status": "affected"
                },
                {
                  "at": "1.20.14",
                  "status": "unaffected"
                },
                {
                  "at": "1.21.0",
                  "status": "affected"
                },
                {
                  "at": "1.21.9",
                  "status": "unaffected"
                },
                {
                  "at": "2.0.0",
                  "status": "affected"
                },
                {
                  "at": "2.0.4",
                  "status": "unaffected"
                }
              ],
              "lessThan": "2.0.4",
              "status": "affected",
              "version": "0.11.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "This issue was reported to HashiCorp by Lior Moshe, Uri Rolls, and Daniel Peters, Operating Intelligence ([opint.ai|http://opint.ai/])"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eA vulnerability was identified in HashiCorp Vault and Vault Enterprise (\u201cVault\u201d) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.\u003c/p\u003e\u003cbr/\u003e"
            }
          ],
          "value": "A vulnerability was identified in HashiCorp Vault and Vault Enterprise (\u201cVault\u201d) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-240",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-240: Resource Injection"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 6.8,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-639",
              "description": "CWE-639: Authorization Bypass Through User-Controlled Key",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-24T20:32:49.396Z",
        "orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
        "shortName": "HashiCorp"
      },
      "references": [
        {
          "url": "https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"
        }
      ],
      "source": {
        "advisory": "HCSEC-2026-32",
        "discovery": "EXTERNAL"
      },
      "title": "Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
    "assignerShortName": "HashiCorp",
    "cveId": "CVE-2026-5006",
    "datePublished": "2026-08-24T20:32:49.396Z",
    "dateReserved": "2026-03-27T13:52:35.219Z",
    "dateUpdated": "2026-08-26T03:56:14.745Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-5006",
      "date": "2026-09-18",
      "epss": "0.0017",
      "percentile": "0.06766"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "platforms": [
                  "64 bit",
                  "32 bit",
                  "x86",
                  "ARM",
                  "MacOS",
                  "Windows",
                  "Linux"
                ],
                "product": "Vault",
                "repo": "https://github.com/hashicorp/vault",
                "vendor": "HashiCorp",
                "versions": [
                  {
                    "changes": [
                      {
                        "at": "2.0.4",
                        "status": "unaffected"
                      }
                    ],
                    "lessThan": "2.0.4",
                    "status": "affected",
                    "version": "0.11.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "platforms": [
                  "64 bit",
                  "32 bit",
                  "x86",
                  "ARM",
                  "MacOS",
                  "Windows",
                  "Linux"
                ],
                "product": "Vault Enterprise",
                "repo": "https://github.com/hashicorp/vault",
                "vendor": "HashiCorp",
                "versions": [
                  {
                    "changes": [
                      {
                        "at": "1.19.20",
                        "status": "unaffected"
                      },
                      {
                        "at": "1.20.0",
                        "status": "affected"
                      },
                      {
                        "at": "1.20.14",
                        "status": "unaffected"
                      },
                      {
                        "at": "1.21.0",
                        "status": "affected"
                      },
                      {
                        "at": "1.21.9",
                        "status": "unaffected"
                      },
                      {
                        "at": "2.0.0",
                        "status": "affected"
                      },
                      {
                        "at": "2.0.4",
                        "status": "unaffected"
                      }
                    ],
                    "lessThan": "2.0.4",
                    "status": "affected",
                    "version": "0.11.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@hashicorp.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "A vulnerability was identified in HashiCorp Vault and Vault Enterprise (\u201cVault\u201d) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20."
          }
        ],
        "id": "CVE-2026-5006",
        "lastModified": "2026-08-28T15:47:00.217",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.8,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.6,
              "impactScore": 5.2,
              "source": "security@hashicorp.com",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-5006",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-25T00:00:00+00:00",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-08-24T21:17:46.147",
        "references": [
          {
            "source": "security@hashicorp.com",
            "url": "https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"
          }
        ],
        "sourceIdentifier": "security@hashicorp.com",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-639"
              }
            ],
            "source": "security@hashicorp.com",
            "type": "Secondary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-09-17T00:23:23+00:00",
      "cve": "CVE-2026-5006",
      "id": "CVE-2026-5006",
      "initial_release_date": "2026-08-24T20:32:49.396000+00:00",
      "product_status:known_affected": "3",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "Vault: Vault Enterprise: Vault: Privilege Escalation via Slash Injection in Templated Policy Paths",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5006.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-5006",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-08-25T14:49:38.817530Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-08-25T17:39:19.624Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "64 bit",
                "32 bit",
                "x86",
                "ARM",
                "MacOS",
                "Windows",
                "Linux"
              ],
              "product": "Vault",
              "repo": "https://github.com/hashicorp/vault",
              "vendor": "HashiCorp",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "2.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "2.0.4",
                  "status": "affected",
                  "version": "0.11.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "defaultStatus": "unaffected",
              "platforms": [
                "64 bit",
                "32 bit",
                "x86",
                "ARM",
                "MacOS",
                "Windows",
                "Linux"
              ],
              "product": "Vault Enterprise",
              "repo": "https://github.com/hashicorp/vault",
              "vendor": "HashiCorp",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "1.19.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "1.20.0",
                      "status": "affected"
                    },
                    {
                      "at": "1.20.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "1.21.0",
                      "status": "affected"
                    },
                    {
                      "at": "1.21.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "2.0.0",
                      "status": "affected"
                    },
                    {
                      "at": "2.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "2.0.4",
                  "status": "affected",
                  "version": "0.11.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "This issue was reported to HashiCorp by Lior Moshe, Uri Rolls, and Daniel Peters, Operating Intelligence ([opint.ai|http://opint.ai/])"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eA vulnerability was identified in HashiCorp Vault and Vault Enterprise (\u201cVault\u201d) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20.\u003c/p\u003e\u003cbr/\u003e"
                }
              ],
              "value": "A vulnerability was identified in HashiCorp Vault and Vault Enterprise (\u201cVault\u201d) such that an authenticated attacker may manipulate an identity value referenced by a templated policy path to gain unintended access to Vault paths.\n\nAn attacker who can control the referenced identity value may include slash ({{/}}) characters that Vault interprets as additional path segments when rendering the policy.\n\nThis vulnerability, CVE-2026-5006, was fixed in Vault Community Edition 2.0.4 and Vault Enterprise 2.0.4, 1.21.9, 1.20.14, and 1.19.20."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-240",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-240: Resource Injection"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "baseScore": 6.8,
                "baseSeverity": "MEDIUM",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
                "version": "3.1"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-639",
                  "description": "CWE-639: Authorization Bypass Through User-Controlled Key",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-08-24T20:32:49.396Z",
            "orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
            "shortName": "HashiCorp"
          },
          "references": [
            {
              "url": "https://discuss.hashicorp.com/t/hcsec-2026-32-vault-vulnerable-to-privilege-escalation-via-slash-injection-in-templated-policy-paths"
            }
          ],
          "source": {
            "advisory": "HCSEC-2026-32",
            "discovery": "EXTERNAL"
          },
          "title": "Vault Vulnerable to Privilege Escalation via Slash Injection in Templated Policy Paths"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
        "assignerShortName": "HashiCorp",
        "cveId": "CVE-2026-5006",
        "datePublished": "2026-08-24T20:32:49.396Z",
        "dateReserved": "2026-03-27T13:52:35.219Z",
        "dateUpdated": "2026-08-26T03:56:14.745Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…