Low Severity CVE-2026-126708
Published: Nov 25, 2026

[GitHub] CVE-2026-126708

Other
Type
N/A
CVSS Score
5
Views
Anonymous
Author

Description

CVE-2026-126708 PoC — Eclipse Mosquitto Short Password Hash Bypass (CVSS 9.1)

![header](https://capsule-render.vercel.app/api?type=waving&height=200&color=0:0d1117,100:e94560&text=CVE-2026-126708&fontColor=ffffff&fontSize=40&fontAlignY=35&desc=Eclipse+Mosquitto+Short+Password+Hash+Bypass&descFontColor=aaaaaa&descFontSize=16&descAlign=50&descAlignY=55&animation=fadeIn&fontAlign=50)

[![CVE](https://img.shields.io/badge/CVE-2026--126708-red?style=flat-square&logo=cve)](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-126708)
[![CVSS](https://img.shields.io/badge/CVSS-9.1_Critical-critical?style=flat-square)](https://nvd.nist.gov/vuln/detail/CVE-2026-126708)
[![CWE](https://img.shields.io/badge/CWE-252-orange?style=flat-square)](https://cwe.mitre.org/data/definitions/252.html)
[![Language](https://img.shields.io/badge/Python-3.8+-blue?style=flat-square&logo=python)](https://www.python.org/)
[![Author](https://img.shields.io/badge/Author-cveForge-blueviolet?style=flat-square)](https://github.com/cveForge)

## Metadata

| Field | Value |
|------------|----------------------------------------------------|
| CVE ID | CVE-2026-126708 |
| Product | Eclipse Mosquitto MQTT Broker |
| CVSS Score | 9.1 Critical |
| CWE | CWE-252 (Unchecked Return Value / Short Hash) |
| Affected | Mosquitto <= 2.0.19 (password_file authentication) |
| Fixed In | Mosquitto >= 2.0.20 |

## Description

Eclipse Mosquitto's `password_file` authentication performs a hash prefix comparison that is vulnerable to short-password bypass. When a supplied password generates a hash that shares a prefix with a stored hash entry, authentication is incorrectly granted. Empty or very short passwords can exploit this logic flaw to gain unauthorized access.

## Attack Flow

```mermaid
flowchart LR
A[Attacker] -->|MQTT CONNECT user=admin pw=X| B[Mosquitto Auth]
B -->|hash short pw|

Community Rating
0

Login to rate this exploit

Quick Actions