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-14361: CWE-59: Improper Link Resolution Before File Access (Link Following) in HashiCorp Tooling

0
Medium
VulnerabilityCVE-2026-14361cvecve-2026-14361cwe-59
Published: 07/08/2026 (07/08/2026, 20:11:32 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: Tooling

Description

The consul-template library before version 0.42.1 is vulnerable to a path redirection issue in the writeToFile template helper that may allow template output to be written outside the intended directory or to overwrite an existing file. This vulnerability (CVE-2026-14361) is fixed in consul-template 0.42.1.

CVSS v3.1

Score 4.7medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →cve
Tooling
pkg:github/Tooling
Affected versions
>=0.1.0 <0.42.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/08/2026, 20:29:29 UTC

Technical Analysis

The consul-template library versions prior to 0.42.1 contain a path redirection vulnerability in the writeToFile template helper. This improper link resolution (CWE-59) can lead to template output being written outside the intended directory or overwriting existing files. The vulnerability is addressed in consul-template version 0.42.1.

Potential Impact

Successful exploitation can result in unauthorized file writes outside the intended directory or overwriting existing files, potentially leading to data integrity issues or unauthorized modification of files. The CVSS score of 4.7 reflects a medium severity with high confidentiality impact but no impact on integrity or availability.

Mitigation Recommendations

Upgrade to consul-template version 0.42.1 or later, where this vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix in version 0.42.1.

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-07-01T19:00:00.428Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4eafe7c9d9e3dbe3ade9fd

Added to database: 07/08/2026, 20:15:35 UTC

Last enriched: 07/08/2026, 20:29:29 UTC

Last updated: 07/08/2026, 20:44:00 UTC

Views: 3

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