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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 30 Nov 2026 18:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Languagemodels 1.0.0 Jinja2 Template Injection RCE via Config.use_hf_model | |
| Weaknesses | CWE-1336 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-30T18:26:34.358Z
Reserved: 2026-11-30T17:28:45.343Z
Link: CVE-2026-139989
No data.
Status : Received
Published: 2026-11-30T19:17:58.953
Modified: 2026-11-30T19:17:58.953
Link: CVE-2026-139989
No data.
OpenCVE Enrichment
No data.
Weaknesses