Improper output escaping in mikefarah yq properties encoder
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
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
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
- 2026-11-09 Threatist record created from CVE-2026-124987
- 2026-11-09 Alias added: GHSA-f487-8253-89hg
- 2026-11-13 CISA SSVC decision points changed
References
Sources
- CVE-2026-124987 · CVE Program
- CVE-2026-124987 · NVD
- FIRST EPSS
- GHSA-f487-8253-89hg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences