Skip to main content
VulnerabilityPublished

CVE-2026-139989: jncraton languagemodels · Template Injection

Affects jncraton languagemodelsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.5 High : upgrade to 1.0.1 soon.

Data as of 30 Nov 2026, 19:00 UTC

CVSS 4.0 base score
8.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.08.5
CNA (VulnCheck)CVSS 3.17.8
Patch
Available – fixed in 1.0.1
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade jncraton languagemodels to 1.0.1.

Affected software

ProductAffectedFixed in
jncratonlanguagemodelsAffected
  • >=1.0.0 <1.0.1
Fixed in
  • 1.0.1
PyPIlanguagemodelspkg:pypi/languagemodelsOther threatsAffected
  • >=1.0.0 <1.0.1
Fixed in
  • 1.0.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to languagemodels version 1.0.1 or later, where this vulnerability is fixed. There are no vendor advisories indicating alternative mitigations or that no action is required. Applying the official fix is the recommended remediation.

Description

Languagemodels version 1.0.0 contains a template injection vulnerability in the Config.use_hf_model feature. This flaw allows remote attackers who control a Hugging Face model repository to execute arbitrary code by crafting a malicious chat_template in tokenizer_config.json. The vulnerability arises from the use of an unsandboxed jinja2 environment that can access the os module, enabling command execution with the privileges of the victim process. The issue is fixed in version 1.0.1.

References

Community reviews

Loading reviews…