---
id: "CVE-2026-121543"
kind: "vulnerability"
aliases: ["CVE-2026-121543"]
title: "smart-sso: any logged-in user can grant themselves administrator role"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["java", "package", "self-hosted", "smart-sso", "sso"]
not_affected_if: ["admin-paths-blocked-upstream", "version-after-2.0.1"]
published_at: "2026-11-03T16:17:25+00:00"
first_seen_at: "2026-11-03T16:21:43+00:00"
updated_at: "2026-11-03T16:23:37+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121543", "first_seen_at": "2026-11-03T16:21:43+00:00"}]
---

# smart-sso: any logged-in user can grant themselves administrator role

smart-sso through version 2.0.1 has a PermissionFilter flaw where unlisted paths are allowed by default. Any authenticated user can call admin console APIs, such as /admin/user-role/save, to make themselves an administrator and reset passwords.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the smart-sso version in your dependency manifest and confirm whether it is `2.0.1` or earlier.
- Look for the PermissionFilter class and whether unlisted admin paths are denied by default.
- Test whether a non-admin account can reach `/admin/user-role/save`.

## Fix

- Move to a smart-sso release later than `2.0.1`; the sources do not name the exact fixed version.

## Timeline

- 2026-11-03T16:21:43+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-121543

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/smart-sso-through-2.0.1-incorrect-authorization-in-permissionfilter-enables-admin-escalation
- [fix] Patch: github.com https://github.com/a466350665/smart-sso/commit/9bccabaa5ec5
- [fix] Patch: github.com https://github.com/a466350665/smart-sso/commit/a74a791bea7fc7b06ce95f52ce5805d8d7886d48

## From the sources

smart-sso through 2.0.1 contains an incorrect authorization vulnerability in PermissionFilter that allows any authenticated user to call admin console APIs because unlisted paths are permitted by default. Attackers can call /admin/user-role/save to assign themselves the administrator role, reset passwords, and manage users, roles, and applications across integrated systems.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
