CVE-2022-38149: Hashicorp Consul Template

High severity, CVSS 7.5. EPSS: 0.8% chance of exploitation in the next 30 days.

HashiCorp Consul Template up to 0.27.2, 0.28.2, and 0.29.1 may expose the contents of Vault secrets in the error returned by the *template.Template.Execute method, when given a template using Vault secret contents incorrectly. Fixed in 0.27.3, 0.28.3, and 0.29.2.

Affected products

  • Hashicorp Consul Template: before 0.29.2 (fixed in 0.29.2)

Published 2022-08-17. Last modified 2026-06-17.