CVE-2026-5061
JSON

4.7medium

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

Severity
4.7medium CVSS:3.1 by HashiCorp
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
HashiCorp
Also known as
BIT-CONSUL-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.

Affected

Product or packageVersionsReported by
HashiCorp Toolingfrom 0.1.0 before 0.42.0CVE List
consul (Bitnami)from 0.1.0 before 0.42.0Bitnami Vulnerability Database

All scores

HashiCorp4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-5061 changed 2026-05-12CVE Terms of Use
NVDCVE-2026-5061 changed 2026-10-26Public domain
Bitnami Vulnerability DatabaseBIT-CONSUL-2026-5061 changed 2026-05-14Apache-2.0