CVE-2026-139989

High 7.8 P4 · Monitor (21/100)

Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to execute code by sup…

Published: 30.11.2026 · Last updated: 30.11.2026 22:23 UTC · Revision 1 · Sources: NIST National Vulnerability Database (NVD)

Confirmed facts from the sources

CVSS
7.8 (High) · CVSS 3.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by disclosure@vulncheck.com
Exploitation confirmed
Not in the CISA KEV catalog
Exploitation estimated (EPSS)
Not published by the sources
Public exploit
No reference to a public exploit.
Fix
No fix known
Monitored technologies
AI supply chain

Description (source)

Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to execute code by supplying a malicious Hugging Face model chat_template. Attackers who control a model repository can craft a chat_template in tokenizer_config.json that reaches the os module through the unsandboxed jinja2 environment, running commands with the victim process privileges.

Affected products and versions

Vendor / productAffected versionsFixed inSource
pip: languagemodels>= 1.0.0, < 1.0.1—nvd

Versions as published. “Fixed in” only where a source names the version explicitly.

Recommended mitigation

The sources name no fix or mitigation yet.

In general: check your versions, update to a fixed version, limit exposure until then and follow the vendor guidance.

AI interpretation

No AI interpretation yet – it is created for urgent advisories of monitored technologies. The facts above apply regardless.

Why this priority?: P4 · Monitor (21/100)

  • No EPSS score yet (+0)
  • Technical severity: CVSS 7.8 (HIGH) – on its own not a reason for top priority (+12)
  • Linked to a monitored technology only by its description (+4)
  • No fix known – mitigations needed (+5)

Priority is a general assessment from CVSS, KEV, EPSS, exploits, relevance and fix availability. Whether a specific environment is affected depends on its versions, configuration and exposure.

Original advisories and links