Vulnerability record

CVE-2026-139989

highCVSS 3.1 7.8Published · jncraton

The short answer

CVE-2026-139989 affects jncraton languagemodels and is rated high (CVSS 7.8). It is not in CISA's Known Exploited Vulnerabilities catalog.

What it is

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.

Weakness: CWE-1336.

Severity

7.8 high

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Not listed

CISA lists confirmed exploitation only

EPSS, next 30 days

No score

FIRST scores CVEs within a day of publication

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Affected products

languagemodels. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2026-139989 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-11-30.

How do I fix CVE-2026-139989?

Follow the vendor advisory in the references below. NVD lists the affected versions under its configurations.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Received. The description is NVD's text, quoted as published.

Related

Newly exploited vulnerabilities, every Monday

What CISA added to its KEV catalog that week, and the Critical CVEs most likely to be exploited. One email a week, one click to stop.

Prefer a feed? RSS or markdown.

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.