← News
Languagemodels 1.0.0: remote code execution
HighAI-generated2026-12-01
- CVE
- CVE-2026-139989
- Severity
- High (CVSS 7.8)
- Attack conditions
- With local access to the device · No account needed · A user must take some action
Summary
Languagemodels version 1.0.0 has a template injection flaw that lets an attacker run arbitrary code on the host system.
Details
According to the NVD record, Languagemodels 1.0.0 contains a template injection vulnerability in the Config.use_hf_model function. The flaw is triggered when a malicious Hugging Face model provides a crafted chat_template in its tokenizer_config.json file, which reaches an unsandboxed Jinja2 environment and accesses the os module.
An attacker who controls a model repository can exploit this weakness to execute commands with the same privileges as the victim process, potentially compromising the system.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 30 November 2026 NVD record published
- 1 December 2026 This article was written