# CVE-2021-25738: Code exec via yaml parsing

- Priority: **Routine**
- Reason: Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-10-11 · Modified: 2024-09-16
- Aliases: GHSA-m8wh-mqgf-rr8g
- Record: https://cvemate.com/vulnerability/CVE-2021-25738 · JSON: https://cvemate.com/vulnerability/CVE-2021-25738/json

## Description

```text
Loading specially-crafted yaml with the Kubernetes Java Client library can lead to code execution.
```

## Signals

- CVSS: 6.7 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.473%, percentile 42.569%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- kubernetes java: ≤ 9.0.2 \| ≥ 10.0.0, ≤ 10.0.1 \| ≥ 11.0.0, \< 11.0.1
- kubernetes kubernetes java client: v12.0.0 \| ≥ unspecified, ≤ v11.0.1 \| ≥ unspecified, ≤ v10.0.1 \| ≥ unspecified, ≤ v9.0.2
- io.kubernetes client-java (Maven): \< 11.0.1

## References

- <https://groups.google.com/g/kubernetes-security-announce/c/K_pOK2WbAJk>
- <https://github.com/kubernetes-client/java/issues/1698>
- <http://www.openwall.com/lists/oss-security/2022/08/23/2>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-25738>
- <https://github.com/kubernetes-client/java>

---

Data as of 2026-12-05T07:52:00.798Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
