Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
mikefarah yq
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 mikefarah 开发的 yq 工具(版本 4.53.3 及以下)中发现了一个安全漏洞。该漏洞影响文件 pkg/yqlib/encoder_properties.go 中的 Encode 函数。攻击者可通过特定操作导致输出内容被转义,从而可能远程发起攻击。目前,修复该问题的拉取请求(Pull Request)正在等待审核与合并。

CVSS 6.3 · Medium

Affected Version Matrix 4

VendorProduct Version RangeStatus
mikefarah yq 4.53.0 affected
4.53.1 affected
4.53.2 affected
4.53.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-124987

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
mikefarah yq encoder_properties.go Encode escape output
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对输出编码和转义不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
mikefarah yq 4.53.0 cpe:2.3:a:mikefarah:yq:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-124987

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-124987

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-124987 (1)

Other References for CVE-2026-124987 (6)

IV. Related Vulnerabilities