CVE-2026-139989

HIGH Status: Received

CVSS Scores

CVSS v3.x Base Score
7.8
HIGH

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.

Published
November 30, 2026 7:17 PM
Last Modified
November 30, 2026 7:17 PM
Source
[email protected]

Weaknesses (CWE)

CWE-1336

References

Contact Us

Get the CyboWatch SIEM platform, hosting, and 24×7 SOC analysts. Send an enquiry, or call or email us to get started.

Send an enquiry