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

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-06T11:38:46.849Z
- Modified: 2026-11-16T16:17:46.017Z
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache James: from 3.9.0 before 3.9.1

## References

- <https://lists.apache.org/thread.html/xz1g0blzcbxod69oktyq84h7t06xzov6> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/11/06/13>

## Sources

- CVE List: [CVE-2025-66621](https://www.cve.org/CVERecord?id=CVE-2025-66621), CVE Terms of Use, modified 2026-11-16
- NVD: [CVE-2025-66621](https://nvd.nist.gov/vuln/detail/CVE-2025-66621), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2025-66621 · Whole record: https://cve.day/CVE-2025-66621.json · Rebuilt by cve.day 2026-11-25T22:59:12.566Z
