Skip to content
HighVulnerability

CVE-2026-139989: Languagemodels 1.0.0 contains a template injection vulnerability in Config.use_hf_model that allows remote attackers to…

Identifier
CVE-2026-139989
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Languagemodels 1.0.0 contains a template injection flaw in Config.use_hf_model (CVE-2026-139989). Remote attackers who control a Hugging Face model repository can supply a malicious chat_template in tokenizer_config.json that reaches the os module through an unsandboxed jinja2 environment, running commands with the victim process privileges.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.