CVE-2025-66621

published 6 Nov 2026 · updated 16 Nov 2026

Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.9.1.

Apache James SASL OAuthBearer/XOAUTH2 prior versions 3.9.1 fails to validate correctly AUD claim of JWT payloads when introspection is not configured. This allows an attacker with valid credentials to access the mail server even if they are not authorized to do so. We recommend users to upgrade to non vulnerable version that forces explicit configuration of aud claims and forces introspection.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=3.9.0 <3.9.13.9.1

Coverage

News and research mentioning this CVE

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-66621 severity on Zeptric[![CVE-2025-66621](https://zeptric.io/badge/cve/CVE-2025-66621.svg)](https://zeptric.io/cve/CVE-2025-66621)