Intel

AIKIDO-2026-10197

megatron-core is vulnerable to Unsafe Deserialization

Unsafe Deserialization Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 21, 2026

59

Medium Risk

This Affects:

PYTHONmegatron-core
0.14.0 - 0.15.2
Fixed in 0.15.3
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to arbitrary code execution through unsafe YAML deserialization. The configuration loader uses yaml.FullLoader to parse YAML files, which may construct arbitrary Python objects when processing untrusted input. An attacker able to supply or modify the YAML configuration could exploit this behavior to execute malicious code during deserialization.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

megatron-core is vulnerable to Unsafe Deserialization in versions 0.14.0 - 0.15.2.

How to fix this

Upgrade the megatron-core library to the patch version.