CVE-2023-27582
CRITICAL 9.8CVSS 3.1Full authentication bypass if SASL authorization username is specified
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.
- Published
- 13 Mar 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-4g76-w3xw-2x6wGO-2023-1630
- Sources
- NVDJSONOSV GHSA-4g76-w3xw-2x6wJSONOSV GO-2023-1630JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | maddy_project | maddycpe:2.3:a:maddy_project:maddy:*:*:*:*:*:*:*:* |
>= 0.2.0, < 0.6.3 | 0.6.3 |
| OSV | Go | github.com/foxcpp/maddy | >= 0.2.0, < 0.6.3 | 0.6.3 |
References
- https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a · Patch, WEB, FIX
- https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c · Patch, WEB, FIX
- https://github.com/foxcpp/maddy/releases/tag/v0.6.3 · Release Notes, WEB
- https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w · Patch, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-27582 · ADVISORY
- https://github.com/foxcpp/maddy · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 13 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Mar 2023)