Return to Threats

Lasso Security Uncovers Critical Vulnerabilities in Hugging Face Repositories Exposing Sensitive AI Assets

Lasso Security 2025-01-21 AI supply chain Critical

Executive Summary

Lasso Security found misconfigured Hugging Face repositories exposing secrets, API keys, model weights and training data.

What Happened

Lasso Security reported that misconfigurations and access control issues in thousands of public and private Hugging Face repositories exposed secrets, API keys, model weights, and training data belonging to organizations using the platform.[rich_content:0] The researchers demonstrated that attackers could leverage these exposed assets to steal proprietary models, compromise SaaS and cloud resources, or poison AI supply chains.[rich_content:0] Hugging Face responded by rotating affected credentials, tightening repository permissions, and introducing new security tooling and guidance for users.[rich_content:0]

Affected Products

  • Hugging Face

Vulnerability / Attack Technique

Exposed AI assets in model repositories

Technical Mechanism

Misconfiguration and leaked tokens.

AI Security Category

LLM03:2025 Supply Chain

Part of the AI Supply Chain and AI SBOM topic.

Relevant Frameworks

LLM03:2025 Supply ChainLLM02:2025 Sensitive Information DisclosureLLM04:2025 Data and Model Poisoning

RealGround Analysis

Leaked write tokens allow model poisoning. RealGround analysis: scan repos for tokens.

Recommended Controls

  • Scan model repos for secrets
  • Use read-only tokens

Related RealGround Service

AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.

Sources

Lasso Security: https://lassosecurity.com/blog/hugging-face-vulnerabilities-expose-sensitive-ai-assets

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO