{
  "id": "CVE-2026-7873",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-7873",
  "published_at": "2026-06-30T19:13:16.331Z",
  "title": "Code Injection Vulnerability in Code Validation Endpoint",
  "vendor": "IBM",
  "product": "Langflow OSS",
  "cvss": {
    "score": 9.9,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-05T02:46:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 66.3,
    "repo": "rmhowe425/POC-CVE-2026-7873",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "IBM Langflow OSS 1.0.0 through 1.10.0 allows authenticated attackers to execute arbitrary OS commands and read sensitive files including credentials, enabling complete system compromise and lateral movement.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.9
  },
  "repos": [
    {
      "repo": "rmhowe425/POC-CVE-2026-7873",
      "url": "https://github.com/rmhowe425/POC-CVE-2026-7873",
      "created_at": "2026-09-05T02:46:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-12-15T22:12:55Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "IBM",
        "product": "Langflow OSS",
        "ranges": [
          "\u003e= 1.0.0, \u003c= 1.10.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "langflow",
        "ranges": [
          "\u003e= 1.0.0, \u003c 1.10.1.rc0"
        ],
        "fixed_in": [
          "1.10.1.rc0"
        ],
        "ecosystem": "PyPI",
        "advisory": "GHSA-v798-mcc6-2m3m"
      }
    ],
    "solutions": [
      "IBM strongly recommends addressing the vulnerability now by upgrading  Langflow OSS to version 1.10.1 https://pypi.org/project/langflow/"
    ],
    "upgrade": [
      "Upgrade langflow to 1.10.1.rc0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://www.ibm.com/support/pages/node/7278441"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/langflow_auth_rce_cve_2026_7873.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Langflow AI Code Validation Authenticated RCE (exploit/multi/http/langflow_auth_rce_cve_2026_7873)",
      "published_at": "2026-09-05T03:59:21Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-7873.yaml",
      "source": "nuclei",
      "title": "nuclei template: Langflow 1.7.2-1.10.0 - Authenticated Remote Code Execution",
      "published_at": "2026-10-26T02:50:28Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/v1/login",
      "body_markers": [
        "username=",
        "password="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        7860
      ],
      "protocol": "http",
      "repos": [
        "rmhowe425/POC-CVE-2026-7873"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "rmhowe425/POC-CVE-2026-7873/poc.py:33"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/validate/code",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "\"code\":",
        "def exploit(",
        "__import__('subprocess').run",
        "shell=True",
        "/bin/bash -c"
      ],
      "content_type": "application/json",
      "ports": [
        7860
      ],
      "protocol": "http",
      "repos": [
        "rmhowe425/POC-CVE-2026-7873"
      ],
      "repo_count": 1,
      "confidence": 0.6,
      "evidence": [
        "rmhowe425/POC-CVE-2026-7873/poc.py:65",
        "rmhowe425/POC-CVE-2026-7873/poc.py:66",
        "rmhowe425/POC-CVE-2026-7873/poc.py:69"
      ]
    }
  ],
  "rules": []
}
