Добавить новость
123ru.net
eWeek
Декабрь
2025
1
2
3
4 5
6
7
8 9 10 11 12 13
14
15 16 17 18 19 20
21
22 23 24
25
26
27
28
29 30 31

LangChain AI Vulnerability Exposes Millions of Apps

0
eWeek 

LangChain AI Vulnerability Exposes Millions of Apps

Millions of AI apps trust LangChain to handle sensitive data. That trust just took a serious hit.

A critical security flaw has struck LangChain, one of the most widely used AI frameworks in the world, exposing millions of applications to potential secret theft and malicious code injection.

Security researchers say the vulnerability allows attackers to exploit LangChain’s core serialization logic to extract environment variables and execute unauthorized actions, putting API keys, credentials, and sensitive data at risk across the AI ecosystem.

How attackers are exploiting this ‘Christmas gift’ vulnerability

The attack vector centers on LangChain’s serialization functions that failed to properly handle user-controlled data. Industry analysis published today reveals that the dumps() and dumpd() functions don’t escape dictionaries containing ‘lc’ keys — internal markers that LangChain uses to identify its own serialized objects.

When malicious actors inject data with these special keys, the system treats it as legitimate LangChain content during deserialization rather than untrusted user input.

A Cyata security expert discovered this flaw during AI trust boundary audits, spotting the missing escape mechanism in serialization code. The vulnerability enables multiple devastating attack paths:

  • secret extraction from environment variables when deserialization runs with ‘secrets_from_env=True’
  • instantiation of classes within trusted namespaces like langchain_core and langchain_community
  • potential arbitrary code execution through Jinja2 templates

Think API keys, database passwords, authentication tokens — everything attackers need to break into corporate systems. Threat actors can craft prompts to instantiate allowlisted classes, triggering SSRF attacks with environment variables embedded in headers for data exfiltration.

Since this affects common flows like event streaming, logging, and caching, virtually any LangChain application processing untrusted data could be compromised.

The race against time: patches and protection strategies

LangChain responded swiftly to the disclosure, releasing patches that fundamentally change how the framework handles serialization security.

The fixes published today include new allowlist parameters in load() and loads() functions to specify which classes can be serialized and deserialized. Jinja2 templates are now blocked by default, and the dangerous ‘secrets_from_env’ option has been switched to ‘False’ to prevent automatic secret loading from environment variables.

Vulnerable versions include langchain-core >= 1.0.0, < 1.2.5 and < 0.3.81, with fixes available in versions 1.2.5 and 0.3.81 respectively. Originally reported via Huntr on Dec. 4, LangChain acknowledged the vulnerability the next day and published the advisory on December 24.

Adding to the chaos, a parallel vulnerability also hit LangChainJS, tracked as CVE-2025-68665, demonstrating that this serialization injection problem affects the entire LangChain ecosystem.

What this means for your AI applications right now

Cybersecurity experts today are issuing urgent warnings: upgrade langchain-core immediately and verify dependencies like langchain-community are also updated.

Organizations must treat LLM outputs as untrusted data, audit deserialization processes in streaming and logging systems, and disable secret resolution unless inputs are thoroughly verified.

The timing amplifies the urgency as organizations must inventory their agent deployments for swift triage amid booming LLM application adoption. This vulnerability underscores the critical need for treating AI model outputs with the same security scrutiny as any external data source, fundamentally changing how developers must approach AI application security.

Given LangChain’s massive footprint across the AI ecosystem, industry insiders are calling this more than just another security patch – it’s a wake-up call for the entire industry to rethink trust boundaries in AI applications before attackers turn the holiday season into a data theft bonanza.

Related: OpenAI is also tightening its defenses. Here’s how the company is using its new Atlas system to detect and disrupt ChatGPT abuse at scale.

The post LangChain AI Vulnerability Exposes Millions of Apps appeared first on eWEEK.






Загрузка...


Губернаторы России

Спорт в России и мире

Загрузка...

Все новости спорта сегодня


Новости тенниса

Загрузка...


123ru.net – это самые свежие новости из регионов и со всего мира в прямом эфире 24 часа в сутки 7 дней в неделю на всех языках мира без цензуры и предвзятости редактора. Не новости делают нас, а мы – делаем новости. Наши новости опубликованы живыми людьми в формате онлайн. Вы всегда можете добавить свои новости сиюминутно – здесь и прочитать их тут же и – сейчас в России, в Украине и в мире по темам в режиме 24/7 ежесекундно. А теперь ещё - регионы, Крым, Москва и Россия.


Загрузка...

Загрузка...

Экология в России и мире




Путин в России и мире

Лукашенко в Беларуси и мире



123ru.netмеждународная интерактивная информационная сеть (ежеминутные новости с ежедневным интелектуальным архивом). Только у нас — все главные новости дня без политической цензуры. "123 Новости" — абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. Smi24.net — облегчённая версия старейшего обозревателя новостей 123ru.net.

Мы не навязываем Вам своё видение, мы даём Вам объективный срез событий дня без цензуры и без купюр. Новости, какие они есть — онлайн (с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии).

123ru.net — живые новости в прямом эфире!

В любую минуту Вы можете добавить свою новость мгновенно — здесь.






Здоровье в России и мире


Частные объявления в Вашем городе, в Вашем регионе и в России






Загрузка...

Загрузка...





Друзья 123ru.net


Информационные партнёры 123ru.net



Спонсоры 123ru.net