CVE-2025-66621

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductApache James
PublishedNov 6, 2026
First seenNov 6, 2026
Weakness typeCWE-345CWE-345

How to fix

Update
  • Apache Software Foundation Apache James3.9.1 or later

Affected products

ProductAffected versionsFixed in
Apache Software Foundation Apache James3.9.0 ≤ v < 3.9.13.9.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-66621 · Apache James · Vulnerabilities · Dark Radar