Skip to content
STAGE33R

CVE-2026-139989

HIGH 7.8

Summary

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.

Key facts

  • Vendor: jncraton
  • CVSS 3.1: 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
  • EPSS (30-day exploitation probability): 0.85%
  • Published: 2026-11-30
  • Last modified: 2026-12-01
  • Weakness: CWE-1336

Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.

Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities