Repository navigation
CVE-2026-120984 – Upstream affected versions and relationship to PR #43969 #55526
|
Hello, Red Hat has addressed CVE-2026-120984 in Red Hat build of Keycloak 26.4.18 (RHSA-2026:96037).
This information would help users of the upstream distribution assess their exposure and plan security upgrades. |
Replies: 1 comment 1 reply
|
Upstream does have a fix for CVE-2026-120984; it is just not the same change as PR #43969, and I could not find a GitHub Security Advisory for it. The upstream So for the 26.4 line, upstream 26.4.18 is the fixed release (the same version Red Hat shipped). Earlier 26.4.x releases that still leave that flag set are the affected ones. PR #43969 is a different change. It closed #43867 (the default JS policy blocking realm import because Upstream 26.8.2 is not affected by this CVE. If you are on 26.4.x, upgrade to 26.4.18 or later, or to 26.5.0+. I am not a maintainer. |
Upstream does have a fix for CVE-2026-120984; it is just not the same change as PR #43969, and I could not find a GitHub Security Advisory for it.
The upstream
26.4.18tag exists, and the only functional commit on that tag,d21c30af1d84, is explicitly markedCloses CVE-2026-120984. When authorization is first enabled, Keycloak creates a default JS policy and temporarily sets a session flag (ALLOW_CREATE_POLICY) so that policy can be written even though script upload is otherwise disabled. On26.4.17the flag was left set after that create, so a client create or import in the same request could also attach extra JS policies. The26.4.18commit clears the flag in afinallyblock:keycloa…