---
id: CVE-2026-111622
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'
cwe:
  - CWE-601
vendor: a466350665
product: smart-sso
affected:
  - smart-sso <= 2.1.1
published: '2026-10-16'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T20:17:20.827'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-111622'
references:
  - url: 'https://github.com/a466350665/smart-sso'
    label: disclosure@vulncheck.com
  - 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
    label: disclosure@vulncheck.com
  - 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
    label: disclosure@vulncheck.com
  - 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
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@hieuPenguinnn/smart-sso-oauth2-code-leak-open-redirect'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/smart-sso-through-2.1.1-oauth2-authorization-code-theft-via-unvalidated-redirecturi
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@hieuPenguinnn/smart-sso-oauth2-code-leak-open-redirect'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00429
epssPercentile: 0.36935
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T19:29:03.823422Z'
ingestedAt: '2026-10-16T18:43:08.691Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
