[ CVE-2025-66621 · Published 6 Nov 2026 ]
Vulnerability in Apache Software Foundation Apache James
[ Description ]Official description
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.
[ Fixes ]How to fix it
Fixed versions
- Apache Software Foundation Apache James: upgrade to 3.9.1 or laterEarlier versions are listed as affected
From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.
Vendor advisories and patches
- Vendor advisorylists.apache.org