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
Assigner
HashiCorp CNA under the mitre root
CNA scorecard C 70/100 over 41 records in the last 180 days details
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-10-14",
      "epss": "0.00279",
      "percentile": "0.18996"
    },
    "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."
          },
          {
            "lang": "es",
            "value": "Una vulnerabilidad fue identificada en HashiCorp Vault y Vault Enterprise (\u0027Vault\u0027) de tal manera que un atacante autenticado puede manipular un valor de identidad referenciado por una ruta de pol\u00edtica con plantilla para obtener acceso no intencionado a rutas de Vault.\n\nUn atacante que puede controlar el valor de identidad referenciado puede incluir caracteres de barra inclinada ({{/}}) que Vault interpreta como segmentos de ruta adicionales al renderizar la pol\u00edtica.\n\nEsta vulnerabilidad, CVE-2026-5006, fue corregida en Vault Community Edition 2.0.4 y Vault Enterprise 2.0.4, 1.21.9, 1.20.14 y 1.19.20."
          }
        ],
        "id": "CVE-2026-5006",
        "lastModified": "2026-10-12T21:10:00.227",
        "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-24T17:21:49+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": "6",
      "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…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    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.