{"id":"CVE-2026-118959","kind":"vulnerability","aliases":["CVE-2026-118959"],"related":[],"title":"Keycloak: crafted login request can skip mandatory user actions","description":"A flaw was found in the required action provider mechanism of Keycloak. The issue occurs when an authorization request includes the kc_action query parameter set to a mandatory action already assigned to the user, such as profile verification or terms and conditions. Due to incorrect handling of application-initiated actions, Keycloak may skip these mandatory challenges and issue an authorization code. This can allow a user to bypass administrative requirements and gain access to the application without completing necessary profile updates or agreeing to terms.","summary":"A crafted authorization request with the kc_action parameter can make Keycloak skip required steps such as profile verification or terms acceptance and issue an authorization code. An attacker who has a valid account can reach the application without completing those mandatory steps.","severity":"medium","cvss":5.4,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["keycloak","runtime","self-hosted","sso"],"not_affected_if":["managed-identity-service","no-required-actions"],"how_to_check":"- Check the Keycloak version in use against the affected ranges in the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-118959)\n- Review whether the realm uses required actions such as profile verification or terms and conditions, since those are what can be skipped","fix":null,"status":"open","published_at":"2026-10-30T01:16:44+00:00","first_seen_at":"2026-10-30T01:27:58+00:00","triaged_at":"2026-10-30T01:29:40+00:00","updated_at":"2026-10-30T01:29:40+00:00","category":"runtime","confidence":0.6,"triage":{"at":"2026-10-30T01:29:40Z","model":"claude-haiku-5-5","output":{"fix":"unknown","reach":"internet","title":"Keycloak: crafted login request can skip mandatory user actions","impact":"medium","summary":"A crafted authorization request with the kc_action parameter can make Keycloak skip required steps such as profile verification or terms acceptance and issue an authorization code. An attacker who has a valid account can reach the application without completing those mandatory steps.","audience":"businesses","category":"runtime","nicknames":[],"who_cares":["keycloak","self-hosted","sso"],"confidence":0.6,"fix_status":"unknown","needs_auth":"yes","worst_case":"user gains app access without completing mandatory profile or terms steps","analyst_note":"Confirm affected and fixed Keycloak versions and whether a patch exists; check the Keycloak security advisory, the sources give no fix.","how_to_check":"- Check the Keycloak version in use against the affected ranges in the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-118959)\n- Review whether the realm uses required actions such as profile verification or terms and conditions, since those are what can be skipped\n- unknown for exact affected version numbers, the sources do not list them","plain_action":"","needs_analyst":true,"not_affected_if":["no-required-actions","managed-identity-service"],"who_is_affected":"Organizations running Keycloak as an identity provider that enforce required actions such as profile verification or terms acceptance before granting application access. The flaw lets a user with valid credentials bypass those checks, so deployments that do not use required actions are less exposed. unknown for which exact versions are affected.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"medium"},"cost_usd":0.000712,"input_tokens":4171,"output_tokens":590,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-118959':12A,15A '-2026':11A,14A 'accept':43B 'access':139C 'account':55B 'action':9A,29B,72C,87C,94C,116C 'administr':135C 'agre':149C 'allow':130C 'alreadi':95C 'applic':59B,114C,142C 'application-initi':113C 'assign':96C 'attack':50B 'author':24B,47B,82C,126C 'bypass':134C 'challeng':122C 'code':48B,127C 'complet':61B,144C 'condit':107C 'craft':2A,23B 'cve':10A,13A 'due':108C 'flaw':66C 'found':68C 'gain':138C 'handl':111C 'host':20B 'includ':84C 'incorrect':110C 'initi':115C 'issu':45B,78C,124C 'kc':28B,86C 'keycloak':1A,16B,33B,76C,117C 'login':3A 'make':32B 'mandatori':7A,63B,93C,121C 'may':118C 'mechan':74C 'necessari':145C 'occur':79C 'paramet':30B,89C 'profil':39B,102C,146C 'provid':73C 'queri':88C 'reach':57B 'request':4A,25B,83C 'requir':35B,71C,136C 'runtim':17B 'self':19B 'self-host':18B 'set':90C 'skip':6A,34B,119C 'sso':21B 'step':36B,64B 'term':42B,105C,151C 'updat':147C 'user':8A,99C,132C 'valid':54B 'verif':40B,103C 'without':60B,143C","nicknames":[],"mitigations":[],"who_affected":"Organizations running Keycloak as an identity provider that enforce required actions such as profile verification or terms acceptance before granting application access. The flaw lets a user with valid credentials bypass those checks, so deployments that do not use required actions are less exposed. unknown for which exact versions are affected.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"none","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T01:16:44+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","cvss_by":"secalert@redhat.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-118959","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118959","severity":null,"published_at":"2026-10-30T01:16:44+00:00","modified_at":"2026-10-30T01:16:44+00:00","first_seen_at":"2026-10-30T01:27:58+00:00","fetched_at":"2026-10-30T01:27:58+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}