Home

Description

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-05-12 | Updated 2026-05-12 | Assigner HashiCorp




MEDIUM: 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-59: Improper Link Resolution Before File Access (Link Following)

Product status

Default status
unaffected

0.1.0 (semver) before 0.42.0
affected

Credits

This issue was reported to HashiCorp by Mohamed Abdelaal (0xmrma).

References

discuss.hashicorp.com/...helper-through-symlink-attack/77414

cve.org (CVE-2026-5061)

nvd.nist.gov (CVE-2026-5061)

Download JSON