Critical Langflow flaw exploited to steal OpenAI and AWS keys

By George Bailey   Published: 09/01/26   Updated: 10/09/26   2 min read
Critical Langflow flaw exploited to steal OpenAI and AWS keys

What Changed

Attackers are exploiting CVE-2026-0768, a critical unauthenticated remote code execution flaw in Langflow, the open-source tool for building AI agents and workflows. The bug is in the code parameter of the validate endpoint, runs code as root, and affects Langflow 1.4.2 and earlier. It was disclosed in January.

VulnCheck saw at least 50 exploitation attempts against its UK honeypots over the weekend, mostly from Russia, later rising to 360. No public proof-of-concept exists.

What Attackers Want

According to VulnCheck’s Caitlin Condon, the attackers query environment variables and files that hold secrets: LANGFLOW_SUPERUSER, OPENAI_API*, AWS_ACCESS* and AWS_SECRET*, and the Langflow secret key at /root/.cache/langflow/secret_key. The goal is cloud and AI credentials, not just the server.

Why This Is An Operations Problem

AI workflow tools are often deployed quickly by data and engineering teams, outside the usual hardening process, with broad API keys in their environment. Langflow has a long run of serious flaws, including CVE-2026-33017, CVE-2026-5027, CVE-2026-55255, CVE-2026-0770 and CVE-2026-9198.

What To Verify First

What Teams May Be Underestimating

A flaw disclosed in January is still being exploited in September, so unpatched instances are clearly common. Stolen keys stay valid after the server is fixed until they are rotated, and cloud bills or data access can be the first sign they were used.

Source Context

This item was rebuilt from the following primary sources and original reporting:

Related In The Daily Brief

See this item in The 5-Minute Cyber Brief

Stay Current

Newer CyberExperts coverage on this topic

This article still works as background. If you want the current picture, start with the freshest related coverage below and today's brief.

Latest Daily Brief

Tuesday’s brief: GitLab’s critical fix, then Patch Tuesday, hijacked fridge controllers and Server 2012’s last update

The fastest way to catch up on what changed after this article was published.

Read Today's Brief

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].

Keep Reading