CVE-2026-81036stalwartlabs stalwart
High 8.5 No auth needed
Follow: this CVE · stalwartlabs · stalwartlabs stalwart We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 4.0
- 8.5
- EPSS
- —
- Auth required
- No
- Published
- Aug 26, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Stalwart Mail Server does not compare an OAuth redirect target against any registered destination in its default configuration. The validation routine in crates/http/src/auth/oauth/registration.rs returns success immediately when the client-authentication requirement is disabled, and that requirement is false in the shipped settings, so the supplied redirect value is neither matched against a registered client nor otherwise constrained. The value is stored with the authorization code, and the login page reads it back and sends the browser to it with the code attached. A request naming a destination the attacker controls therefore delivers a valid authorization code there once the account holder authenticates, and because the token endpoint checks only that the redirect presented at exchange matches the one recorded with the code, the same party can exchange it for access and refresh tokens and read the account's mail.
What to do
- Apply the vendor's security update for stalwart.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- stalwartlabs · stalwart
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.