CVE-2023-27582Maddy Project Maddy
Critical 9.8 No auth needed
Follow: this CVE · Maddy Project · Maddy Project Maddy We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Mar 13, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Maddy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/foxcpp/maddy |
≥ 0.2.0 < 0.6.3 |
0.6.3 |
go get github.com/foxcpp/maddy@v0.6.3 |
| Go | github.com/foxcpp/maddy |
≥ 0.2.0 < 0.6.3 |
0.6.3 |
go get github.com/foxcpp/maddy@v0.6.3 |
Per OSV / GitHub Advisories (GHSA-4g76-w3xw-2x6w, GO-2023-1630). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| maddy_project | maddy | ≥ 0.2.0 < 0.6.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Release Notes
- github.com Patch Vendor Advisory