8.5
HIGH CVSS 4.0
CVE-2026-139989
Languagemodels 1.0.0 Jinja2 Template Injection RCE via Config.use_hf_model
Description

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.

INFO

Published Date :

Nov. 30, 2026, 6:26 p.m.

Last Modified :

Nov. 30, 2026, 6:26 p.m.

Remotely Exploit :

No

Source :

VulnCheck
Affected Products

The following products are affected by CVE-2026-139989 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Jncraton languagemodels
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 3.1 HIGH MITRE-CVE
CVSS 4.0 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
Solution
Update Languagemodels to a version that addresses the template injection vulnerability.
  • Update Languagemodels to the latest version.
  • Review model repository configurations for malicious templates.
  • Sanitize or validate user-supplied template content.
  • Remove unsandboxed Jinja2 environments if possible.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139989 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.