{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66621","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2025-12-05T15:03:47.661Z","datePublished":"2026-11-06T11:38:46.849Z","dateUpdated":"2026-11-06T19:05:02.068Z"},"containers":{"cna":{"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2026-11-06T11:38:46.849Z"},"title":"Apache James: SASL OAUTHBEARER do not validate aud in JWT payload if misconfigred","problemTypes":[{"descriptions":[{"description":"CWE-345 Insufficient Verification of Data Authenticity","lang":"en","cweId":"CWE-345","type":"CWE"}]}],"source":{"discovery":"EXTERNAL"},"affected":[{"vendor":"Apache Software Foundation","product":"Apache James","versions":[{"status":"affected","version":"3.9.0","lessThan":"3.9.1","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"value":"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.","lang":"en","supportingMedia":[{"type":"text/html","base64":false,"value":"Apache James SASL OAuthBearer/XOAUTH2 prior versions 3.9.1 fails to validate correctly AUD claim of JWT payloads when introspection is not configured.<br><br>This allows an attacker with valid credentials to access the mail server even if they are not authorized to do so.<br><br>We recommend users to upgrade to non vulnerable version that forces explicit configuration of aud claims and forces introspection."}]}],"references":[{"url":"https://lists.apache.org/thread.html/xz1g0blzcbxod69oktyq84h7t06xzov6","tags":["vendor-advisory"]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"moderate"}},"scenarios":[{"lang":"en","value":"GENERAL"}]}],"credits":[{"lang":"en","value":"The Apache James PMC would like to thanks Felix Auringer for this report","type":"finder"}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/11/06/13"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2026-11-06T19:05:02.068Z"}}]}}