Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5061: CWE-59: Improper Link Resolution Before File Access (Link Following) in HashiCorp Tooling

0
Medium
VulnerabilityCVE-2026-5061cvecve-2026-5061cwe-59
Published: Tue May 12 2026 (05/12/2026, 13:58:20 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: Tooling

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 15:22:39 UTC

Technical Analysis

The consul-template library versions prior to 0.42.0 contain a vulnerability classified as CWE-59 (Improper Link Resolution Before File Access). This flaw allows an attacker to bypass sandbox restrictions in the file template helper component, potentially reading files outside the sandbox boundary. The vulnerability has a CVSS 3.1 base score of 4.7, reflecting local attack vector, high attack complexity, low privileges required, no user interaction, and high confidentiality impact. The issue is resolved in version 0.42.0 of consul-template.

Potential Impact

Successful exploitation could allow an attacker with local access and low privileges to read sensitive files outside the sandbox environment, potentially exposing confidential information. There is no impact on integrity or availability. No known exploits have been reported in the wild.

Mitigation Recommendations

Upgrade to consul-template version 0.42.0 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in this version, applying this official fix is the recommended remediation. No additional mitigation steps are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
HashiCorp
Date Reserved
2026-03-27T18:27:28.875Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0341f2cbff5d8610f8ff86

Added to database: 5/12/2026, 3:06:26 PM

Last enriched: 5/12/2026, 3:22:39 PM

Last updated: 5/12/2026, 7:12:30 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses