Tag

Jinja2

All articles tagged with #jinja2

Languagemodels 1.0.1 Patches High-Severity Jinja2 Injection Flaw
security4 days ago

Languagemodels 1.0.1 Patches High-Severity Jinja2 Injection Flaw

A high-severity remote code execution vulnerability in the Python library languagemodels has been patched in version 1.0.1. The flaw, identified as CVE-2026-139989, allowed attackers to execute arbitrary code by crafting malicious chat templates in Hugging Face model configurations. The vulnerability stems from the use of an unsandboxed Jinja2 environment in the config.use_hf_model function, which processes model metadata before downloading weights. Although the attack requires user interaction to select a specific model, it demands no special privileges and executes with the victim's process rights. The issue carries a CVSS 3.1 score of 7.8 and a CVSS 4.0 score of 8.5, reflecting high impacts on confidentiality, integrity, and availability. The fix replaces the standard Jinja2 environment with a sandboxed immutable version, mirroring security practices in the Hugging Face transformers library.

AutoGPT 0.10.0 Fixes Unbounded Jinja Filter Memory Exhaustion
cybersecurity10 days ago

AutoGPT 0.10.0 Fixes Unbounded Jinja Filter Memory Exhaustion

AutoGPT has released version 0.10.0 to patch a medium-severity denial-of-service vulnerability (CVE-2026-132256) in its TextFormatter component. The flaw allows authenticated users to trigger unbounded memory allocation via the Jinja 'format' filter, potentially exhausting worker resources and disrupting service for other users. The issue affects versions 0.7.1 through 0.9.9 and carries a CVSS score of 6.5.