Full 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-27582
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:04 UTC · Revision 1
Source evidence
Full authentication bypass if SASL authorization username is specified
core-osv · Original sourcePublished 13 Mar 2023, 21:40 UTC
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.
osv:CVE-2023-27582
Complete source record
{
"id": "a220cc0628e8099accaa128c83efc8ca1ab540b3cfb617e856191458b7cd453f",
"url": "https://osv.dev/vulnerability/CVE-2023-27582",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Full authentication bypass if SASL authorization username is specified",
"summary": "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.",
"evidence": "osv:CVE-2023-27582",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2023-27582",
"aliases": [
"CVE-2023-27582",
"GHSA-4g76-w3xw-2x6w",
"GO-2023-1630"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/foxcpp/maddy",
"type": "GIT",
"events": [
{
"introduced": "b54c705e2d3f415daa853a2e146322f4f29a8dca"
},
{
"fixed": "ee1e340c77ed04f1f76aed826bc6a53c07fddc75"
},
{
"fixed": "55a91a37b71210f34f98f4d327c30308fe24399a"
},
{
"fixed": "9f58cb64b39cdc01928ec463bdb198c4c2313a9c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:maddy_project:maddy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.2.0"
},
{
"fixed": "0.6.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "55a91a37b71210f34f98f4d327c30308fe24399a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9f58cb64b39cdc01928ec463bdb198c4c2313a9c"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "ee1e340c77ed04f1f76aed826bc6a53c07fddc75"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v0.6.3"
}
]
}
}
],
"versions": [
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-27582.json"
}
}
],
"modified": "2026-10-28T02:30:52.532030509Z",
"provider": "osv",
"references": [
"https://github.com/foxcpp/maddy/releases/tag/v0.6.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27582.json",
"https://github.com/foxcpp/maddy/security/advisories/GHSA-4g76-w3xw-2x6w",
"https://nvd.nist.gov/vuln/detail/CVE-2023-27582",
"https://github.com/foxcpp/maddy/commit/55a91a37b71210f34f98f4d327c30308fe24399a",
"https://github.com/foxcpp/maddy/commit/9f58cb64b39cdc01928ec463bdb198c4c2313a9c"
],
"provider_metadata": {
"cwe_ids": [
"CWE-287",
"CWE-305"
],
"cna_assigner": "GitHub_M",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": ">= 0.2.0 0.6.3"
},
{
"last_affected": ">= 0.2.0 0.6.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/27xxx/CVE-2023-27582.json"
}
},
"related_cves": [
{
"value": "CVE-2023-27582",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521183,
"published_at": "2023-03-13T21:40:23.225+00:00"
}