Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-41242 — Exploit PoC for CVE-2026-41242, critical protobuf.js code injection to RCE via crafted type names. Includes vulnerable Node app, local PoC, and remote Python exploit script. | Kitploit
Tools/GitHubGitHub/giangdurian/cve-2026-41242
Vulnerability AnalysisExploitationWeb Application Exploitation
GitHubgiangdurian/cve-2026-41242

CVE-2026-41242

Exploit PoC for CVE-2026-41242, critical protobuf.js code injection to RCE via crafted type names. Includes vulnerable Node app, local PoC, and remote Python exploit script.

View Repository
11 month agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-41242 — protobuf.js Code Injection to RCE

CVSS 9.4 (Critical) | Code Injection (CWE-94)

Overview

protobuf.js (npm: protobufjs) versions ≤ 7.5.4 and ≤ 8.0.0 are vulnerable to arbitrary code execution via type names in the protobuf schema. The @protobufjs/codegen module concatenates type names directly into a JavaScript string and then runs it through the Function() constructor (equivalent to eval()). An attacker who controls the schema can inject code that runs on the server.

Patched: protobufjs 7.5.5 / 8.0.1

Directory structure

root@kitploit:~
CVE-2026-41242/
├── REPORT.md               # Báo cáo phân tích đầy đủ
├── cve_2026_41242.py        # Script exploit (Python)
├── vuln-app/                # Ứng dụng Node.js vulnerable
│   ├── server.js            # Express server
│   ├── poc_local.js         # PoC local — chứng minh code injection
│   ├── package.json
│   └── package-lock.json
└── img/                     # Screenshots
    └── *.png                # setup, recon, exploit, debug, patch

How to run

root@kitploit:~
cd vuln-app
npm install
npm install @protobufjs/[email protected]   # BẮT BUỘC pin version — 2.0.5 đã chứa bản vá

# PoC local
node poc_local.js

# Server vulnerable
node server.js

# Exploit từ Kali
python3 cve_2026_41242.py -t http://<TARGET>:3000 -c "whoami"

References

  • GitHub Advisory — GHSA-xq3m-2v4x-88gg
  • Patch commit (type.js)
Download Tool