Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred
- CVE-2025-66621
- GHSA-rg6c-rqpp-49q4
- EUVD-2025-211271
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.
Text from the CVE.org record.
Recommendation
Apache Software Foundation Apache James
- If you run 3.9.xupdate to 3.9.1 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Apache Software Foundation Apache James
Affected versions Fixed in from 3.9.0 to before 3.9.1 3.9.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.