Skip to content
Heist/ feed
Back to feed
High

Unsigned code template execution through workflows in projectdiscovery/nuclei

Type: advisorySources: OSV

projectdiscovery/nuclei is a fast and customisable vulnerability scanner based on simple YAML based DSL. A significant security oversight was identified in Nuclei v3, involving the execution of unsigned code templates through workflows. This vulnerability specifically affects users utilizing custom workflows, potentially allowing the execution of malicious code on the user's system. This advisory outlines the impacted users, provides details on the security patch, and suggests mitigation strategies. The vulnerability is addressed in Nuclei v3.2.0. Users are strongly recommended to update to this version to mitigate the security risk. Users should refrain from using custom workflows if unable to upgrade immediately. Only trusted, verified workflows should be executed.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-27920
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 02:13 UTC · Revision 1

Source evidence

Unsigned code template execution through workflows in projectdiscovery/nuclei

core-osv · Original source

Published 15 Mar 2024, 19:25 UTC

projectdiscovery/nuclei is a fast and customisable vulnerability scanner based on simple YAML based DSL. A significant security oversight was identified in Nuclei v3, involving the execution of unsigned code templates through workflows. This vulnerability specifically affects users utilizing custom workflows, potentially allowing the execution of malicious code on the user's system. This advisory outlines the impacted users, provides details on the security patch, and suggests mitigation strategies. The vulnerability is addressed in Nuclei v3.2.0. Users are strongly recommended to update to this version to mitigate the security risk. Users should refrain from using custom workflows if unable to upgrade immediately. Only trusted, verified workflows should be executed.

osv:CVE-2024-27920
Complete source record
{
  "id": "18dfd100b571dff6e314fac057c74a4dd0514397d966e4103a4821c57bdd688d",
  "url": "https://osv.dev/vulnerability/CVE-2024-27920",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unsigned code template execution through workflows in projectdiscovery/nuclei",
    "summary": "projectdiscovery/nuclei is a fast and customisable vulnerability scanner based on simple YAML based DSL. A significant security oversight was identified in Nuclei v3, involving the execution of unsigned code templates through workflows. This vulnerability specifically affects users utilizing custom workflows, potentially allowing the execution of malicious code on the user's system. This advisory outlines the impacted users, provides details on the security patch, and suggests mitigation strategies. The vulnerability is addressed in Nuclei v3.2.0. Users are strongly recommended to update to this version to mitigate the security risk. Users should refrain from using custom workflows if unable to upgrade immediately. Only trusted, verified workflows should be executed.",
    "evidence": "osv:CVE-2024-27920",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-27920",
      "aliases": [
        "CVE-2024-27920",
        "GHSA-w5wx-6g2r-r78q",
        "GO-2024-2645"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/projectdiscovery/nuclei",
              "type": "GIT",
              "events": [
                {
                  "introduced": "990cec0de154bd3955e0c1e19951f90e06f6ea7c"
                },
                {
                  "fixed": "cda1fc0ba5dffa882098b964bb150ac90a24e0d8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:projectdiscovery:nuclei:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.1.10",
            "v3.1.9",
            "v3.1.8",
            "v3.1.7",
            "v3.1.6",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27920.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.852783849Z",
      "provider": "osv",
      "references": [
        "https://docs.projectdiscovery.io/templates/protocols/code",
        "https://docs.projectdiscovery.io/templates/reference/template-signing",
        "https://docs.projectdiscovery.io/templates/workflows/overview",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27920.json",
        "https://github.com/projectdiscovery/nuclei/security/advisories/GHSA-w5wx-6g2r-r78q",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-27920",
        "https://github.com/projectdiscovery/nuclei/pull/4822"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27920.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-27920",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509428,
  "published_at": "2024-03-15T19:25:00.748+00:00"
}