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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T19:45:15.712Z
- Modified: 2026-11-13T13:18:02.917Z
- Weaknesses: CWE-74, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

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

(As written by CVE List.)

## Affected

- mikefarah yq: 4.53.0; 4.53.1; 4.53.2; 4.53.3

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://vuldb.com/submit/1040562> (exploit, third-party-advisory)
- <https://vuldb.com/vuln/433161> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/433161/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-124987> (third-party-advisory)
- <https://github.com/mikefarah/yq/issues/2901> (issue-tracking)
- <https://github.com/mikefarah/yq/pull/2902> (issue-tracking, patch)
- <https://github.com/mikefarah/yq/> (product)

## Sources

- CVE List: [CVE-2026-124987](https://www.cve.org/CVERecord?id=CVE-2026-124987), CVE Terms of Use, modified 2026-11-13
- NVD: [CVE-2026-124987](https://nvd.nist.gov/vuln/detail/CVE-2026-124987), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-124987 · Whole record: https://cve.day/CVE-2026-124987.json · Rebuilt by cve.day 2026-11-25T22:59:49.652Z
