CVE-2026-124987 mikefarah yq encoder_properties.go Encode escape output

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-124987?

CVE-2026-124987 is a medium-severity vulnerability in mikefarah yq, published on 9 Nov 2026.

Official 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.

Weakness: CWE-74, CWE-116

Which versions are affected by CVE-2026-124987?

How do I fix CVE-2026-124987?

No fix has been published for CVE-2026-124987 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-124987 being exploited?

There is no known exploitation of CVE-2026-124987 in the wild and no public exploit code.

Sources

Also known as GHSA-f487-8253-89hg, UBUNTU-CVE-2026-124987.

Is CVE-2026-124987 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free