OAuth2 Vulnerability in Apache James Mail Server

Check todayData theft and tampering over the network by a logged-in user.
8.1HIGH

Key Information:

Vendor

Apache

CVE ID
CVE ID:
CVE-2025-66621
Vendor
CVE Published:
6 November 2026
Fixed in
Fixed in:
3.9.1

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Update to a fixed version
Apache James 3.9.0 to below 3.9.1 is vulnerable
Install Apache James 3.9.1 or later
Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Apache James. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.1).

What is CVE-2025-66621?

Prior versions of Apache James SASL OAuthBearer/XOAUTH2, specifically those released before version 3.9.1, are susceptible to an improper authentication vulnerability. This occurs due to inadequate validation of the AUD claim within JSON Web Token (JWT) payloads, particularly when introspection settings are not configured. As a result, an attacker with valid credentials could potentially gain unauthorized access to the mail server. Users are advised to update their systems to versions that enforce proper AUD claim configuration and require introspection to mitigate this risk.

References

Key Exchange Vulnerability in Apache Tomcat

CVE-2026-133325
ApacheApache TomcatπŸ˜„πŸ‘Ύ9.8CRITICAL

Improper Exception Management in Apache Tomcat Affects Multiple Versions

CVE-2026-116561
ApacheApache TomcatπŸ˜„9.1CRITICAL

Deserialization Vulnerability in Apache Roller Affects Multiple Versions

CVE-2026-129448
ApacheApache RollerπŸ˜„πŸ‘Ύ9.8CRITICAL
View more Apache vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

The Apache James PMC would like to thanks Felix Auringer for this report
.