Search
Find a vulnerability
Search criteria
1 vulnerability found for yq by mikefarah
CVE-2026-124987 (GCVE-0-2026-124987)
Vulnerability from cvelistv5 – Published: 2026-11-09 19:45 – Updated: 2026-11-09 19:45
VLAI
EPSS
VEX
Title
mikefarah yq encoder_properties.go Encode escape output
Summary
A vulnerability has been found in mikefarah yq up to 4.53.3. This affects the function Encode of the file pkg/yqlib/encoder_properties.go. Such manipulation leads to escaping of output. It is possible to launch the attack remotely. The pull request to fix this issue awaits acceptance.
Severity
Assigner
VulDB
CNA
References
7 references
| URL | Tags |
|---|---|
| https://vuldb.com/vuln/433161 | vdb-entrytechnical-description |
| https://vuldb.com/vuln/433161/cti | signaturepermissions-required |
| https://vuldb.com/cve/CVE-2026-124987 | third-party-advisory |
| https://vuldb.com/submit/1040562 | third-party-advisory |
| https://github.com/mikefarah/yq/issues/2901 | issue-tracking |
| https://github.com/mikefarah/yq/pull/2902 | issue-trackingpatch |
| https://github.com/mikefarah/yq/ | product |
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"cpes": [
"cpe:2.3:a:mikefarah:yq:*:*:*:*:*:*:*:*"
],
"product": "yq",
"vendor": "mikefarah",
"versions": [
{
"status": "affected",
"version": "4.53.0"
},
{
"status": "affected",
"version": "4.53.1"
},
{
"status": "affected",
"version": "4.53.2"
},
{
"status": "affected",
"version": "4.53.3"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "reporter",
"value": "carfeii (VulDB User)"
},
{
"lang": "en",
"type": "coordinator",
"value": "VulDB CNA Team"
}
],
"descriptions": [
{
"lang": "en",
"value": "A vulnerability has been found in mikefarah yq up to 4.53.3. This affects the function Encode of the file pkg/yqlib/encoder_properties.go. Such manipulation leads to escaping of output. It is possible to launch the attack remotely. The pull request to fix this issue awaits acceptance."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
"version": "4.0"
}
},
{
"cvssV3_1": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
"version": "3.1"
}
},
{
"cvssV3_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C",
"version": "3.0"
}
},
{
"cvssV2_0": {
"baseScore": 7.5,
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C",
"version": "2.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "Escaping of Output",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-74",
"description": "Injection",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-09T19:45:15.712Z",
"orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"shortName": "VulDB"
},
"references": [
{
"name": "VDB-433161 | mikefarah yq encoder_properties.go Encode escape output",
"tags": [
"vdb-entry",
"technical-description"
],
"url": "https://vuldb.com/vuln/433161"
},
{
"name": "VDB-433161 | CTI Indicators (IOB, IOC, IOA)",
"tags": [
"signature",
"permissions-required"
],
"url": "https://vuldb.com/vuln/433161/cti"
},
{
"name": "CVE-2026-124987 | CVE Analysis and Report",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/cve/CVE-2026-124987"
},
{
"name": "Submit #1040562 | https://github.com/mikefarah/ yq \u003c= 4.53.3 Improper Neutralization of Escape, Meta, or Control Sequences",
"tags": [
"third-party-advisory"
],
"url": "https://vuldb.com/submit/1040562"
},
{
"tags": [
"issue-tracking"
],
"url": "https://github.com/mikefarah/yq/issues/2901"
},
{
"tags": [
"issue-tracking",
"patch"
],
"url": "https://github.com/mikefarah/yq/pull/2902"
},
{
"tags": [
"product"
],
"url": "https://github.com/mikefarah/yq/"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-11-09T00:00:00.000Z",
"value": "Advisory disclosed"
},
{
"lang": "en",
"time": "2026-11-09T01:00:00.000Z",
"value": "VulDB entry created"
},
{
"lang": "en",
"time": "2026-11-09T16:31:45.000Z",
"value": "VulDB entry last update"
}
],
"title": "mikefarah yq encoder_properties.go Encode escape output",
"x_generator": [
"VulDB PVTS v202611"
]
}
},
"cveMetadata": {
"assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
"assignerShortName": "VulDB",
"cveId": "CVE-2026-124987",
"datePublished": "2026-11-09T19:45:15.712Z",
"dateReserved": "2026-11-09T15:26:38.906Z",
"dateUpdated": "2026-11-09T19:45:15.712Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}