Eclipse Mosquitto auth bypass in PBKDF2 password hashing
Affects Eclipse Mosquitto 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2 when OpenSSL 4.0 runs with the FIPS provider and passwords shorter than 8 characters are used. No fixed version is named in the checked facts.
- Exploited
- No known exploitation
- Fix
- See vendor advisory
- Who is exposed
- Not reported
Summary
Eclipse Mosquitto does not check whether its sha512-pbkdf2 and legacy sha512 password hashing succeeded. When it runs with OpenSSL 4.0's FIPS provider, newly created passwords shorter than 8 characters can be matched by any other password shorter than 8 characters, so an attacker can log in without knowing the real password.
Written by a model
Original description
In Eclipse Mosquitto versions 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2, the return value of password hash functions for sha512-pbkdf2 and legacy sha512 were not checked. Starting with OpenSSL 4.0, sha512-pbkdf2 hashing will fail when using the FIPS provider for passwords shorter than 8 characters. This has the effect that newly created passwords would match against any other password with fewer than 8 characters.
Who should check
Teams running Eclipse Mosquitto 2.0.0-2.0.22 or 2.1.0-2.1.2, especially those using OpenSSL 4.0 with the FIPS provider and short passwords.
“In Mosquitto versions 2.0.0-2.0.22 and 2.1.0-2.1.2”
What to do
Workaround: The checked facts describe no workaround. The advisory's stated conditions are the FIPS provider with OpenSSL 4.0 and passwords shorter than 8 characters, so limiting either of those conditions would remove the setup the advisory describes.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-126708 (Unchecked PKCS5_PBKDF2_HMAC() return can authenticate any password), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-126708 (entry last updated 2026-11-19):
Affected:
- Eclipse Foundation Eclipse Mosquitto: from 2.0.0, through 2.0.22; from 2.1.0, through 2.1.2
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Mosquitto versions 2.0.0 to 2.0.22 or 2.1.0 to 2.1.2. (source: https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf)
- OpenSSL 4.0 is used with the FIPS provider. (source: https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf)
- Passwords shorter than 8 characters are used. (source: https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-126708 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-126708 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/eclipse-mosquitto/mosquitto/security/advisories/GHSA-878w-672v-qwmf
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/567
- http://www.openwall.com/lists/oss-security/2026/11/17/16
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-126708
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-126708"}.Affected versions
- Eclipse Foundation Eclipse MosquittoFrom 2.0.0 · through 2.0.22; From 2.1.0 · through 2.1.2
cve.now Index
- Exploitation0/40No signal
- Exposure20/25No login or user action needed, CISA rates it automatable · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity10/10CVSS 9.8, total technical impact per CISA
- No patch5/5No fixed version listed; see vendor advisory
What would change the score
- Would score about 80 if added to CISA KEV
- Would score about 75 if CISA's SSVC rates exploitation active
- Would score about 40 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
- Posted on X by cve.now
Public exploit activity
- EPSS: 0.53%
- Posted on X by cve.now Nov 19
Since disclosure: the repos PoC-in-GitHub lists and FIRST's daily EPSS score.
Evidence 5
| Kind | Source |
|---|---|
| Vendor advisory 2Establishes: Affected and fixed versions. | |
| Advisory | GitHub · eclipse-mosquitto/mosquitto · Advisory GHSA-878w-672v-qwmf |
| Link | gitlab.eclipse.org · security/cve-assignment/-/work_items/567 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-126708 |
| Record | NVD · CVE-2026-126708 |
| Write-ups 1Establishes: Technical detail and context. | |
| Link | openwall.com · lists/oss-security/2026/11/17/16 |
Questions about CVE-2026-126708
Is CVE-2026-126708 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The return value of the PKCS5_PBKDF2_HMAC() call is not checked, so a failed key derivation can let passwords be incorrectly accepted. With passwords under 8 characters, any password matches another short password, so authentication can be bypassed.
Source: github.com
Which versions are affected by CVE-2026-126708?
Eclipse Mosquitto: from 2.0.0 through 2.0.22; from 2.1.0 through 2.1.2.
Source: cve.now feed data
Am I affected, and how do I check?
Mosquitto 2.0.0 to 2.0.22 and 2.1.0 to 2.1.2 are affected when OpenSSL 4.0 is used with the FIPS provider and passwords shorter than 8 characters are used. To check, compare the installed Mosquitto version against these ranges, and check the OpenSSL version and whether the FIPS provider is in use.
Source: github.com
How do I fix CVE-2026-126708?
The checked facts name no fixed version and no patch identifiers, so no upgrade target can be given from them. Consult the Eclipse Mosquitto advisory for the fixed release.
Source: github.com
What if there's no patch?
The checked facts describe no workaround. The advisory's stated conditions are the FIPS provider with OpenSSL 4.0 and passwords shorter than 8 characters, so limiting either of those conditions would remove the setup the advisory describes.
Source: github.com
Related
- CVE-2026-110486Remote heap out-of-bounds read/write in Eclipse Mosquitto
- CVE-2026-129705PROXY v2 AF_UNIX TLV injection bypasses TLS/cert policy
- CVE-2026-126763In Eclipse Mosquitto versions 1.6 to 2.0.22 and 2.1.0 to 2.1.2, an MQTT v5.0 client connecting with a will-delay-interval that…
- CVE-2026-129149In Eclipse Mosquitto versions 2.1.0 to 2.1.2, using the mosquitto_ctrl utility in interactive shell mode to interact with a malicious…
- CVE-2026-126706In Eclipse Mosquitto versions 2.1.0 to 2.1.2, the mosquitto_ctrl utility would crash if attempting to interact with a hostile broker and…
- CVE-2026-130491Uninitialized heap disclosure in CONNECT through Will payload length truncation
No corrections so far. Something wrong on this page? Report an error.