{"id":"CVE-2026-5061","aliases":["CVE-2026-5061","BIT-CONSUL-2026-5061"],"related":[],"kind":"vulnerability","state":"published","title":"Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"La biblioteca consul-template anterior a la versión 0.42.0 es vulnerable a un bypass de ruta de sandbox en el asistente de plantilla de archivo que puede permitir la lectura de un archivo fuera del sandbox. Esta vulnerabilidad (CVE-2026-5061) está corregida en consul-template 0.42.0.","source":"nvd"}],"published":"2026-05-12T13:58:20.409Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"HashiCorp","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.42.0","status":"affected"}],"vendor":"HashiCorp","product":"Tooling","repo":"https://github.com/hashicorp/consul-template","platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.1.0","status":"affected","fixed":"0.42.0"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"}],"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"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5061","tags":["web"],"sources":["bitnami"]}],"credits":["This issue was reported to HashiCorp by Mohamed Abdelaal (0xmrma)."],"assigner":"HashiCorp","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-05-12T15:42:51.707Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5061","url":"https://www.cve.org/CVERecord?id=CVE-2026-5061","licence":"CVE Terms of Use","modified":"2026-05-12T15:43:01.985Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5061","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5061","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2026-5061","url":"https://osv.dev/vulnerability/BIT-CONSUL-2026-5061","licence":"Apache-2.0","modified":"2026-05-14T09:15:15.585Z"}],"updatedAt":"2026-11-25T22:59:21.360Z","epss":{"score":0.00151,"percentile":0.04436,"date":"2026-12-01T12:00:22.000Z"}}