Skip to content
VulniPulse
Advisory severityUnratedApache Software Foundation Updated

Advisory [CVE-2025-66621] 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 Apache Software Foundation security advisory covers CVE-2025-66621; related products: Apache James SASL.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2025-66621 Source published Source updated

VulniPulse record published Record updated

CVE-2025-66621
Related products & platforms
Apache Software FoundationUnclassified
Open source advisory

Summary

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.

Is CVE-2025-66621 exploited?

No exploitation is reported in the sources VulniPulse tracks: CVE-2025-66621 is not in the CISA KEV catalog (checked ) and this advisory does not report exploitation. That is not proof the vulnerability cannot be exploited.

How do I fix CVE-2025-66621?

Upgrade to a fixed release named by Apache:

  • 3.9.1

Confirm against the vendor advisory before you patch.

Affected versions
  • Apache James 3.9.0 before 3.9.1

Official advisory · medium-confidence parse· fetched 8 hours ago·verify at source

Fixed versions
  • 3.9.1

Official advisory · medium-confidence parse· fetched 8 hours ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • We recommend users to upgrade to non vulnerable version that forces explicit configuration of aud claims and forces introspection.

Official advisory · medium-confidence parse· fetched 8 hours ago·verify at source

Get an email when Apache publishes the next one.

See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Apache
All Apache Software Foundation advisories

iPhone and Android apps · New on the App Store

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.