CVE-2026-124987
published medium CVSS 4.0 · 5.3mikefarah yq encoder_properties.go Encode escape output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mikefarah | — | yq4.53.0 · 4.53.1 · 4.53.2 · 4.53.3 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.3 | medium | VulDB · cna | 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 | — |
| 3.0 | 6.3 | medium | VulDB · cna | 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 | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mikefarah | yq | 4.53.0 (affected)4.53.1 (affected)4.53.2 (affected)4.53.3 (affected) | VulDB · cna |
Weaknesses
2- CWE-116 Escaping of Output
- CWE-74 Injection
References
7- https://github.com/mikefarah/yq/
- https://github.com/mikefarah/yq/issues/2901
- https://github.com/mikefarah/yq/pull/2902
- CVE-2026-124987 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-124987
- Submit #1040562 | https://github.com/mikefarah/ yq <= 4.53.3 Improper Neutralization of Escape, Meta, or Control Sequences https://vuldb.com/submit/1040562
- VDB-433161 | mikefarah yq encoder_properties.go Encode escape output https://vuldb.com/vuln/433161
- VDB-433161 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/433161/cti
Provider assertions
2VulDB · cna
mikefarah yq encoder_properties.go Encode escape output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b8e02e2465c87ca2c9e346319d71b1aa5f10085440a1ef82b259fcc995ad06c0
- Ingested
- 13 Nov 2026, 13:15:31 UTC
- Source record
- Official CVE record