Skip to main content
EPSS 0.2%top 94%

CVE-2026-51886: n/a

0
Critical
VulnerabilityCVE-2026-51886cvecve-2026-51886
Published: 10/01/2026 (10/01/2026, 00:00:00 UTC)
Source: CVE Database V5

Description

langflow-ai langflow version 1.9.3 contains a code injection vulnerability in its API endpoint /api/v1/validate/code. An authenticated attacker can submit arbitrary Python code to this endpoint, which is executed server-side without sandboxing or security controls. This allows remote code execution on the server hosting the application.

Affected software

GitHub Actionsmore threats →ai
langflow-ai/langflow
pkg:github/langflow-ai/langflow
Affected versions
<=1.9.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/02/2026, 14:57:54 UTC

Technical Analysis

CVE-2026-51886 describes a code injection vulnerability in langflow-ai langflow up to version 1.9.3. The vulnerability exists in the validate-post_validate_code function located in src/backend/base/langflow/api/v1/validate.py. The affected endpoint, /api/v1/validate/code, accepts raw Python source code via an authenticated HTTP POST request and executes it directly on the server without any entitlement checks or sandboxing. This flaw enables an authenticated attacker to execute arbitrary Python code remotely on the server.

Potential Impact

Successful exploitation allows an authenticated attacker to execute arbitrary Python code on the server, potentially leading to full compromise of the server environment. This can result in unauthorized access, data theft, service disruption, or further lateral movement within the network.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict access to the /api/v1/validate/code endpoint to trusted users only and consider disabling this functionality if not required. Monitor for suspicious authenticated activity targeting this endpoint.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-06-08T00:00:00.000Z
State
PUBLISHED

Threat ID: 6abfc5e5a43b0b3b89c8de40

Added to database: 10/02/2026, 14:55:33 UTC

Last enriched: 10/02/2026, 14:57:54 UTC

Last updated: 10/03/2026, 03:04:30 UTC

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses