CVE-2023-27582
criticalpriority · track · 39EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
maddy is a composable, all-in-one mail server. Starting with version 0.2.0 and prior to version 0.6.3, maddy allows a full authentication bypass if SASL authorization username is specified when using the PLAIN authentication mechanisms. Instead of validating the specified username, it is accepted as is after checking the credentials for the authentication username. maddy 0.6.3 includes the fix for the bug. There are no known workarounds.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-4g76-w3xw-2x6wFull authentication bypass if SASL authorization username is specified2023-03-14ghsa · osvUS
### 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 * Commit that introduced the vulnerable code: https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a * Fix: https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c
- GO-2023-1630Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy2024-08-20vendor · osvUS
Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-27582/cnnvd
- https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399acnnvd
- https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9ccnnvd
- https://github.com/foxcpp/maddy/releases/tag/v0.6.3cnnvd
- https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6wcnnvd
- https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399aenisa_euvd
- https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9cenisa_euvd
- https://github.com/foxcpp/maddy/releases/tag/v0.6.3enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan