CVE-2025-66621
JSON

8.1high

Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.20% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Jamesfrom 3.9.0 before 3.9.1CVE List

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Apache James SASL OAuthBearer/XOAUTH2 en versiones anteriores a la 3.9.1 no valida correctamente la declaración AUD de las cargas útiles JWT cuando la introspección no está configurada. Esto permite a un atacante con credenciales válidas acceder al servidor de correo incluso si no está autorizado para ello. Recomendamos a los usuarios actualizar a una versión no vulnerable que fuerza la configuración explícita de las declaraciones aud y la introspección.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66621 changed 2026-11-16CVE Terms of Use
NVDCVE-2025-66621 changed 2026-11-16Public domain