{"id":"CVE-2026-5061","published":"2026-05-12T13:58:20Z","modified":"2026-05-12T15:43:01Z","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","vendor":"HashiCorp","product":"Tooling","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00151,"percentile":0.0428,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414","tags":[]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":0.86},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.29}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-01","earliestUrl":"https://github.com/0xmrma/CVE-2026-5061","repos":[{"name":"0xmrma/CVE-2026-5061","url":"https://github.com/0xmrma/CVE-2026-5061","stars":1,"created":"2026-08-01"}]},"first":{"date":"2026-08-01","source":"PoC-in-GitHub","url":"https://github.com/0xmrma/CVE-2026-5061"},"provenance":"source"},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Tooling","versions":[">= 0.1.0, < 0.42.0"]}],"capec":[{"id":"CAPEC-132","name":"Symlink Attack"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-12T15:42:51.707805Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29483","exploited":false,"provenance":"source"}}