Vulnerability in Mikefarah Yq
CVE-2026-124987
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Mikefarah Yq — versions 4.53.0, 4.53.1, 4.53.2
Weakness classification (CWE)
References
- vuldb.com/vuln/433161 (technical-description, vdb-entry)
- vuldb.com/vuln/433161/cti (signature, permissions-required)
- vuldb.com/cve/CVE-2026-124987 (third-party-advisory)
- vuldb.com/submit/1040562 (third-party-advisory)
- github.com/mikefarah/yq/issues/2901 (issue-tracking)
- github.com/mikefarah/yq/pull/2902 (issue-tracking, patch)
- github.com/mikefarah/yq/ (product)
Frequently asked questions
- What is CVE-2026-124987?
- CVE-2026-124987 is a medium-severity vulnerability in Mikefarah Yq, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 6.3/10. Published 2026-11-09.
- How severe is CVE-2026-124987?
- Medium severity. CVSS v3 base score is 6.3 out of 10.