Skip to content

CVE-2025-66621 Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred

HighCVSS 8.1 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Apache James >= 3.9.0, < 3.9.1 3.9.1 Fixed

Affected products

ProductAffected versionsFixed in
Apache James >= 3.9.0, < 3.9.1 3.9.1

References