Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-106445 — Python PoC and Docker lab for CVE-2026-106445, a Handlebars 4.0.0–4.7.9 RCE via Function.prototype.constructor bypass, with check/exploit modes and template payload generation. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-106445
ReconnaissanceWeb Vulnerability ScannersPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationLabs & Practice
GitHubmurrez/cve-2026-106445

CVE-2026-106445

Python PoC and Docker lab for CVE-2026-106445, a Handlebars 4.0.0–4.7.9 RCE via Function.prototype.constructor bypass, with check/exploit modes and template payload generation.

View Repository
21 month agoNot yet reviewed
Share

CVE-2026-106445 — Handlebars.js RCE (constructor own-property bypass)

Python 3 PoC for CVE-2026-106445 — handlebars 4.0.0 – 4.7.9 — CWE-184 / CWE-1289 — sandbox escape to Function when allowProtoMethodsByDefault: true.

FieldValue
CVECVE-2026-106445
GHSAGHSA-p8wg-vrv2-v86f
Fixed4.7.10
CVSS 4.09.2 Critical (AT:P — unsafe compile options + user template)
Verify markerPOCBIT-106445-OK

Mechanism

lookupProperty returns own properties before the proto deny list runs. On Function.prototype, constructor is own → resolves to Function. Attacker template + context function fn → Function(attackerCode)() via #each / apply.

Not a generic npm dependency bug on every site: the app must compile/render attacker-controlled templates with allowProtoMethodsByDefault: true (default in some hbs setups) and expose a function in the render context.


Lab + exploit (recommended)

cd CVE-2026-106445
pip install -r requirements.txt
docker compose up --build -d

python poc.py -u http://127.0.0.1:13045 --mode check
python poc.py -u http://127.0.0.1:13045 --mode exploit
python poc.py -u http://127.0.0.1:13045 --mode exploit -c "id"
python poc.py -u http://127.0.0.1:13045 --mode exploit --json
python poc.py --mode payload -c "id"   # print Handlebars template only

Lab endpoints:

MethodPathRole
GET/healthhandlebars version + lab header
POST/renderJSON {"template":"..."}
GET/render?template=...optional (--use-get)

Remote / custom apps

Point at any URL base that mirrors the lab API (adjust paths):

python poc.py -u https://app.example --render-path /api/preview --mode exploit -c "id" --insecure
python poc.py --list targets.txt --mode exploit -j 10 --skip-check

Check uses /health when present, else benign template probe. Exploit sends the full GHSA template chain and requires POCBIT-106445-OK (or command output) in the JSON output field.

FlagPurpose
--mode exploitPOST malicious template, verify marker
-c / --commandOptional shell via child_process (Linux: id). Default: JS return marker (proves Function exec)
--skip-checkForce exploit without version gate
--dry-runPrint template string
--use-getGET /render?template=

FOFA / discovery (indicative)

Library CVE — hunt apps that compile user Handlebars, not handlebars.min.js on static pages:

body="handlebars" && body="allowProtoMethodsByDefault"
body="/render" && body="template" && server="Node"
header="X-Powered-By: Express"

Confirm with --mode check on suspected preview/render API.


Legal

Authorized testing only. Upgrade to [email protected]+ or disable allowProtoMethodsByDefault for untrusted templates.


GitHub description

CVE-2026-106445 — Handlebars 4.0.0–4.7.9 RCE via Function.prototype.constructor bypass (GHSA-p8wg-vrv2-v86f). PoCbit PoC + Docker lab (4.7.9), check/exploit HTTP client, GHSA template chain. Fixed 4.7.10. https://pocbit.org/pocs/cve-2026-106445
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    899
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    831
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    661
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    444
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    443
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    395

Explore all tools

Browse our collection of tools

View all tools →