{"id":"CVE-2026-5061","aliases":["BIT-consul-2026-5061","EUVD-2026-29483","GHSA-m633-g3vp-7qw3"],"status":"published","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","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.","severity":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00151,"percentile":0.04247,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-59"],"published":"2026-05-12T13:58:20Z","modified":"2026-10-28T02:30:49Z","exploits":[{"source":"pocgithub","id":"0xmrma/CVE-2026-5061","title":"0xmrma/CVE-2026-5061","date":"2026-08-01","url":"https://github.com/0xmrma/CVE-2026-5061"}],"fixes":[{"ecosystem":"Bitnami","package":"consul","fixed_in":["0.42.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"consul","ranges":[{"type":"SEMVER","events":[{"introduced":"0.1.0"},{"fixed":"0.42.0"}]}]}],"products":[{"vendor":"hashicorp","product":"tooling"}],"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":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5061","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-m633-g3vp-7qw3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5061.json","tags":["advisory"]},{"url":"https://github.com/hashicorp/consul-template","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-5061","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","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.","status":"published","published":"2026-05-12T13:58:20.409Z","modified":"2026-05-12T15:43:01.985Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T13:39:27.849196Z"}],"euvd":[{"id":"EUVD-2026-29483","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.","status":"published","published":"2026-05-12T13:58:20Z","modified":"2026-05-12T15:43:01Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T19:04:37.152927Z"}],"ghsa":[{"id":"GHSA-m633-g3vp-7qw3","title":"The consul-template library before version 0.42.0 is vulnerable to a sandbox path bypass in the...","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.","status":"published","published":"2026-05-12T15:31:41Z","modified":"2026-05-12T15:31:49Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T15:08:04.468489Z"}],"nvd":[{"id":"CVE-2026-5061","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.","status":"published","published":"2026-05-12T15:16:16.343Z","modified":"2026-10-26T18:10:00.173Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:12:18.613259Z"}],"osv":[{"id":"CVE-2026-5061","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","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.","status":"published","published":"2026-05-12T13:58:20.409Z","modified":"2026-10-28T02:30:49.764390282Z","cvss":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T15:45:07.431113Z"},{"id":"BIT-consul-2026-5061","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","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.","status":"published","published":"2026-05-14T08:38:20.305Z","modified":"2026-05-14T09:15:15.585858Z","updated_at":"2026-11-02T15:28:28.70813Z"}]}}
