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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-06 · Modified: 2026-11-16
- Record: https://cvemate.com/vulnerability/CVE-2025-66621 · JSON: https://cvemate.com/vulnerability/CVE-2025-66621/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.196%, percentile 9.78%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache james: ≥ 3.9.0, \< 3.9.1

## References

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

---

Data as of 2026-12-05T10:09:45.347Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
