mikefarah yq encoder_properties.go Encode escape output
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 9, 2026
- Updated
- Nov 13, 2026
- Reserved
- Nov 9, 2026
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.
| Product | Versions |
|---|---|
| yq mikefarah | 4.53.0 Affected4.53.1 Affected4.53.2 Affected4.53.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulDB | |
| 3.1 | 6.3 Medium | VulDB | |
| 3.0 | 6.3 Medium | VulDB | |
| 2.0 | 7.5 High | VulDB |
Weaknesses
References
- VDB-433161 | mikefarah yq encoder_properties.go Encode escape outputVulnerability DatabaseTechnical Details
- VDB-433161 | CTI Indicators (IOB, IOC, IOA)Detection RuleSign-In Required
- CVE-2026-124987 | CVE Analysis and ReportThird-Party Advisory
- Submit #1040562 | https://github.com/mikefarah/ yq <= 4.53.3 Improper Neutralization of Escape, Meta, or Control SequencesThird-Party Advisory
- https://github.com/mikefarah/yq/issues/2901Issue Tracker
- https://github.com/mikefarah/yq/pull/2902Issue TrackerPatch
- https://github.com/mikefarah/yq/Product Page
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.