Critical Langflow flaw actively exploited to steal OpenAI and AWS credentials

Attackers exploit unauthenticated RCE vulnerability in AI development platform, targeting environment variables and keys

edit
By LineZotpaper
Published
Read Time2 min
Threat actors are actively exploiting a critical unauthenticated remote code execution vulnerability (CVE-2026-0768) in the open-source AI development framework Langflow, according to threat intelligence company VulnCheck. The attacks, which have escalated to over 360 observed attempts, aim to steal credentials, tokens, and keys—including OpenAI API keys, AWS secrets, and Langflow superuser credentials—from vulnerable servers.

The vulnerability, disclosed in January 2026 and affecting Langflow versions 1.4.2 and earlier, resides in the code validator of the platform's custom component editor. It allows attackers to execute arbitrary Python code without authentication, with root privileges. Trend Micro's Zero Day Initiative notes the flaw stems from improper validation of user-supplied strings before execution.

VulnCheck lead security researcher Caitlin Condon reported that exploitation attempts initially detected on honeypots in the U.K. over the weekend have increased significantly, with traffic primarily originating from Russia. As of Tuesday, the total number of observed attacks reached 360.

"Among other things, attacker requests are querying environment variables (LANGFLOW_SUPERUSER, OPENAI_API*, AWS_ACCESS*, AWS_SECRET*), reading /root/.cache/langflow/secret_key, and checking .ssh access and .bash_history size," Condon explained in a LinkedIn post.

This is not the first time Langflow has been targeted. In March, attackers exploited a separate critical code-injection flaw (CVE-2026-33017) within a day of its disclosure, harvesting .ENV and database files. Another vulnerability (CVE-2026-5027) was later used to write arbitrary files to vulnerable servers.

No public proof-of-concept exploit has been released for CVE-2026-0768, according to Condon. Organizations running Langflow are urged to update to patched versions immediately and audit their environments for signs of compromise.

§

Analysis

Why This Matters

  • Langflow is used to build AI applications and chatbots, meaning compromised instances can lead to theft of credentials for services like OpenAI and AWS, potentially enabling further attacks or data breaches.
  • The rapid escalation from initial detection to 360+ attacks in days demonstrates how quickly adversaries weaponize disclosed vulnerabilities in AI infrastructure tools.
  • This marks the third critical Langflow flaw exploited in 2026, highlighting systemic security challenges in rapidly evolving AI development platforms.

Background

Langflow is a Python-based, open-source low-code platform that enables users to build AI workflows, agents, and retrieval-augmented generation (RAG) systems through a graphical interface. In 2026, it has been the target of multiple high-severity exploits, including CVE-2026-33017 and CVE-2026-5027, which were also actively exploited. CVE-2026-0768 was disclosed in January and given a critical severity rating. The flaw allows unauthenticated remote code execution, making it particularly dangerous for exposed instances.

Key Perspectives

VulnCheck (researchers): The attacks are intensifying and originate largely from Russia. Attackers focus on harvesting environment variables, keys, and credentials, suggesting a financially motivated or espionage-oriented campaign. Langflow developers: The open-source project has released patches for disclosed vulnerabilities, but the speed of exploitation—often within days of disclosure—puts pressure on users to update promptly. Organizations using Langflow: They face a race to patch and audit systems; those with exposed, unpatched instances risk complete compromise of AI and cloud service credentials.

What to Watch

  • Number of confirmed breaches or data thefts resulting from these attacks; security firms may release indicators of compromise.
  • Whether public proof-of-concept code emerges, which could accelerate exploitation beyond the current attacker set.
  • Potential follow-up regulatory scrutiny from cloud providers (AWS, OpenAI) if large-scale credential theft leads to service abuse.

Sources

newspaper

Zotpaper

Articles published under the Zotpaper byline are synthesized from multiple source publications by our AI editor and reviewed by our editorial process. Each story combines reporting from credible outlets to give readers a balanced, comprehensive view.