CVE Explorer
CVE-2026-40193
maddy is a composable, all-in-one mail server. Versions prior to 0.9.3 contain an LDAP injection vulnerability in the auth.ldap module where user-supplied usernames are interpolated into LDAP search filters and DN strings via strings.ReplaceAll() without any LDAP filter escaping, despite the go-ldap/ldap/v3 library's ldap.EscapeFilter() function being available in the same import. This affects three code paths: the Lookup() filter, the AuthPlain() DN template, and the AuthPlain() filter. An atta
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"maddy","vendor":"foxcpp","versions":[{"status":"affected","version":"< 0.9.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-90","description":"CWE-90: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/foxcpp/maddy/commit/6a06337eb41fa87a35697366bcb71c3c962c44ba","tags":["x_refsource_MISC"],"url":"https://github.com/foxcpp/maddy/commit/6a06337eb41fa87a35697366bcb71c3c962c44ba"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/references/1
{"name":"https://github.com/foxcpp/maddy/releases/tag/v0.9.3","tags":["x_refsource_MISC"],"url":"https://github.com/foxcpp/maddy/releases/tag/v0.9.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/references/2
{"name":"https://github.com/foxcpp/maddy/security/advisories/GHSA-5835-4gvc-32pc","tags":["x_refsource_CONFIRM"],"url":"https://github.com/foxcpp/maddy/security/advisories/GHSA-5835-4gvc-32pc"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0d52b82673b6b23286377b07a85a26c99e791394cb7cf05637aa66be43f2d845 · sha256:8696ec3177e07ce1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.