CVE-2026-124987
5.3medium
mikefarah yq encoder_properties.go Encode escape output
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mikefarah yq | 4.53.0, 4.53.1, 4.53.2, 4.53.3 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | 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 |
| VulDB | 6.3medium CVSS:3.1 | 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 |
| VulDB | 6.3medium CVSS:3.0 | 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 |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C |
Classification
References
| https://vuldb.com/vuln/433161 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/433161/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-124987 | third-party-advisory | |
| https://vuldb.com/submit/1040562 | exploit, third-party-advisory | |
| https://github.com/mikefarah/yq/issues/2901 | issue-tracking | |
| https://github.com/mikefarah/yq/pull/2902 | issue-tracking, patch | |
| https://github.com/mikefarah/yq/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-124987 changed 2026-11-13 | CVE Terms of Use |
| NVD | CVE-2026-124987 changed 2026-11-13 | Public domain |