UNCLASSIFIED - NO CUI

Tags

Tags give the ability to mark specific points in history as being important
  • 3.7.35

    protected
    Dependency refresh to pair with KC 26.8.1 (Netty 4.2.20, gRPC 1.85.1, BouncyCastle 1.86, Bolt 1.53.0, SnakeYAML 2.7, commons-lang3 3.21.0)
    
    - **Dependency refresh** to pair with the 26.8.1 minor bump in 3.7.34, which moved only Keycloak,
      Quarkus, and JUnit. No plugin Java code changes.
      - BouncyCastle `bcprov`/`bcpkix-jdk18on` 1.85 → 1.86
      - SnakeYAML 2.6 → 2.7
      - commons-lang3 3.20.0 → 3.21.0
      - org.json 20260522 → 20260814
      - FreeMarker 2.3.34 → 2.3.35
      - Slack Bolt 1.49.0 → 1.53.0, with the Kotlin stdlib forces it pulls in 2.3.21 → 2.4.21
      - Resolution-strategy forces kept in step with upstream: Netty 4.2.12 → 4.2.20.Final,
        gRPC 1.82.2 → 1.85.1, protobuf-java 4.35.0 → 4.36.2 (none of these are on the plugin's
        runtime classpath; the forces guard transitive pulls)
      - Test-only: Mockito 5.23.0 → 5.24.0, RESTEasy core 7.0.2 → 7.0.5.Final,
        Byte Buddy agent 1.18.8 → 1.18.17
    
    - Drop-in replacement for 3.7.34; same Keycloak 26.8.1 / Quarkus 3.40.1 pins and the same
      26.8 realm migration notes apply.
    - 1,453 tests pass, 8 skipped; parsson exclusion verified absent from the built JAR.
  • 3.7.34

    protected
    Keycloak 26.7.4 -> 26.8.1 (22 CVE fixes) + Quarkus 3.40.1, with the X.509 provider-resolution fix
    
    - **Keycloak** 26.7.4 → 26.8.1 (minor release published 2026-10-13; 22 CVE fixes, including
      CVE-2026-94218 2FA setup enforcement bypass via `login-actions/restart`, CVE-2026-96445
      Conditional OTP trusting skip headers on untrusted proxy paths, CVE-2026-94000 delegated
      `manage-users` admin escalating to `realm-admin` through group role mappings, CVE-2026-94001
      and CVE-2026-97177 reset-password permission bypasses, CVE-2026-97846 token exchange bypassing
      required mTLS certificate binding, CVE-2026-103884 path traversal via an X.509 CRL distribution
      point, CVE-2026-94215 cross-realm resource read/write through the realm cache session,
      CVE-2026-18569 unsigned forged OIDC backchannel logout tokens, CVE-2026-107121 SMTP STARTTLS
      downgrade, and dependency CVEs in jackson-databind. Also hardens X.509 handling that this
      plugin sits on: non-critical KeyUsage mismatches no longer bypass the authentication policy,
      and OCSP/CRL response size limits are enforced.)
    - **Quarkus** 3.33.3.2 → 3.40.1 (matches KC 26.8.1's bundled Quarkus; the routing extension
      builds and bundles against it unchanged)
    - **JUnit** 6.0.3 → 6.1.3 for the test suite, to match the Jupiter version the Quarkus 3.40.1
      BOM brings in; mismatched Platform/Jupiter versions made every test fail with an
      `IllegalAccessError` in `MethodReflectionUtils`.
    - **Docker dev image** 26.7.4 → 26.8.1
    
    - **Legacy Maven build files** (`pom.xml` at the root and under `quarkus-ext-routing/runtime` and
      `quarkus-ext-routing/deployment`, `assembly.xml`) and the stray
      `quarkus-ext-routing/deployment/settings.gradle`. The plugin and the routing extension have been
      built by the root Gradle build for years; the Maven files pinned an obsolete Quarkus and their
      only effect was to make the CI dependency-resolution pre-jobs (`dependency-scanning:maven-resolution`
      and `:gradle-resolution`) fail on every pipeline. `docs/DEVELOPMENT_MAINTENANCE.md` now describes
      the Gradle and docker-dev workflow for the extension instead.
    
    - Resolve the X.509 authenticator through Keycloak's registered provider instead of
      calling its constructor directly. This prevents `NoSuchMethodError` during
      registration and certificate-update flows on Keycloak 26.8, which removed the
      no-argument constructor, while preserving the runtime factory's configuration.
    
    - **Keycloak 26.8 is a minor release and this bump is not a pure drop-in for the realm.** Items
      from the upstream migration guide that touch P1 deployments:
      - The X.509 browser authenticator ("X509/Validate Username Form") gained a compulsory
        **Certificate Authority subject DN** option in the admin console and now always revalidates
        the client certificate chain against the server truststore; the old "Revalidate Client
        Certificate" switch is deprecated. Existing authenticator configurations without the CA
        subject DN keep working in 26.8 for backwards compatibility, but the option should be set
        (multi-valued: the DoD Root CA 3–6 subject DNs plus any partner anchors that must remain
        accepted) before the next major version enforces it. Verify CAC login on staging first.
      - Login failures are now stored in the database by default (`login-failures:v2`), which is
        what the P1 STIG brute-force authenticators read through the standard `loginFailures()` API;
        no plugin change was needed, but lockout behaviour should be re-tested on staging.
      - The SCIM API feature is enabled by default; the per-realm SCIM toggle still governs
        exposure, and instances that gate `/scim/v2` by IP should confirm the policy is in place
        before upgrading.
      - Identity-provider login buttons were redesigned; themes overriding `social-providers.ftl`
        should be checked (P1 realms configure no identity providers today).
    - Test stub update required this cycle: Keycloak 26.8 added `isReadOnly()` and
      `runAsReadOnly(Supplier)` to `KeycloakSession`; the anonymous session in
      `RegistrationValidationTest` implements both.
    - 1,453 tests pass (8 skipped). Parsson exclusion from the shadow jar (added in 3.7.29)
      preserved; verified `jakarta/json` and `org/eclipse/parsson` remain absent from the built JAR,
      and the `kc-routing` extension classes are present.
    - Plugin remains backwards-compatible with KC 26.7.x: the X.509 fix resolves the authenticator
      through the provider registry, which exists on both versions, and no 26.8-only SPI is used.
  • 3.7.33

    protected
    Keycloak 26.7.3 -> 26.7.4 (6 CVE fixes) + Quarkus 3.33.3.2 + client-lastseen listener
    
    - **Keycloak** 26.7.3 → 26.7.4 (patch release published 2026-09-16; 6 CVE fixes:
      CVE-2026-17526 privilege escalation via the `impersonation` role impersonating a realm
      administrator, CVE-2026-19607 username takeover leading to account lockout,
      CVE-2026-74909 percent-encoded semicolon bypass of matrix-parameter stripping in
      PathMatcher, CVE-2026-79651 unauthenticated DoS via unbounded locale caching,
      CVE-2026-90997 stateless replay gates accepting reused artifacts on MySQL/MariaDB,
      CVE-2026-18212 SAML redirect DEFLATE helpers leaking native zlib state). Also fixes
      keycloak/keycloak#52241, the admin console crash ("can't access property map") when
      clicking a subgroup, which was hit on production after the 26.7.3 upgrade.)
    - **Quarkus** 3.33.3.1 → 3.33.3.2 (matches KC 26.7.4's bundled Quarkus)
    - **Docker dev image** 26.7.3 → 26.7.4
    
    - **Client last-seen event listener (`client-lastseen`).** Stamps ISO-8601 UTC timestamps on
      client attributes (`p1.lastseen.login`, `.token`, `.service_account`, `.introspect`,
      `.token_exchange`, `.admin_api`, `.audience`, and the roll-up `.any`) whenever a client is
      observed authenticating, issuing tokens, being introspected, calling the admin API, or being
      named as a token audience. Writes are throttled per client and category (default once per
      day) so the hot path is a cache read and a timestamp compare. Configured under a new
      `clientLastSeen` section of the plugin YAML, which is optional: defaults are on with the
      `p1.lastseen.` prefix, so adding the listener under Realm settings → Events is the only switch. Stamps every client
      by default (`ignoreClients: []`); exemptions from disable/delete live in the audit job's
      allowlist. On the first event after being enabled on a realm it writes the realm attribute
      `p1.lastseen.tracking_since` once, so the audit knows when observation began without a
      configured date. Keeps a throttled `p1.lastseen.last_event`; if no event arrives for
      `resetAfterGapDays` (default 2) the next one is treated as a re-enable: the old start moves to
      `p1.lastseen.tracking_since_prior` and a new clock begins. Optional `webhookUrl` posts a
      Mattermost notice on start and on each reset. Supports the stale-client audit process (ATO condition 5). See
      `docs/STALE_CLIENT_TRACKING.md`.
    
    - Plugin remains backwards-compatible with KC 26.7.x (only the `compileOnly` SPI version pin
      and the bundled Quarkus extension platform version changed; KC patch releases do not change
      the SPI surface).
    - The `quarkus-ext-routing` extension is rebuilt against Quarkus 3.33.3.2 to match the KC
      runtime exactly; run this plugin on KC 26.7.4.
    - Parsson exclusion from shadow jar (added in 3.7.29) preserved — verified `jakarta/json` and
      `org/eclipse/parsson` remain absent from the built JAR.
    - No dependency-check regression expected; only KC + Quarkus versions changed.
  • 3.7.32

    protected
    Keycloak 26.7.1 -> 26.7.3 (20 CVE fixes) + retire legacy p1-sso theme + fix p1-sso-v2 CSS
    
    - **Legacy `p1-sso` theme.** Removed the original theme from the plugin JAR along with its
      `META-INF/keycloak-themes.json` registration and the now-dead SonarQube CSS suppression
      (`css:S7924` on `**/theme/p1-sso/**`). `p1-sso-v2` is the only theme this plugin ships;
      `p1-sso-v3` and `p1-sso-v4` live in the separate themes repository and ship as the
      `internal-themes` container image. Running realms select their theme from the database and
      are served by the init container, so this does not affect deployed environments.
    
      Note for restores: `apps/backup_restore/restore/base/resources/sql.sh` in the
      external-manifests repo sets `account_theme`, `admin_theme`, and `login_theme` to `p1-sso`.
      That script must be updated to `p1-sso-v2` or a restored realm will reference a theme the
      JAR no longer provides.
    
    - **`p1-sso-v2` `@font-face` CSS syntax bug.** Both `@font-face` blocks in
      `p1-keycloak-plugin/src/main/resources/theme/p1-sso-v2/custom-resources/css/new-ui.css` ended
      the `src:` list with a trailing comma before the closing `}`, which is invalid per CSS spec.
      Browsers silently ignored the malformed entry; Sonar's CSS parser (rule `css:S8775`)
      correctly rejected it. Removed the trailing comma → the declarations now terminate with a
      semicolon as CSS requires. No rendering change.
    - Documentation drift: `docs/DOCKER_DEV_ARCHITECTURE.md`, `docs/QUICK_START.md`,
      `docs/DEVELOPER_ONBOARDING.md`, `docker-dev/README.md`, and `README.md` described theme
      mounts and a `p1-sso-v3` directory that this repository has not contained. Corrected to
      match `docker-dev/docker-compose.yml`.
    - Deprecated CSS in `p1-sso-v2` (Sonar rule `css:S1874`): `word-break: break-word` in
      `new-ui.css` swapped for the modern `overflow-wrap: break-word`; `appearance: button` in
      `normalize.css` swapped for `appearance: auto` (Safari's `-webkit-appearance: button` on
      the next line kept for backwards compat). No visual change.
    - `UpdateX509.java` (Sonar rule `java:S2143`): inlined the intermediate
      `final Date expirationDate = cert.getNotAfter();` local into the chained
      `.toInstant().atZone(...)` call and dropped the now-unused `java.util.Date` import.
      Byte-identical execution path.
    
    - **Keycloak** 26.7.1 → 26.7.3 (patch release; 20 CVE fixes including CVE-2026-16089 — OIDC authorization codes retargeted to another client session; CVE-2026-16093 — signed-JWT assertion policy bypass via unsigned assertion headers; CVE-2026-18209 — incomplete fix for `redirect_uri` OIDC response-parameter injection; CVE-2026-18218 — client not-before revocation ignored when realm not-before is older but nonzero; CVE-2026-35563 — LDAP client TLS hostname verification. Full list in the [26.7.3 release notes](https://github.com/keycloak/keycloak/releases/tag/26.7.3).)
    - **Quarkus** unchanged at 3.33.3.1 (KC 26.7.3 bundles the same Quarkus).
    - **Docker dev image** 26.7.1 → 26.7.3.
    
    - Plugin remains backwards-compatible with KC 26.7.1 and 26.7.2 (no plugin Java code changes; only the `compileOnly` SPI version pin updated, and KC patch releases don't change SPI surface).
    - 1427 tests pass; no test-stub updates required this cycle.
    - Parsson exclusion from the shadow jar (added in 3.7.29) preserved — verified `jakarta/json` and `org/eclipse/parsson` remain absent from the built JAR.
    - No dependency-check regression expected; only KC version changed.
    - Formalizes support for KC 26.7.3, which the P1-managed environments moved to via configmap bump ahead of this plugin release. This release realigns the plugin's `compileOnly` SPI pin with the runtime version so nothing depends on library-version drift.
  • 3.7.31

    protected
    Skip ApplicationsBean construction on account page (~45s cold-hit -> instant) + defensive CME snapshot
    
    - **Account console Applications page `/account/#/applications`: ~45s cold-hit wall time + intermittent `ConcurrentModificationException`.** Two problems, one release:
      - **Root cause of the slowness:** the P1-overridden `FreeMarkerAccountProvider.createResponse(APPLICATIONS)` always constructed a full `ApplicationsBean` — which iterates every non-bearer-only client in the realm and, per client, runs `client.getClientScopes(true/false)` + `TokenManager.getAccess(...)` role-graph walk + optional `getConsentByClient(...)` DB fetch. On realms with hundreds of clients, a cold Infinispan cache turned that O(clients × per-client DB queries) into ~30-45 second page loads. But the P1 theme family renders `applications.ftl` as static HTML — a curated URL list or an intentionally-blank page — and **never references `${applications}`**. All of that server-side work was wasted.
      - **Root cause of the CME:** during the same wide window, `realm.getClientsStream()` returned a stream backed by an internal `HashMap<String, ClientModel>`; if another thread mutated the map (admin API client create/update/delete, cache invalidation, background sync), the stream's `HashMap$ValueSpliterator.forEachRemaining` threw CME, which KC's error handler turned into a retry/hang cycle before the page rendered.
    
      **Fix:** short-circuited the APPLICATIONS branch of `FreeMarkerAccountProvider` to construct an empty `ApplicationsBean` via a new no-op constructor. The FreeMarker model still exposes an `applications` variable (empty list), the static-HTML templates render exactly as before, and none of the O(clients) per-user work runs. Cold-hit Applications page: **~45s → ~10ms**. Warm hits unchanged. CME race window is zero because there's no work to race against.
    
      Retained as defense-in-depth: the full `ApplicationsBean(session, realm, user)` constructor now materializes the client stream to a `List` snapshot before filter/map chain, so any future code path or downstream theme that opts back into the real bean gets safe concurrent-modification behavior instead of the historical crash.
    
    - No-op `ApplicationsBean()` constructor (empty list, zero collaborator interactions) used by the account provider's APPLICATIONS branch.
    - Regression tests in `ApplicationsBeanTest.java`:
      - `emptyConstructor_producesEmptyList_andTouchesNoCollaborators` — asserts the no-op bean produces an empty list and calls nothing on session/realm/user/userProvider. If this regresses, the 45s cold-hit returns.
      - `applicationsIsSnapshot_stableAcrossRealmClientMutation` — asserts the defensive-snapshot contract on the full constructor (defense-in-depth).
    
    - Drop-in replacement for 3.7.30. No SPI or API surface changes.
    - Behavior change for `/account/#/applications`: the `${applications}` FreeMarker variable is now always an empty list. Zero impact on any current P1 or customer theme (verified). If a future theme wants per-user applications data, it must either call the full `ApplicationsBean(session, realm, user)` constructor explicitly or introduce a lightweight replacement (planned as a follow-up phase — per-user tile filtering via group membership).
    - Plugin shadow of KC's built-in `account-v1` provider ID (via `AccountFormServiceFactory` + our `FreeMarkerAccountProvider`) is unchanged. Longer-term direction remains: migrate P1 themes off `accountResourceProvider=account-v1` to KC's native React account console, which would let us delete the entire `org.keycloak.forms.account.freemarker.*` + `org.keycloak.services.resources.account.*` custom code path (~7 files).
  • 3.7.30

    protected
    Keycloak 26.7.0 -> 26.7.1 (12 CVE fixes) + Quarkus 3.33.3.1
    
    - **Keycloak** 26.7.0 → 26.7.1 (patch release; 12 CVE fixes including CVE-2026-4629 privilege escalation via hardcoded role mapper injection in `manage-clients`, CVE-2026-9793 JWE request object bypassing `requestObjectSignatureAlg` enforcement, CVE-2026-16443 SAML broker metadata import disabling response signature validation, CVE-2026-15573 authorization bypass via unnormalized URI matching in pathmatcher, CVE-2026-15572 DCR protocol mapper type-swap policy bypass, CVE-2026-16071 LDAP entry-dn user search bypassing configured users dn boundary, CVE-2026-16100 unbounded metric cardinality in user event metrics, CVE-2026-16442 SAML idp-initiated broker login bypassing link-only restriction, CVE-2026-16102 default DCR policy allowing role forgery via user property mappers, CVE-2026-14209 Admin UI Extension `brute-force-user` user disclosure under FGAP v2, CVE-2026-14614/14615 FGAP v2 permissions bypasses in Client Scope Assignment and parent group children endpoint. Also fixes a WebAuthn attachment policy bypass when the client omits the attachment field — relevant to future passkey work per DoD 2025-10-24 MFA memo)
    - **Quarkus** 3.33.2.1 → 3.33.3.1 (matches KC 26.7.1's bundled Quarkus)
    - **Docker dev image** 26.7.0 → 26.7.1
    
    - Plugin remains backwards-compatible with KC 26.7.0 (no plugin Java code changes; only `compileOnly` SPI version pin updated, and KC patch releases don't change SPI surface).
    - 1425 tests pass; no test-stub updates required this cycle (unlike 3.7.27's KC 26.7.0 bump which required SPI-driven mock updates).
    - Parsson exclusion from shadow jar (added in 3.7.29) preserved — verified `jakarta/json` and `org/eclipse/parsson` remain absent from the built JAR.
    - No dependency-check regression expected; only KC + Quarkus versions changed.
  • 3.7.29

    protected
    3.7.29 — parsson exclusion (fixes SmallRye Health conflict) + MDC registration logging + username length 22→48 (bundles 3.7.28)
  • 3.7.27

    protected
    v3.7.27: Keycloak 26.7.0, Log4j 2.26.1, Gradle dependency locking
  • 3.6.10-rc.2

    protected
    2a10a380 · Merge branch 'main' of... ·
  • 3.6.10-rc.1

    protected
    9701e81d · wrong version ·
  • 3.6.8

    protected
    ded104fc · update doc ·
  • 3.6.8-rc.1

    protected
    ded104fc · update doc ·
  • 3.6.7-rc.2

    protected
    3588ac54 · add kc version comp ·
    Update to KC 26.1.4, new tag to test pipeline changes
  • 3.6.7-rc.1

    protected
    3588ac54 · add kc version comp ·
    Update to Keycloak 26.1.4
  • 3.6.7-rc.0

    protected
    c108bb41 · update ·
    Update to Keycloak 26.1.4
  • 3.6.6

    protected
    Update to Keycloak 26.1.3