Description
kafe2 through 2.11.0 contains an unsafe deserialization vulnerability in YamlReaderMixin that allows attackers to execute Python code by supplying crafted YAML fit or data files. Attackers can embed python/object/apply tags parsed by yaml.load() via kafe2go or from_file() to run code with the victim's privileges.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| PhiLFitters | kafe2 | <= 2.11.0 |
References
- https://github.com/PhiLFitters/kafe2/blob/v2.11.0/kafe2/fit/representation/_yaml_base.py#L41
- https://github.com/PhiLFitters/kafe2/commit/3f63e79407dac85c562cf8d1b5a3a6ff8c5be053
- https://github.com/PhiLFitters/kafe2/issues/264
- https://www.vulncheck.com/advisories/kafe2-through-2.11.0-code-execution-via-unsafe-yaml-loading
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Received