Skip to main content
← All vulnerabilities
CVE-2026-5061

Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.42.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the file template helper that may allow reading an out-of-sandbox file. This vulnerability (CVE-2026-5061) is fixed in consul-template 0.42.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • HashiCorp Tooling

    From 0.1.0 · fixed in 0.42.0

References 2

discuss.hashicorp.com

GitHub · 0xmrma/CVE-2026-5061