{"id":"CVE-2023-27582","aliases":["ALPINE-CVE-2023-27582","EUVD-2023-0863","GHSA-4g76-w3xw-2x6w","GO-2023-1630"],"status":"published","title":"Full authentication bypass if SASL authorization username is specified","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.","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01019,"percentile":0.63793,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-287","CWE-305"],"published":"2023-03-13T21:40:23Z","modified":"2026-11-03T06:32:48Z","fixes":[{"ecosystem":"Go","package":"github.com/foxcpp/maddy","fixed_in":["0.6.3"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.23","package":"maddy","fixed_in":["0.6.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"maddy","fixed_in":["0.6.3-r0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/foxcpp/maddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"0.6.3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"maddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"0.6.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"maddy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.2.0"},{"fixed":"0.6.3-r0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/foxcpp/maddy","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0"},{"fixed":"0.6.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/foxcpp/maddy","ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0"},{"fixed":"0.6.3"}]}]}],"products":[{"vendor":"foxcpp","product":"maddy"},{"vendor":"maddy_project","product":"maddy"}],"references":[{"url":"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/foxcpp/maddy/releases/tag/v0.6.3","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-27582","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4g76-w3xw-2x6w"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-27582","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27582.json","tags":["advisory"]},{"url":"https://github.com/foxcpp/maddy","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-27582","title":"Full authentication bypass if SASL authorization username is specified","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.","status":"published","published":"2023-03-13T21:40:23.225Z","modified":"2025-02-25T14:58:06.143Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"cna"}],"cwes":["CWE-287","CWE-305"],"updated_at":"2026-11-02T14:35:26.63732Z"}],"euvd":[{"id":"EUVD-2023-0863","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.","status":"published","published":"2023-03-13T21:40:23Z","modified":"2025-02-25T14:58:06Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"updated_at":"2026-11-02T20:53:24.646946Z"}],"ghsa":[{"id":"GHSA-4g76-w3xw-2x6w","title":"Full authentication bypass if SASL authorization username is specified","description":"### Impact\n\nmaddy 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.\n\n### Patches\n\nmaddy 0.6.3 includes the fix for the bug. \n\n### Workarounds\n\nThere is no way to fix the issue without upgrading.\n\n### References\n\n* Commit that introduced the vulnerable code: https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a\n* Fix: https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c\n","status":"published","published":"2023-03-14T18:03:22Z","modified":"2023-03-14T18:03:23Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T14:36:48.041653Z"}],"nvd":[{"id":"CVE-2023-27582","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.","status":"published","published":"2023-03-13T22:15:12.387Z","modified":"2026-06-17T05:45:31Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-287","CWE-305"],"updated_at":"2026-11-02T14:07:49.031498Z"}],"osv":[{"id":"ALPINE-CVE-2023-27582","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.","status":"published","published":"2023-03-13T22:15:12.387Z","modified":"2026-11-03T06:32:48.281381353Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:16:46.202932Z"},{"id":"CVE-2023-27582","title":"Full authentication bypass if SASL authorization username is specified","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.","status":"published","published":"2023-03-13T21:40:23.225Z","modified":"2026-10-28T02:30:52.532030509Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-287","CWE-305"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"GHSA-4g76-w3xw-2x6w","title":"Full authentication bypass if SASL authorization username is specified","description":"### Impact\n\nmaddy 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.\n\n### Patches\n\nmaddy 0.6.3 includes the fix for the bug. \n\n### Workarounds\n\nThere is no way to fix the issue without upgrading.\n\n### References\n\n* Commit that introduced the vulnerable code: https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a\n* Fix: https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c\n","status":"published","published":"2023-03-14T18:03:22Z","modified":"2026-09-10T03:49:52.395242124Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"critical"}],"cwes":["CWE-287"],"updated_at":"2026-11-02T15:46:36.782754Z"},{"id":"GO-2023-1630","title":"Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy","description":"Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy","status":"published","published":"2024-08-20T20:29:14Z","modified":"2026-03-03T04:51:24.133369Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
