Read the docs

Improper output escaping in mikefarah yq properties encoder

Priority MEDIUM 57CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

mikefarah yq up to 4.53.3 has an output escaping flaw in the Encode function of pkg/yqlib/encoder_properties.go (CWE-116). Output is not escaped correctly, so special characters pass through to downstream components. A remote attacker can trigger it without privileges, but a user must interact with the affected system. The impact on confidentiality, integrity and availability is low.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00244 15th percentileScored 2026-11-16
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
mikefarahyq4.53.0; 4.53.1; 4.53.2; 4.53.3—No fix listedCNA
  • yq Vendormikefarah Affected 4.53.0; 4.53.1; 4.53.2; 4.53.3 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:mikefarah:yq:*:*:*:*:*:*:*:*——mikefarah
  • cpe:2.3:a:mikefarah:yq:*:*:*:*:*:*:*:* Versions — — ·mikefarah

Remediation

The sources list no fixed version for yq. A pull request with a fix awaits acceptance.

Written with Claude Haiku 5.5 from the sources below · 2026-11-13

Timeline

  1. 2026-11-09 Threatist record created from CVE-2026-124987
  2. 2026-11-09 Alias added: GHSA-f487-8253-89hg
  3. 2026-11-13 CISA SSVC decision points changed

References

Sources