{
  "id": "CVE-2026-28797",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-28797",
  "published_at": "2026-04-03T21:41:54.291Z",
  "title": "RAGFlow: Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in Agent \"Text Processing\" Component",
  "vendor": "infiniflow",
  "product": "ragflow",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These components use Python's jinja2.Template (unsandboxed) to render user-supplied templates, allowing any authenticated user to execute arbitrary operating system commands on the server. At time of publication, there are no publicly available patches.",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8,
    "cna": 8.7
  },
  "repos": [
    {
      "repo": "qianlijaingshan/ragflow-audit",
      "url": "https://github.com/qianlijaingshan/ragflow-audit",
      "created_at": "2026-08-11T02:36:51Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "unknown",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-04-17T11:30:28Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "infiniflow",
        "product": "ragflow",
        "ranges": [
          "\u003c= 0.24.0"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/infiniflow/ragflow/security/advisories/GHSA-vvwj-fvwh-4whx"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
