OAuth2 Vulnerability in Apache James Mail Server
Key Information:
- Vendor
Apache
- Status
- 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
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
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction