150 lines
5.7 KiB
JSON
150 lines
5.7 KiB
JSON
{
|
|
"dataType": "CVE_RECORD",
|
|
"dataVersion": "5.2",
|
|
"cveMetadata": {
|
|
"cveId": "CVE-2026-5061",
|
|
"assignerOrgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
|
|
"state": "PUBLISHED",
|
|
"assignerShortName": "HashiCorp",
|
|
"dateReserved": "2026-03-27T18:27:28.875Z",
|
|
"datePublished": "2026-05-12T13:58:20.409Z",
|
|
"dateUpdated": "2026-05-12T15:43:01.985Z"
|
|
},
|
|
"containers": {
|
|
"cna": {
|
|
"affected": [
|
|
{
|
|
"defaultStatus": "unaffected",
|
|
"platforms": [
|
|
"64 bit",
|
|
"32 bit",
|
|
"x86",
|
|
"ARM",
|
|
"MacOS",
|
|
"Windows",
|
|
"Linux"
|
|
],
|
|
"product": "Tooling",
|
|
"repo": "https://github.com/hashicorp/consul-template",
|
|
"vendor": "HashiCorp",
|
|
"versions": [
|
|
{
|
|
"lessThan": "0.42.0",
|
|
"status": "affected",
|
|
"version": "0.1.0",
|
|
"versionType": "semver"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"credits": [
|
|
{
|
|
"lang": "en",
|
|
"value": "This issue was reported to HashiCorp by Mohamed Abdelaal (0xmrma)."
|
|
}
|
|
],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"supportingMedia": [
|
|
{
|
|
"base64": false,
|
|
"type": "text/html",
|
|
"value": "<p>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.</p><br/>"
|
|
}
|
|
],
|
|
"value": "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."
|
|
}
|
|
],
|
|
"impacts": [
|
|
{
|
|
"capecId": "CAPEC-132",
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "CAPEC-132: Symlink Attack"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"metrics": [
|
|
{
|
|
"cvssV3_1": {
|
|
"baseScore": 4.7,
|
|
"baseSeverity": "MEDIUM",
|
|
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
|
|
"version": "3.1"
|
|
},
|
|
"format": "CVSS",
|
|
"scenarios": [
|
|
{
|
|
"lang": "en",
|
|
"value": "GENERAL"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"problemTypes": [
|
|
{
|
|
"descriptions": [
|
|
{
|
|
"cweId": "CWE-59",
|
|
"description": "CWE-59: Improper Link Resolution Before File Access (Link Following)",
|
|
"lang": "en",
|
|
"type": "CWE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"providerMetadata": {
|
|
"orgId": "67fedba0-ff2e-4543-ba5b-aa93e87718cc",
|
|
"shortName": "HashiCorp",
|
|
"dateUpdated": "2026-05-12T13:58:20.409Z"
|
|
},
|
|
"references": [
|
|
{
|
|
"url": "https://discuss.hashicorp.com/t/hcsec-2026-12-consul-template-vulnerable-to-sandbox-path-bypass-in-file-helper-through-symlink-attack/77414"
|
|
}
|
|
],
|
|
"source": {
|
|
"advisory": "HCSEC-2026-12",
|
|
"discovery": "EXTERNAL"
|
|
},
|
|
"title": "Consul-template vulnerable to sandbox path bypass in file helper via a symlink attack"
|
|
},
|
|
"adp": [
|
|
{
|
|
"metrics": [
|
|
{
|
|
"other": {
|
|
"type": "ssvc",
|
|
"content": {
|
|
"timestamp": "2026-05-12T15:42:51.707805Z",
|
|
"id": "CVE-2026-5061",
|
|
"options": [
|
|
{
|
|
"Exploitation": "none"
|
|
},
|
|
{
|
|
"Automatable": "no"
|
|
},
|
|
{
|
|
"Technical Impact": "partial"
|
|
}
|
|
],
|
|
"role": "CISA Coordinator",
|
|
"version": "2.0.3"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"title": "CISA ADP Vulnrichment",
|
|
"providerMetadata": {
|
|
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
|
"shortName": "CISA-ADP",
|
|
"dateUpdated": "2026-05-12T15:43:01.985Z"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |