CVE-2026-40205 Affecting dovecot package, versions <2.4.5-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE323-DOVECOT-19436020
  • published31 Aug 2026
  • disclosed28 Aug 2026

Introduced: 28 Aug 2026

NewCVE-2026-40205  (opens in a new tab)

How to fix?

Upgrade Alpine:3.23 dovecot to version 2.4.5-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dovecot package and not the dovecot package as distributed by Alpine. See How to fix? for Alpine:3.23 relevant fixed versions and status.

An attacker that holds an OAuth2 token granting only part of the required scopes can authenticate, because when more than one scope is required in the configuration, the remote token validation paths accept a token that carries only one of them, while the local token validation path correctly requires all of them. The configured authorization policy is not enforced, so a token that was granted only part of the required permissions is accepted where it should have been rejected. Use local token validation where tokens can be validated locally. Update to non-vulnerable version. No publicly available exploits are known.

CVSS Base Scores

version 3.1