CVE-2026-139989: Vulnerability in Jncraton Languagemodels

Patch soon. 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.

CWE-1336

Exploitation
None confirmed
Severity
7.8 of 10
Attack likelihood
0.5 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-v286-88f6-fh24
EU ID
EUVD-2026-139658
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-1336
Published
30 Nov 2026
Last change
4 Dec 2026
Likelihood rank
Higher than 43 % of all rated vulnerabilities
Analysis status
Deferred

Affected products

Affected versions and the first fixed release

  • Jncraton Languagemodels From 1.0.0 before 1.0.1. Fixed in 1.0.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related