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-2964-Lab — Educational lab demonstrating CVE-2026-2964, a prototype pollution vulnerability in web-audio-recorder-js leading to RCE. Includes vulnerable and fixed servers, setup scripts, and attack payloads for hands-on security training. | Kitploit
Tools/GitHubGitHub/thegenetic/cve-2026-2964-lab
Static AnalysisVulnerability AnalysisCode AnalysisExploitationWeb SecurityLearning & EducationLabs & Practice
GitHubthegenetic/cve-2026-2964-lab

CVE-2026-2964-Lab

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

Educational lab demonstrating CVE-2026-2964, a prototype pollution vulnerability in web-audio-recorder-js leading to RCE. Includes vulnerable and fixed servers, setup scripts, and attack payloads for hands-on security training.

View Repository
5 months agoNot yet reviewed
Share

CVE‑2026‑2964 Lab – Prototype Pollution to RCE

This repository contains a complete lab environment for CVE‑2026‑2964, a prototype pollution vulnerability in the web‑audio‑recorder‑js library that can lead to remote code execution under specific conditions.

The lab includes:

  • A vulnerable server (index-vulnerable.js) that demonstrates the attack chain.
  • A fixed server (index-fixed.js) that implements proper sanitisation and allowlist validation.
  • The original vulnerable library code pulled directly from the GitHub repository.
  • Scripts to set up the environment with a single command.

Prerequisites:

  • Node.js (version 18 or later)
  • npm (comes with Node.js)
  • curl (for downloading the library file during setup)

Setup

Clone the repository and install dependencies:

root@kitploit:~
git clone https://github.com/bughuntblueprint/cve-2026-2964-lab.git
cd cve-2026-2964-lab
npm install

The installation will automatically download the original WebAudioRecorder.js from the higuma GitHub repository and place it in the lib/ folder.

If you prefer to run the setup manually:

root@kitploit:~
npm run setup

Running the Vulnerable Server

The vulnerable server runs on port 3000 and is configured to accept user-controlled configuration that leads to prototype pollution.

root@kitploit:~
node index-vulnerable.js

Expected output:

root@kitploit:~
Original WebAudioRecorder loaded successfully.
Server is running on http://localhost:3000

You can now send requests to http://localhost:3000/api/audio/config. The server will log all incoming payloads and indicate whether pollution occurred.

Running the Fixed Server

The fixed server runs on port 3000 and applies both a recursive key sanitisation and an allowlist to block any dangerous keys before they reach the library constructor. Ensure to modify the package.json and point main to index-fixed.js

root@kitploit:~
node index-fixed.js

Expected output:

root@kitploit:~
Original WebAudioRecorder loaded successfully.
Server is running on http://localhost:3000

Additional Resources

  • GitHub Lab Repository (vulnerable + fixed code, payloads): https://github.com/thegenetic/CVE-2026-2964-Lab
  • Medium Blog Post (full write‑up with same attack steps): https://medium.com/@pauldipesh29/cve-2026-2964-from-prototype-pollution-to-remote-code-execution-in-web-audio-recorder-js-395373276d3a

Disclaimer

This lab is intended for educational purposes only. Do not run it on production systems or against any target without explicit authorisation. The techniques shown are meant to help developers and security professionals understand the vulnerability and apply proper defences.

Download Tool