REDHAT-BUG-2525547: High severity Dovecot dovecot vulnerability

Published Aug 28, 2026
·
Updated

An attacker that holds a token intended for a different purpose can authenticate, because when an OAuth2 token response does not contain a scope claim, the audience claim is used in its place and checked against the configured required scopes. These are different concepts, and the audience claim does not describe what a token is allowed to do. A token that grants no relevant permissions can be accepted because its intended recipient value happens to match a configured scope name, granting access that should have been denied. It also hides an identity provider misconfiguration where scopes are not being issued at all. Ensure the identity provider issues a scope claim for all tokens used with Dovecot, and that configured scope names do not match audience values. Update to non-vulnerable version. No publicly available exploits are known.

Affected Software

1 affected component
Dovecot dovecot

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Configure the identity provider to issue a scope claim for every token used with Dovecot.

    Identity provider scope claim = issued for all tokens used with Dovecot
  2. Configuration

    Ensure configured scope names do not match token audience values.

    Dovecot OAuth2 configuration configured scope names = must not match audience values

Event History

Aug 28, 2026
Data Sourced
via Red Hat·11:22 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Dovecot deployments that use OAuth2 authentication are exposed when their identity provider does not include a scope claim in tokens and an audience value matches a scope configured as required by Dovecot.

2

What must an attacker have to exploit it?

An attacker needs a token intended for a different purpose. Exploitation depends on that token lacking a scope claim while its audience claim matches a configured required scope name.

3

What can be done before updating?

Configure the identity provider to issue a scope claim for every token used with Dovecot. Also ensure configured Dovecot scope names do not match audience values.

4

How can I identify a potentially affected configuration?

Inspect OAuth2 tokens used with Dovecot to determine whether they contain a scope claim. Review Dovecot required-scope configuration and identify any configured scope names that also appear as token audience values.

5

Are public exploits available?

No publicly available exploits are known.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203