{"id":"CVE-2026-111622","published":"2026-10-16T18:17:41.980","lastModified":"2026-10-16T20:17:20.827","description":"smart-sso through 2.1.1 contains an open redirect vulnerability in the /login handler that allows unauthenticated attackers to steal OAuth2 authorization codes by supplying an unvalidated redirectUri parameter. Attackers can send crafted /login links to users with active SSO sessions, then redeem stolen codes at /oauth2/access_token with any valid client credentials to obtain victims' access tokens.","cvssScore":6.8,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","cwes":["CWE-601"],"vendors":[],"products":[],"references":[{"url":"https://github.com/a466350665/smart-sso","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/1.6.0/smart-sso-server/src/main/java/openjoe/smart/sso/server/controller/LoginController.java#L50-L59","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/1.6.0/smart-sso-server/src/main/java/openjoe/smart/sso/server/controller/Oauth2Controller.java#L55-L84","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/2.1.1/smart-sso-server/src/main/java/com/smart/sso/server/controller/LoginController.java#L53-L63","tags":[]},{"url":"https://hackmd.io/@hieuPenguinnn/smart-sso-oauth2-code-leak-open-redirect","tags":[]},{"url":"https://www.vulncheck.com/advisories/smart-sso-through-2.1.1-oauth2-authorization-code-theft-via-unvalidated-redirecturi","tags":[]},{"url":"https://hackmd.io/@hieuPenguinnn/smart-sso-oauth2-code-leak-open-redirect","tags":[]}],"exploitRefs":[{"url":"https://github.com/a466350665/smart-sso","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/1.6.0/smart-sso-server/src/main/java/openjoe/smart/sso/server/controller/LoginController.java#L50-L59","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/1.6.0/smart-sso-server/src/main/java/openjoe/smart/sso/server/controller/Oauth2Controller.java#L55-L84","tags":[]},{"url":"https://github.com/a466350665/smart-sso/blob/2.1.1/smart-sso-server/src/main/java/com/smart/sso/server/controller/LoginController.java#L53-L63","tags":[]}],"hasPoc":true,"ai":null}