CVE Catalog

CVE-2026-40205

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk involves potential unauthorized access to protected resources, which could lead to confidentiality and integrity breaches.

Recommendation

Use local token validation where possible and update the software to a non-vulnerable version.

Other vulnerabilities in Dovecot

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS