{"affected":[{"defaultStatus":"unaffected","product":"Apache James","source":"CNA: apache","vendor":"Apache Software Foundation","versions":[{"lessThan":"3.9.1","status":"affected","version":"3.9.0","versionType":"semver"}]}],"cveId":"CVE-2025-66621","cwes":["CWE-345"],"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.\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.","epss":null,"exploits":[],"kev":null,"metrics":[],"modifiedAt":1793965126849,"publishedAt":1793965126849,"references":[{"source":"CNA: apache","tags":["vendor-advisory"],"url":"https://lists.apache.org/thread.html/xz1g0blzcbxod69oktyq84h7t06xzov6"}],"remediation":[],"revision":"e81c08ee5b78d140dba56df96a26541ae1a46ca1f2bd938272f13901c892547a","sources":[{"modifiedAt":1793965126849,"name":"CNA: apache","retrievedAt":1793966899469,"url":"https://www.cve.org/CVERecord?id=CVE-2025-66621"}],"ssvc":null,"status":"published","title":"Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred","updatedAt":1793966899469}