8000 Bump i18next to 26.7.2 for CVE-2026-63402 by edewit · Pull Request #55808 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Bump i18next to 26.7.2 for CVE-2026-63402 - #55808

Open
edewit wants to merge 1 commit into
keycloak:mainfrom
edewit:fix/kc-55471
Open

edewit wants to merge 1 commit into
keycloak:mainfrom
edewit:fix/kc-55471

Conversation

@edewit
@edewit edewit commented Dec 4, 2026
Copy link
Copy Markdown
Contributor

Closes #55471

Upgrades i18next to 26.7.2 (>= 26.3.4) so CVE-2026-63402 no longer applies to the admin/account UI dependency tree.

Decisions and assumptions:

  • Required major bump 25→26; Keycloak only uses interpolation.escapeValue / TFunction and does not rely on removed v26 APIs.
  • react-i18next@16 peer range remains satisfied.
  • Reachability of the vulnerable deep+overwrite addResourceBundle path is low in Keycloak, but the installed vulnerable version still needs the bump.

AI agents assisted with implementing this change from the issue description.

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testVerifyEmailRequiredActionWhenChangingEmailDuringFirstLogin

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testUpdateProfileIfMissingInformation

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testUpdateEmailReviewProfileLinkingAccount

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot
Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testVerifyEmailRequiredActionWhenChangingEmailDuringFirstLogin

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testUpdateProfileIfMissingInformation

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

org.keycloak.testsuite.broker.KcSamlFirstBrokerLoginTest#testUpdateEmailReviewProfileLinkingAccount

Keycloak CI - FIPS IT (non-strict)

jakarta.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
	at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.handleErrorStatus(ClientInvocation.java:250)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.extractors.DefaultEntityExtractorFactory$3.extractEntity(DefaultEntityExtractorFactory.java:41)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invokeSync(ClientInvoker.java:146)
	at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:104)
...

Report flaky test

@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@edewit
edewit marked this pull request as ready for review December 4, 2026 11:20
@edewit
edewit requested review from a team as code owners December 4, 2026 11:20
Copilot AI balanced review requested due to automatic review settings December 4, 2026 11:20
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The i18next dependency update has no active review issues.

No open issues 🎉

1 file not reviewed
  • js/pnpm-lock.yaml: Generated file
What changed in this PR

Updates i18next to 26.7.2 across Keycloak’s UI packages to address CVE-2026-63402, resolving #55471.

Changes:

  • Bumps the dependency in the admin UI, account UI, and shared UI library.
  • Updates lockfile resolutions and react-i18next peer bindings.
File Description
js/​pnpm-lock.yaml Locks i18next 26.7.2 and updates dependency metadata.
js/​libs/​ui-shared/​package.json Updates the shared UI dependency range.
js/​apps/​admin-ui/​package.json Updates the admin UI dependency range.
js/​apps/​account-ui/​package.json Updates the account UI dependency range.

Review effort: Balanced

Upgrade account-ui, admin-ui, and ui-shared from i18next 25.x to a
fixed 26.3.4+ release and refresh the pnpm lockfile.

Closes keycloak#55471

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Copilot AI balanced review requested due to automatic review settings December 4, 2026 13:54
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the i18next dependency update.

No open issues 🎉

1 file not reviewed
  • js/pnpm-lock.yaml: Generated file

Review effort: Balanced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CVE-2026-63402 i18next

2 participants

0