Advisory record · GHSA-5835-4gvc-32pc

Maddy Mail Server has an LDAP Filter Injection via Unsanitized Username

CVSS 8.2 HighEPSS 0.0043 · 37th percentile

Published by the GitHub Advisory Database at 13 Apr 2026, 19:22 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/foxcpp/maddyGo<0.9.30.9.3
Identifiers
GHSA-5835-4gvc-32pc · CVE-2026-40193 · GO-2026-5137
Weakness (CWE)
CWE-90
Published
13 Apr 2026
Updated
25 Jun 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Maddy Mail Server versions before 0.9.3 are vulnerable in the auth.ldap module, which builds LDAP search filters and DN strings from the username without escaping. An attacker who can reach the SMTP submission (AUTH PLAIN) or IMAP LOGIN interface can inject LDAP filter expressions through the username, enabling identity spoofing, directory enumeration, and attribute extraction. Upgrade to maddy 0.9.3.

Written 7 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.2 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0043, the 37th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:07 UTC First seen by agentprime
  2. 31 Oct 2026, 15:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.