Cyber Resilience

CVE-2026-5061

Published
12 May 2026
Modified
17 June 2026
CVSS Score v3.1 4.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0011 1th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-5061 is a medium-severity Link Following (CWE-59) vulnerability in Hashicorp (inferred from references). Its CVSS base score is 4.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked at the 1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
Why these techniques?

Sandbox path bypass directly enables unauthorized local file reads (T1005).

Confidence: MEDIUM · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-56692Shared CWE-59
CVE-2026-46468Shared CWE-59
CVE-2026-15788Shared CWE-59
CVE-2026-58403Shared CWE-59
CVE-2026-28866Shared CWE-59
CVE-2026-49180Shared CWE-59
CVE-2025-24103Shared CWE-59
CVE-2026-9804Shared CWE-59
CVE-2026-16077Shared CWE-59
CVE-2026-50135Shared CWE-59

Affected Assets

Hashicorp
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • AC-3 Access Enforcement
  • AC-6 Least Privilege
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V15.4.2

Mitigating Controls (NIST 800-53 r5) AI

prevent

Validates untrusted path inputs in the file template helper to block sandbox bypasses that enable out-of-bounds file reads (CWE-59).

prevent

Enforces mandatory access checks on every file read operation so that even a bypassed template helper cannot retrieve files outside the intended sandbox.

prevent

Restricts the privileges of the consul-template process so that any successful path bypass yields only the minimal set of readable files.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require code to validate paths and avoid unsafe link following.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect link-following flaws before release.

prevents

Secure SDLC practices can mandate link-resolution checks and canonicalization before file access.

prevents

Application security requirements can explicitly require safe handling of symbolic links and path traversal.

prevents

Secure architecture principles include input validation and safe file-access design patterns.

prevents

Secure coding standards directly address canonicalization and symlink attacks during implementation.

none

Access-control rules can limit which files are reachable, reducing exposure to malicious links.

References