Apache James <3.9.1 OAuthBearer SASL JWT AUD claim bypass
CVE-2025-66621 Published on November 6, 2026

Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred
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.

Vendor Advisory NVD

Vulnerability Analysis

Exploitation:
NONE
Automatable:
YES
Technical Impact:
TOTAL

Weakness Type

Insufficient Verification of Data Authenticity

The software does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.


Products Associated with CVE-2025-66621

Want to know whenever a new CVE is published for Apache James? stack.watch will email you.

Affected Versions

Apache Software Foundation Apache James:

Exploit Probability

EPSS
0.14%
Percentile
3.02%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.