All reports
Critical

Full authentication bypass if SASL authorization username is specified

Affected versions

Version ranges need review.

Affected versions
>=0.2.0 <0.6.3
Fixed version
0.6.3
Affected versions
>= 0.2.0, < 0.6.3
Fixed version
0.6.3

Exploitation

CVE-2023-27582

Probability of exploitation in the next 30 days: 1.02%

FIRST EPSS · 2026-11-19

Description

Impact

maddy 0.2.0 - 0.6.2 allows a full authentication bypass if SASL authorization username is specified when using the PLAIN authentication mechanisms. Instead of validating the specified authorization username, it is accepted as is after checking the credentials for the authentication username.

Patches

maddy 0.6.3 includes the fix for the bug.

Workarounds

There is no way to fix the issue without upgrading.

References

Links