PoC Monitor
← All CVEs
CVE-2026-41242published 18 Apr 2026 16:18 UTCData: JSON · API

Protobufjs protobuf.js

protobufjs has an arbitrary code execution issue

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.

First public PoC 8 daysafter publication · 26 Apr 2026
Public PoCs22 on GitHub
CVSS9.8critical · scored by NVD · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

protobufjs protobuf.js
  • >= 7.0.0, < 7.5.5
  • >= 8.0.0-experimental, < 8.0.1
  • < 6.11.6

Fixed in 7.5.5, 8.0.1, 6.11.6

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8+10CVE published18 Apr 2026 · t = 0First public PoC26 Apr 2026 · t+8d

First public PoC 8 days after publication; not in CISA KEV. First PoC: 4chech/CVE-2026-41242 (created 26 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
4chech/CVE-2026-41242 26 Apr 2026 +8 d 0 PoC
Giangdurian/CVE-2026-41242 7 Aug 2026 +111 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /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" in application/json
Ports
3000
Seen in
1 repo: Giangdurian/CVE-2026-41242
Evidence
Giangdurian/CVE-2026-41242/REPORT.md:425 Giangdurian/CVE-2026-41242/REPORT.md:459 Giangdurian/CVE-2026-41242/REPORT.md:512

GET /such_path

Ports
8080
Seen in
1 repo: 4chech/CVE-2026-41242
Evidence
4chech/CVE-2026-41242/node_modules/router/README.md:358

PATCH /api/set-message

Body markers
"value":"Cats!" in application/json
Ports
8080
Seen in
1 repo: 4chech/CVE-2026-41242
Evidence
4chech/CVE-2026-41242/node_modules/router/README.md:306

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /api/process
(?i)^/api/process(?:[?#].*)?$
GET /such_path
(?i)^/such_path(?:[?#].*)?$
PATCH /api/set-message
(?i)^/api/set-message(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/process
alert http any any -> $HOME_NET [3000] (msg:"GG PoC-Monitor CVE-2026-41242 protobufjs protobuf.js exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/process"; http.request_body; content:"|22|schema|22|"; http.request_body; content:"|22|nested|22|"; http.request_body; content:"|22|TestMessage|22|"; http.request_body; content:"|22|fields|22|"; http.request_body; content:"|22|value|22|"; http.request_body; content:"|22|type|22|:|22|string|22|"; http.request_body; content:"|22|id|22|"; http.request_body; content:"|22|typeName|22|:|22|TestMessage|22|"; http.request_body; content:"|22|data|22|"; http.request_body; content:"|22|Test|3b|With(Special)Chars|22|"; http.request_body; content:"|22|typeName|22|:|22|Test|3b|With(Special)Chars|22|"; http.request_body; content:"|22|typeName|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-41242; classtype:web-application-attack; sid:9370779; rev:1;)
GET /such_path
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-41242 protobufjs protobuf.js exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/such_path"; reference:url,poc.griffinguard.io/cve/CVE-2026-41242; classtype:web-application-attack; sid:9408644; rev:1;)
PATCH /api/set-message
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2026-41242 protobufjs protobuf.js exploit attempt"; flow:established,to_server; http.method; content:"PATCH"; http.uri; content:"/api/set-message"; http.request_body; content:"|22|value|22|:|22|Cats!|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-41242; classtype:web-application-attack; sid:9477188; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /api/process
title: protobufjs protobuf.js exploit attempt (CVE-2026-41242)
id: gg-pocmon-cve-2026-41242-9370779
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41242. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-41242
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/process'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.41242
GET /such_path
title: protobufjs protobuf.js exploit attempt (CVE-2026-41242)
id: gg-pocmon-cve-2026-41242-9408644
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41242. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-41242
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/such_path'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.41242
PATCH /api/set-message
title: protobufjs protobuf.js exploit attempt (CVE-2026-41242)
id: gg-pocmon-cve-2026-41242-9477188
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-41242. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-41242
logsource:
  category: webserver
detection:
  selection:
    cs-method: PATCH
    cs-uri-stem|contains|all:
      - '/api/set-message'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.41242