Python libraries used in top AI and ML tools hacked – Nvidia, Salesforce and other libraries all at risk

  • Palo Alto found critical flaws in AI/ML libraries NeMo, Uni2TS, and FlexTok
  • Vulnerabilities allowed arbitrary code execution via malicious model metadata
  • All patched by mid-2025; no exploitation observed as of December 2025

Security researchers from Palo Alto Networks have discovered vulnerabilities used in some top Artificial Intelligence (AI) and machine Learning (ML) tools which, if abused, could allow threat actors to execute malicious code on target endpoints, remotely.

In a security advisory, the researchers said that around April 2025, they discovered bugs in three open source Python libraries published by Apple, Salesforce, and NVIDIA, on their GitHub repositories.

The libraries are called NeMo, Uni2TS, and FlexTok. NeMo is a PyTorch-based framework for research, Uni2TS a PyTorch library for research used by Salesforce’s Morai, and FlexTok is a Python-based framework for research, enabling AL and ML models to process images. Cumulatively, they have more than 10 million downloads on HuggingFace (a platform that hosts open-source AI models and other tools).

Bugs fixed

“The vulnerabilities stem from libraries using metadata to configure complex models and pipelines, where a shared third-party library instantiates classes using this metadata,” Palo Alto explained in its advisory.

“Vulnerable versions of these libraries simply execute the provided data as code. This allows an attacker to embed arbitrary code in model metadata, which would automatically execute when vulnerable libraries load these modified models.”

All three developers were notified in April 2025, and by the end of July, all were fixed. NVIDIA issued CVE-2025-23304 and gave it a high severity rating (7.8/10) and released a fix in NeMo 2.3.2. FlexTok updated its code in June 2025, while Salesforce issued CVE-2026-22584, gave it a critical rating (9.8/10), and fixed it in July 2025.

Palo Alto says that as of December 2025, there is no evidence that these vulnerabilities are being abused in the wild. All of the bugs were discovered by the company’s Prisma AIRS tool.

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds. Make sure to click the Follow button!

And of course you can also follow TechRadar on TikTok for news, reviews, unboxings in video form, and get regular updates from us on WhatsApp too.

Read more @ TechRadar

Latest posts

No, the Pixel Tag is not available today

Our first impressions on Google’s new Pixel Tag are live, but orders are not. There appears to be some confusion running around the web,...

I’ve waited a long time for the Boox Picco, and I’m not disappointed

At around $100, the Boox Picco offers one of the most portable e-reader experiences you can get. You add MagSafe-like capability with a refreshingly...

The Sideload 051: Would you let Ring fly around your house?

Welcome to episode 51 of The Sideload, a 9to5Google podcast. This week, Will and Daniel discuss the looming threat of CES before digging into Ring’s newly-announced...

Nintendo will soon discontinue Google and Apple sign-ins

Nintendo Switch users have until January 25 to change how they sign in to the Nintendo Switch app on their smartphones. Read more @ 9to5google

Gemini 4 Carbon rolling out to Gemini app for AI Ultra, Argon remains

Following the preview at the end of last month, Google is now bringing its latest Gemini 4 Carbon model to the Gemini app. Read more...

One UI 9.5 might bring Pixel 11’s ‘Rambler’ feature to Samsung Keyboard before Google’s

The Pixel 11 launched with one AI tool most people got on board with, called “Rambler.” It’s a transcription tool that overhauls and cleans...

Deals: Amazon early Black Friday sale, Dell Googlebook, Google Home Speaker, Galaxy Tab S12 Ultra up to $330 off, more

This morning Amazon now officially announced its Black Friday sale and subsequently launched its early Black Friday event you can shop right now, alongside...

Nintendo Switch 2 emulation on Android already has The Legend of Zelda: Ocarina of Time remake up and running

The Legend of Zelda: Ocarina of Time remake now runs surprisingly well on phones after just a week of additional emulator development. Read more @...

Google Pixel Tag Initial Review: The gold standard for Find Hub trackers, whatever that’s worth

Google’s Find Hub had a tumultuous launch for its performance, but also for a lack of clear direction in hardware. Over two years later,...

Pixel Tag tidbits: Surprise NFC, Find Hub setup, & Bellroy keychain cases

The Made by Google 2026 lineup is finally complete with tomorrow’s retail launch of the Pixel Tag. You can find our review here, while...