CVE-2026-124987
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.
Severity
MEDIUM
CVSS v3
6.3
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 · source cna
CVSS v4
5.3
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 · source cna
Exploit chance (EPSS)
0.244%
chance of exploitation in the next 30 days
higher than 15.8% of scored CVEs · 2026-11-18
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-116: Improper Encoding or Escaping of Output
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-13 |
Timeline
- 2026-11-09Published by the CNA19:45 UTC
- 2026-11-13CISA SSVC decision recorded4 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mikefarah yq | 4.53.0no fix listed4.53.1no fix listed4.53.2no fix listed4.53.3no fix listed | not listednot listednot listednot listed |
References
- https://github.com/mikefarah/yq/pull/2902
- https://github.com/mikefarah/yq/
- https://github.com/mikefarah/yq/issues/2901
- https://vuldb.com/cve/CVE-2026-124987
- https://vuldb.com/submit/1040562
- https://vuldb.com/vuln/433161
- https://vuldb.com/vuln/433161/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-124987'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-124987'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-124987'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-124987'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).