# CVE-2023-27582: Full authentication bypass if SASL authorization username is specified

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Published: 2023-03-13T21:40:23.225Z
- Modified: 2026-09-10T03:49:52.395Z
- Also known as: GHSA-4g76-w3xw-2x6w, GO-2023-1630
- Weaknesses: CWE-287, CWE-305
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- foxcpp maddy: >= 0.2.0  0.6.3
- github.com/foxcpp/maddy (Go): from 0.2.0 before 0.6.3
- maddy_project maddy: from 0.2.0 before 0.6.3

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w> (advisory, patch, vendor-advisory, web)
- <https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a> (fix, patch, web)
- <https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c> (fix, patch, web)
- <https://github.com/foxcpp/maddy/releases/tag/v0.6.3> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27582> (advisory)
- <https://github.com/foxcpp/maddy> (package)

## Sources

- CVE List: [CVE-2023-27582](https://www.cve.org/CVERecord?id=CVE-2023-27582), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-4g76-w3xw-2x6w](https://github.com/advisories/GHSA-4g76-w3xw-2x6w), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1630](https://pkg.go.dev/vuln/GO-2023-1630), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2023-27582](https://nvd.nist.gov/vuln/detail/CVE-2023-27582), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-27582 · Whole record: https://cve.day/CVE-2023-27582.json · Rebuilt by cve.day 2026-11-25T22:58:22.406Z
