Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-98x5-vq43-vc5p: semantic-router exposed to compromised litellm wheel (CVE-2026-42208) via unbounded transitive pin

0
Critical
Published: 06/26/2026 (06/26/2026, 20:51:20 UTC)
Source: GCVE Database
Product: semantic-router

Description

semantic-router versions 0.1.8 through 0.1.14 declare a dependency on litellm with no upper bound, allowing resolution to a compromised litellm wheel version 1.82.8 during a specific time window. This malicious litellm wheel executes code on Python startup without import, exfiltrating sensitive credentials and secrets. The issue is fixed in semantic-router 0.1.15 by raising the minimum litellm version to 1.83.7. Users are advised to upgrade or explicitly pin litellm to safe versions and audit for malicious files.

Affected software

PyPIghsa
semantic-router
Affected versions
>=0.1.8 <0.1.15

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:07:40 UTC

Technical Analysis

semantic-router versions >=0.1.8 and <0.1.15 specify a dependency on litellm>=1.61.3 without an upper bound, which allowed pip to resolve the dependency to a compromised litellm wheel version 1.82.8 during the period it was the latest on PyPI. The malicious litellm wheel includes a litellm_init.pth file that executes automatically on Python interpreter startup, collecting environment variables, cloud credentials (AWS, GCP, Azure), SSH keys, Kubernetes configs, shell history, database credentials, CI/CD secrets, and cryptocurrency wallets. The collected data is encrypted and exfiltrated to a remote server. The vulnerability is tracked as CVE-2026-42208 and fixed in semantic-router 0.1.15 by requiring litellm>=1.83.7. Workarounds include pinning litellm to safe versions, auditing for the malicious pth file, and rotating exposed credentials.

Potential Impact

A fresh install of affected semantic-router versions during the window when litellm 1.82.8 was available could have installed the malicious litellm wheel, leading to automatic execution of malicious code on Python startup. This results in exfiltration of highly sensitive information including environment variables, cloud service credentials, SSH keys, Kubernetes configurations, shell history, database credentials, CI/CD secrets, and cryptocurrency wallets. This compromises confidentiality of critical secrets and credentials in affected environments.

Mitigation Recommendations

A fix is available in semantic-router version 0.1.15, which raises the minimum litellm version to 1.83.7, avoiding the compromised 1.82.8 release. Users unable to upgrade immediately should explicitly pin litellm to versions >=1.83.7 and exclude 1.82.8. Additionally, audit site-packages directories for the presence of litellm_init.pth and remove it if found. Rotate any credentials that may have been exposed in environments where the affected versions were installed and run during the vulnerable window.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-98x5-vq43-vc5p
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
CRITICAL
Cvss Version
null

Threat ID: 6a3ef76827e9c79719fee7b7

Added to database: 06/26/2026, 22:04:24 UTC

Last enriched: 06/26/2026, 22:07:40 UTC

Last updated: 06/27/2026, 01:11:53 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses