CVE-2026-124987mikefarah yq Improper Encoding or Escaping of Output
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
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:PAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 6.3)
CVSS v3.1 Base Metrics — Score 6.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:CAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- mikefarah yq 4.53.0
- mikefarah yq 4.53.1
- mikefarah yq 4.53.2
- mikefarah yq 4.53.3
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run mikefarah yq and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Nov 9, 2026Published
- Nov 13, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new mikefarah yq CVEsYou are reading CVE-2026-124987. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Advisoryhttps://vuldb.com/vuln/433161
- Advisoryhttps://vuldb.com/vuln/433161/cti
- Advisoryhttps://vuldb.com/cve/CVE-2026-124987
- Advisoryhttps://vuldb.com/submit/1040562
- Issue Trackinghttps://github.com/mikefarah/yq/issues/2901
- Patchhttps://github.com/mikefarah/yq/pull/2902
- Referencehttps://github.com/mikefarah/yq/
Data last checked: Nov 13, 2026 19:14 UTC