{"id":"CVE-2025-66621","aliases":["CVE-2025-66621"],"related":[],"kind":"vulnerability","state":"published","title":"Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred","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.\n\nThis allows an attacker with valid credentials to access the mail server even if they are not authorized to do so.\n\nWe recommend users to upgrade to non vulnerable version that forces explicit configuration of aud claims and forces introspection.","summarySource":"cvelist","descriptions":[{"lang":"en","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.\n\nThis allows an attacker with valid credentials to access the mail server even if they are not authorized to do so.\n\nWe recommend users to upgrade to non vulnerable version that forces explicit configuration of aud claims and forces introspection.","source":"cvelist"},{"lang":"es","text":"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.\n\nEsto permite a un atacante con credenciales válidas acceder al servidor de correo incluso si no está autorizado para ello.\n\nRecomendamos 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.","source":"nvd"}],"published":"2026-11-06T11:38:46.849Z","modified":"2026-11-16T16:17:46.017Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"3.9.0","fixed":"3.9.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache James","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread.html/xz1g0blzcbxod69oktyq84h7t06xzov6","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/06/13","tags":[],"sources":["cvelist","nvd"]}],"credits":["The Apache James PMC would like to thanks Felix Auringer for this report"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-11-10T18:47:45.501Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66621","url":"https://www.cve.org/CVERecord?id=CVE-2025-66621","licence":"CVE Terms of Use","modified":"2026-11-16T16:00:29.384Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66621","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66621","licence":"Public domain","modified":"2026-11-16T16:17:46.017Z"}],"updatedAt":"2026-11-25T22:59:12.566Z","epss":{"score":0.00196,"percentile":0.09798,"date":"2026-12-01T12:00:22.000Z"}}