Skip to content

fix: Syncs the keycloak repository with upstream repository - #2

Merged
stevenlaitran-mbta merged 651 commits into
mainfrom
slt-sync-upstream
Nov 19, 2026
Merged

stevenlaitran-mbta merged 651 commits into
mainfrom
slt-sync-upstream

Conversation

@stevenlaitran-mbta

@stevenlaitran-mbta stevenlaitran-mbta commented Nov 13, 2026 •

Copy link
Copy Markdown

Summary

PR to sync the main branch with keycloak/keycloak since Integsoft hasn't really made any custom code and as they have been removed as a vendor, we need to reset our repositories with what keycloak has.

Note: this PR is syncing with keycloak@cbda2bf

Which is what the branch of 26.8.2 is built off of. I want to keep this in sync for now before we either move off of this completely or if there is an use case to keep this repo with custom code.

vramik and others added 30 commits September 23, 2026 07:13
Closes keycloak#48914

Signed-off-by: vramik <vramik@redhat.com>
Add null check for GroupRepresentation parameter in addTopLevelGroup to avoid NullPointerException.

Solves keycloak#52798

Signed-off-by: SatvikPrabhu <satvikp.567@gmail.com>
…nd addChild endpoints

Signed-off-by: SatvikPrabhu <satvikp.567@gmail.com>
Signed-off-by: SatvikPrabhu <satvikp.567@gmail.com>
Closes keycloak#52811

Signed-off-by: vramik <vramik@redhat.com>
Stop relying on the deprecated Full Scope Allowed switch in SCIM clients

Closes keycloak#53064
Closes: keycloak#51094

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Closes keycloak#51459

Signed-off-by: alehhu <159355663+alehhu@users.noreply.github.com>
Signed-off-by: alehhu <159355663+alehhu@users.noreply.github.com>
Signed-off-by: alehhu <159355663+alehhu@users.noreply.github.com>
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Both methods are typed to return arrays but carried catchNotFound: true,
which makes them resolve to null on a 404. Callers trust the declared type
and use the result directly, so a 404 surfaces as a raw TypeError from
Array.prototype.map instead of an error the UI can present.

findOne keeps the flag: there the nullable result is intentional and the
return type says so.

Closes keycloak#52475

Signed-off-by: Andrzej Świętek <mr.andi321@gmail.com>
…eycloak#52842)

* Pin resolved identity to prevent consent transfer on user recreation

Closes keycloak#51398

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* Add clientSession as a parameter

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* Sync pinned identities with online and offline sessions

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

---------

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
)

* Pass login_hint on attempted Organization authentication

Closes: keycloak#52268

Signed-off-by: Simon Vacek <vaceksimon-github@pm.me>

* fallback to attempted_username if login_hint null

Signed-off-by: Simon Vacek <vaceksimon-github@pm.me>

---------

Signed-off-by: Simon Vacek <vaceksimon-github@pm.me>
Closes keycloak#52760

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
…itations before making SCIM supported

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
InviteOrgActionTokenHandler sets the organization on the request context
in preHandleToken, which is only reached through
LoginActionsService.preHandleActionToken and so only runs on the
registration entry points. An invitee who already has an account opens
the action token URL, which executeActionToken dispatches straight to
handleToken, leaving the context organization unset.

Organizations.resolveOrganization then has neither a context
organization nor an ORGANIZATION_ATTRIBUTE auth note, falls through to
the membership check an invitee cannot pass yet, and returns null, so
FreeMarkerLoginFormsProvider leaves org out of the login form model.
An organization aware theme therefore cannot brand the confirm
membership page and can only name the organization by its name.

Set it in handleToken as well, under the same rule as preHandleToken:
for an existing member, or once the invitation is known to be valid, so
a revoked or expired link does not expose the organization's
attributes.

Cover it from the new test framework, with an organization login theme
in the custom providers that prints what the org bean exposes, and give
RealmBuilder a loginTheme option so the test can select that theme.

Closes keycloak#52396

Signed-off-by: Alexis Rico <sferadev@gmail.com>
Closes keycloak#52487

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
…be single value (keycloak#53000)

closes keycloak#52999



Signed-off-by: mposolda <mposolda@gmail.com>
Signed-off-by: Marek Posolda <mposolda@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Documentation for the Client TE Delegation

Closes keycloak#51986

Co-authored-by: Šimon Vacek <86605314+vaceksimon@users.noreply.github.com>
Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* Address suggestions

Co-authored-by: Ricardo Martin <rmartinc@redhat.com>
Signed-off-by: Martin Bartoš <mabartos@redhat.com>

---------

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Šimon Vacek <86605314+vaceksimon@users.noreply.github.com>
Co-authored-by: Ricardo Martin <rmartinc@redhat.com>
Closes keycloak#53084

Signed-off-by: Hager Khamis <hagerm98@hotmail.com>
Closes keycloak#53074

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
closes: keycloak#53037

Signed-off-by: Michal Vavřík <dev@michalvavrik.net>
Cache the resolved value per (parameter name, isTokenParam) pair, in
a size-bounded LocalCache wired in from OIDCLoginProtocolFactory. The
bound protects against memory growth in case this method is ever
called with attacker-controlled parameter names, e.g. via arbitrary
token request form parameters in TokenEndpoint.

Closes keycloak#52992

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…t loss and potential MissingFormatArgumentException

Closes keycloak#53069

Signed-off-by: Ruchika <ruchika.jha1@ibm.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
abstractj and others added 23 commits October 19, 2026 14:37
The SAML adapter now validates that the Issuer in SAML responses,
assertions, and logout requests matches the IDP entityID configured
in keycloak-saml.xml. Previously the adapter verified signatures,
audience, and time conditions but never checked whether the assertion
or logout request came from the expected identity provider.

Closes CVE-2026-93998

AI Disclosure: This commit was authored with the assistance of an AI
coding tool. All changes were reviewed and approved by the committer.

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
Closes CVE-2026-96448

(cherry picked from commit f389b78c6b282c8c58d89861f5ddbb251b57fa2f)

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Closes CVE-2026-92856

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
…w anything by DCR

Closes CVE-2026-92857
Closes CVE-2026-96547
Closes CVE-2026-97367
Closes CVE-2026-97847
Closes CVE-2026-97848

Signed-off-by: mposolda <mposolda@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Closes CVE-2026-114232

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
Closes CVE-2026-112201

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Closes keycloak#54184

Signed-off-by: Václav Muzikář <vmuzikar@ibm.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…to the subject token

Closes CVE-2026-96460

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
Closes keycloak#53760


(cherry picked from commit f026b56)

Signed-off-by: Atiqur Rahman <rahman.atiqur.pro@gmail.com>
Co-authored-by: Atiqur Rahman <rahman.atiqur.pro@gmail.com>
Closes CVE-2026-19688

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
… added into otherClaims

Closes CVE-2026-97174

Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Closes CVE-2026-107124

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Closes CVE-2026-110932

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Replace hardcoded manage-realm/RAT checks with Default Roles Disabled and
authenticated Full Scope Disabled policies so admins can opt back in.

Closes CVE-2026-109081

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Closes keycloak#54173


(cherry picked from commit d7b7d66)

Signed-off-by: rmartinc <rmartinc@redhat.com>
Co-authored-by: Ricardo Martin <rmartinc@redhat.com>
Closes keycloak#1502

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Closes keycloak#54398

Signed-off-by: stianst <stianst@gmail.com>
Closes CVE-2026-110931, CVE-2026-107602

Signed-off-by: Peter Skopek <peter.skopek@ibm.com>
Closes CVE-2026-112208

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: stianst <stianst@gmail.com>
…xclusions (keycloak#1539)

Closes: keycloak#54333


(cherry picked from commit e4bc357)

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Co-authored-by: Peter Zaoral <pzaoral@redhat.com>
Closes CVE-2026-117691

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
Assisted-by: Claude Opus 5.5
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
continue;
}
try {
this.allowedPatterns.add(Pattern.compile(p));
providers.put(CryptoConstants.RSA1_5, new DefaultRsaKeyEncryptionJWEAlgorithmProvider("RSA/ECB/PKCS1Padding"));
providers.put(CryptoConstants.RSA_OAEP, new DefaultRsaKeyEncryptionJWEAlgorithmProvider("RSA/ECB/OAEPWithSHA-1AndMGF1Padding"));
providers.put(CryptoConstants.RSA_OAEP_256, new DefaultRsaKeyEncryption256JWEAlgorithmProvider("RSA/ECB/OAEPWithSHA-256AndMGF1Padding"));
providers.put(CryptoConstants.RSA1_5, new RSAWrapperAlgorithmProvider(new DefaultRsaKeyEncryptionJWEAlgorithmProvider("RSA/ECB/PKCS1Padding")));
@stevenlaitran-mbta
stevenlaitran-mbta merged commit 77b5ac4 into main Nov 19, 2026
172 of 175 checks passed
@stevenlaitran-mbta
stevenlaitran-mbta deleted the slt-sync-upstream branch November 19, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.