Skip to main content
← Vulnerabilities

mikefarah yq encoder_properties.go Encode escape output

5.3MediumCNA
Exploited
No known exploitation
Fix
Fix or patch referenced
Who is exposed
Not reported

Do first: Apply the patch listed under Evidence.

Published
Last modified
12/100 · provisional
None on Exploit-DB, Metasploit or GitHub

Summary

mikefarah yq, a YAML command-line processor, has a flaw in its properties encoder (pkg/yqlib/encoder_properties.go) that causes its output to be improperly escaped. An attacker can trigger it remotely without logging in, but it requires a user to take some action, and the description does not state a specific impact beyond the output escaping.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

12Pcve.now Index 12 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity5.3/10CVSS 5.3
  • No patch0/5No signal

What would change the score

  • Would score about 67 if added to CISA KEV
  • Would score about 62 if CISA's SSVC rates exploitation active
  • Would score about 27 if advisories confirm default setups are exposed

What to do

  • Apply the patch listed under Evidence.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • mikefarah yq

    4.53.0, 4.53.1, 4.53.2, 4.53.3

Evidence 7

  1. Advisory
  2. Advisory
  3. Advisory
  4. Advisory
  5. Patch
Show all 7 sourcesShow fewer sources
  1. Report
  2. Repository

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124987

Is CVE-2026-124987 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data

Which versions are affected by CVE-2026-124987?

yq: versions 4.53.0, 4.53.1, 4.53.2, 4.53.3.Source: cve.now feed data