CVE-2026-5061 — The consul-template library before version 0.42.0 is
CVE-2026-5061 — 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.
What This Means For You
- If your environment is affected by CWE-59, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-5061 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-5061 - Consul-template Sandbox Path Bypass Attempt
Sigma YAML — free preview
title: CVE-2026-5061 - Consul-template Sandbox Path Bypass Attempt
id: scw-2026-05-12-ai-1
status: experimental
level: high
description: |
Detects attempts to exploit CVE-2026-5061 by looking for the consul-template binary being executed with command line arguments that suggest a path traversal attempt (e.g., containing '..'). This indicates a potential attempt to read files outside the intended sandbox.
author: SCW Feed Engine (AI-generated)
date: 2026-05-12
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-5061/
tags:
- attack.privilege_escalation
- attack.t1068
logsource:
category: process_creation
detection:
selection:
Image|contains:
- 'consul-template'
CommandLine|contains:
- '..'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-5061 | vulnerability | CVE-2026-5061 |
| CWE-59 | weakness | CWE-59 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 12, 2026 at 18:16 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.