smart-sso through 2.1.1 OAuth2 Authorization Code Theft via Unvalidated redirectUri
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-111622
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:39 UTC · Revision 1
Source evidence
smart-sso through 2.1.1 OAuth2 Authorization Code Theft via Unvalidated redirectUri
core-osv · Original sourcePublished 16 Oct 2026, 17:38 UTC
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.
osv:CVE-2026-111622
Complete source record
{
"id": "633006f47df3f9008dffdc41eb8a4fba3299d2401d610bdfb2033a65adf5678d",
"url": "https://osv.dev/vulnerability/CVE-2026-111622",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "smart-sso through 2.1.1 OAuth2 Authorization Code Theft via Unvalidated redirectUri",
"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 /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.",
"evidence": "osv:CVE-2026-111622",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-111622",
"aliases": [
"CVE-2026-111622"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/a466350665/smart-sso",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "13c38f6159fb2354f63ab3d1c8e8d64692b51e74"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.1.1"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"2.1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111622.json"
}
}
],
"modified": "2026-10-28T02:30:38.184119276Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111622.json",
"https://hackmd.io/@hieuPenguinnn/smart-sso-oauth2-code-leak-open-redirect",
"https://nvd.nist.gov/vuln/detail/CVE-2026-111622",
"https://www.vulncheck.com/advisories/smart-sso-through-2.1.1-oauth2-authorization-code-theft-via-unvalidated-redirecturi",
"https://github.com/a466350665/smart-sso",
"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",
"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",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-601"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111622.json"
}
},
"related_cves": [
{
"value": "CVE-2026-111622",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505775,
"published_at": "2026-10-16T17:38:58.736+00:00"
}