Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI news ·

CHGNet model loading flaw exposes users to arbitrary code execution

A serious flaw in CHGNet up to version 0.4.2 lets attackers run code on your system if you load a malicious model file.

A high-severity insecure-deserialization flaw has been identified in CHGNet through version 0.4.2. The vulnerability allows arbitrary code execution when a crafted model file is loaded. This means an attacker who provides a malicious model file can run code on the system of anyone who loads it, potentially compromising data, credentials, or downstream infrastructure.

Science and engineering teams that use CHGNet for materials property predictions should treat model weights as executable supply-chain artifacts. The risk is not limited to the model’s output quality; the loading process itself can be hijacked. Teams should pin trusted sources for model files and verify provenance before loading any weights into a working environment.

To reduce exposure, organizations should isolate model-loading environments from critical systems and networks. Standard code-review practices and dependency scanning may not catch this class of issue in serialized model formats. Reviewing current workflows to ensure that only vetted, internally stored model files are used is an immediate step that can limit the attack surface.

Share