{
  "id": "CVE-2026-41242",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-41242",
  "published_at": "2026-04-18T16:18:10.652Z",
  "title": "protobufjs has an arbitrary code execution issue",
  "vendor": "protobufjs",
  "product": "protobuf.js",
  "cvss": {
    "score": 9.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-04-26T16:48:56Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 8,
    "repo": "4chech/CVE-2026-41242",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, attackers can inject arbitrary code in the \"type\" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1, 7.5.5, and 6.11.6 patch the issue.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:protobufjs_project:protobufjs:8.0.0:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.4,
    "nvd": 9.8
  },
  "repos": [
    {
      "repo": "4chech/CVE-2026-41242",
      "url": "https://github.com/4chech/CVE-2026-41242",
      "created_at": "2026-04-26T16:48:56Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-10-26T07:16:19Z"
    },
    {
      "repo": "Giangdurian/CVE-2026-41242",
      "url": "https://github.com/Giangdurian/CVE-2026-41242",
      "created_at": "2026-08-07T14:38:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-11-02T12:20:50Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "protobufjs",
        "product": "protobuf.js",
        "ranges": [
          "\u003e= 7.0.0, \u003c 7.5.5",
          "\u003e= 8.0.0-experimental, \u003c 8.0.1",
          "\u003c 6.11.6"
        ],
        "fixed_in": [
          "7.5.5",
          "8.0.1",
          "6.11.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade protobuf.js to 7.5.5 or 8.0.1 or 6.11.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/process",
      "body_markers": [
        "\"schema\"",
        "\"nested\"",
        "\"TestMessage\"",
        "\"fields\"",
        "\"value\"",
        "\"type\":\"string\"",
        "\"id\"",
        "\"typeName\":\"TestMessage\"",
        "\"data\"",
        "\"Test;With(Special)Chars\"",
        "\"typeName\":\"Test;With(Special)Chars\"",
        "\"typeName\""
      ],
      "content_type": "application/json",
      "ports": [
        3000
      ],
      "protocol": "http",
      "repos": [
        "Giangdurian/CVE-2026-41242"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "Giangdurian/CVE-2026-41242/REPORT.md:425",
        "Giangdurian/CVE-2026-41242/REPORT.md:459",
        "Giangdurian/CVE-2026-41242/REPORT.md:512"
      ]
    },
    {
      "method": "GET",
      "path_template": "/such_path",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "4chech/CVE-2026-41242"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "4chech/CVE-2026-41242/node_modules/router/README.md:358"
      ]
    },
    {
      "method": "PATCH",
      "path_template": "/api/set-message",
      "body_markers": [
        "\"value\":\"Cats!\""
      ],
      "content_type": "application/json",
      "ports": [
        8080
      ],
      "protocol": "http",
      "repos": [
        "4chech/CVE-2026-41242"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "4chech/CVE-2026-41242/node_modules/router/README.md:306"
      ]
    }
  ],
  "rules": []
}
