CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

net/keycloak 26.8.1

Fixed in main, not merged to 2026Q4: Keycloak -- multiple vulnerabilities

Identity and access management solution

Port info

Maintainer
freebsd@rheinwolf.de
Packages
latest: 26.8.1
Upstream
up to date
Last update
to 26.8.1 · 59586feeb3
Quarterly
2026Q4: 26.8.0 1 VuXML · last MFH b4a810960b
WWW
https://www.keycloak.org/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install keycloak
installs 26.8.1 from latest; from quarterly (2026Q4) 26.8.0
Port
# cd /usr/ports/net/keycloak && make install clean
# make -C /usr/ports/net/keycloak config  # change options first
Size
159 MiB download · 183 MiB installed
Depends on
java/openjdk25 25.0.4+7.f.1_1
License
APACHE20
Creates
user keycloak, group keycloak
Options
2 of 2 on in the package: DOCS EXAMPLES
pkg-message
Shown after installing
Keycloak was installed

1) Configuration files are located at /usr/local/share/java/keycloak/conf
2) keycloak start in production mode by default. https is mandatory in this
   mode. You must generate some certificate files.

   # cd /usr/local/share/java/keycloak/conf
   # openssl req -newkey rsa:2048 -nodes -keyout server.key.pem -x509 \
     -days 3650 -out server.crt.pem
   # chmod 640 server.crt.pem server.key.pem
   # chown keycloak:keycloak server.crt.pem server.key.pem

   Do not forget set certificate paths into keycloak.conf

3) If you want start keycloak on develpment mode (http), you can change
   it the following way:

   # sysrc keycloak_flags=start-dev

4) Also you can use mysql or postgresql backend for store keycloak data. Take a
   look at db, db-username, db-password and db-url options into keycloak.conf
   file.

5) Enable keycloak service

   # service keycloak enable

6) Sometimes you will need run a keycloak build when you change some settings
   into config file or when you pass from development mode to production mode.
   Try the following if you need it:

   # service keycloak build

7) Start keycloak service

   # service keycloak start

8) Development mode listen on 8080 port and production mode listen on 8443 port
   by default. Depending of your own configuration, the administration console
   can be accesing from a web browser from localhost first time:

   http://localhost:8080

   or if you are using production mode

   https://ip_or_hostname:8443

9) Also, you can create admin user by using KEYCLOAK_ADMIN and
   KEYCLOAK_ADMIN_PASSWORD environment variables when keycloak is started first
   time on production mode:

   # cd /usr/local/etc/rc.d
   # KEYCLOAK_ADMIN=admin_user KEYCLOAK_ADMIN_PASSWORD=pass_user sh keycloak start

10) For more information about keycloak configuration, visit:

   https://www.keycloak.org/documentation

11) Enjoy it

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 1626.8.126.8.0–
FreeBSD 1526.8.126.8.0–
FreeBSD 1426.8.026.8.026.8.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1526.8.026.8.0–
FreeBSD 1426.8.026.8.026.8.1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 26.8.1.

Fixed (8)

Show 8 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (76)

Alexander Leidinger (netchild) · 22.0.3
net/keycloak: Update to 22.0.3.
b4fb85cb04
Li-Wen Hsu (lwhsu) · 21.1.1
net/keycloak: Update to 21.1.1

PR:		271207
Approved by:	Matthias Wolf <freebsd@rheinwolf.de> (maintainer)
4bc816591d
Fernando Apesteguía (fernape) · 20.0.5
net/keycloak: Update to 20.0.5

ChangeLog: https://www.keycloak.org/2023/02/keycloak-2005-released.html

Bugs:

 * Fine-grained authorization behavior for management of groups differs between
   version 18.0.3 and 19.03, 20.0 keycloak-ui section/other
   * Not able to see the events UI keycloak-ui section/events
 * Keycloak 20.0.2-1 OutOfMemoryError in admin ui keycloak-ui section/clients
 * SAML client import cert pem file for "Encryption keys config" broken
   keycloak-ui section/clients
 * Default value of `NameID policy format` is not correct in SAML Identity
   Provider keycloak-ui section/identity providers
 * Escape character in SAML response keycloak saml
 * OfflineSessionPersistenceTest times out with session preloading keycloak
   storage

PR:		269736
Reported by:	freebsd@rheinwolf.de (maintainer)
MFH:		2023Q1 (bugfix release)
a9555f688e
Fernando Apesteguía (fernape) · 20.0.3
net/keycloak: Update to 20.0.3

ChangeLog: https://www.keycloak.org/2023/01/keycloak-2003-released.html

 * User role mapping tab: Show effective client roles for a user keycloak-ui
 section/users
 * ProviderConfigProperty.MAP_TYPE error in new UI keycloak-ui section/identity
 providers
 * Unable to turn on "Bypass identity confirmation" keycloak-ui
 section/authentication
 * Adding Form sub-flow broken on admin v2 keycloak-ui section/authentication
 * Custom User Provider SPI: There are no settings to configure the periodically
 synchronization of users keycloak-ui section/user federation
 * Assign roles to account - paging doesn't work keycloak-ui section/users
 * Realm selector requires two clicks to select something keycloak-ui
 section/realms
 * User management -> User in 2 subgroups with the same group name assignment
 does not work keycloak-ui section/users
 * Invalid language tag error when changing realm localization settings
 keycloak-ui section/realm settings
 * `Missing ":type" param` in the Events page when there are Client Scope
 events keycloak-ui section/events
 * Import client broken keycloak-ui section/clients
 * New Admin Console only, unable to add client profile in the first client
 policy keycloak-ui section/realm settings
 * Disabling hostname strict in prod doesn't disable https keycloak dist/quarkus
 * snakeyaml vulnerability GHSA-3mc7-4q67-w48m impacting CLI keycloak admin/cli
 * The redirect URI cannot be verified during logout in the case when client
 was removed keycloak oidc
 * Wrong auth session id being used when validating auth session id cookies
 keycloak core
 * Update XStream to 1.4.20 to fix CVE-2022-40151 & CVE-2022-41966 keycloak
 * Timeout when executing command PutMapCommand keycloak storage
 * Set OkHttp to 4.10.0 in parent pom keycloak
 * Lack of validation of access token on client registrations endpoint keycloak
 oidc

PR:		268939
Reported by:	freebsd@rheinwolf.de (maintainer)
MFH:		2023Q1 (bugfix, security fixes)
Security:	CVE-2022-40151, CVE-2022-41966
db9a594cc0
Fernando Apesteguía (fernape) · 20.0.2
net/keycloak: Update to 20.0.2

ChangeLog: https://www.keycloak.org/2022/12/keycloak-2002-released.html

Enhancements

 * Expiration for Admin Events

Bugs

 * KC Operator Test WatchedSecretsTest.testSecretsAreWatched is unstable
 * Error in Core? ( Clients Client details Dedicated scopes): Cannot read
   properties of undefined (reading 'helpText')
 * NPE in theme.getName() via getMainPage
 * Failed to run scheduled task ClearExpiredAdminEvents Oracle
 * Flaky test: OpenshiftClientStorageTest.testCodeGrantFlowWithServiceAccountUsingOAuthRedirectReference
 * SAMLFilterServletAdapterTest fails on Oracle
 * Internal pipelines don't tests run for OracleDB or other database
 * clientID are base64 encoded in state uri param with non URI friendly base64

PR:		268369
Reported by:	freebsd@rheinwolf.de (maintainer)
08250c7379
Nuno Teixeira (eduardo) · 20.0.1
net/keycloak: Update to 20.0.1

ChangeLog: https://www.keycloak.org/2022/11/keycloak-2001-released.html

PR:		267637
5119d71f54
Fernando Apesteguía (fernape) · 19.0.3
net/keycloak: Update to 19.0.3

ChangeLog: https://www.keycloak.org/2022/10/keycloak-1903-released.html

 * AdminV2 not using admin hostname keycloak-ui admin/ui
 * Clear expired events errors keycloak storage
 * CryptoIntegration fails to init on WebSphere Liberty keycloak
 * keycloak 19 legacy: unable to deploy war-packaged user storage provider
   keycloak storage
 * Missing variable declaration in AuthZ JS keycloak adapter/javascript
 * Browser-based flows not working properly due to 3rd party cookie policies on
   Firefox

PR:		266939
Reported by:	freebsd@rheinwolf.de (maintainer)
b82ed46853
Nuno Teixeira (eduardo) · 19.0.2
net/keycloak: Reduce pkg-plist future updates impact

- Use PLIST_SUB to reduce pkg-plist changes on future updates
 - Not bumping PORTREVISION

Reported by:	osa
428b1f2cd5
Nuno Teixeira (eduardo) · 19.0.2
net/keycloak: Update to 19.0.2

ChangeLog: https://github.com/keycloak/keycloak/compare/19.0.1...19.0.2
PR:		266513
bb1ff50154
Stefan Eßer (se) · 19.0.1
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 19.0.1
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Fernando Apesteguía (fernape) · 19.0.1
net/keycloak: Upgrade to 19.0.1

ChangeLog: https://www.keycloak.org/2022/07/keycloak-1901-released

PR:	265072
Reported by:	yonas.yanfa@gmail.com (maintainer)
6ea017569f
Stefan Eßer (se) · 15.1.1
Fix CONFLICTS entries of multiple ports

There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
bcaf25a8c8
Li-Wen Hsu (lwhsu) · 15.1.1
net/keycloak: Update to 15.1.1

https://www.keycloak.org/2021/12/keycloak-1510-released.html

PR:		260470
22abec8a83
Stefan Eßer (se) · 15.0.2
net/keycloak: Add CPE information

Approved by:	portmgr (blanket)
6dcc123d5b
Vanilla I. Shu (vanilla) · 15.0.2
net/keycloak: update to 15.0.2.

PR:		257974
Reported by:	maintainer
de8eff3e42
Guangyuan Yang (ygy) · 15.0.1
net/keycloak: Update to 15.0.1

Changelog:	https://www.keycloak.org/docs/latest/release_notes/index.html#keycloak-15-0-1

PR:		257883
78adc5de70
Guangyuan Yang (ygy) · 14.0.0
net/keycloak: Update to 14.0.0

PR:		256747
Approved by:	lwhsu (mentor, implicit)
5983e7c1d8
Guangyuan Yang (ygy) · 13.0.1
net/keycloak: Update to 13.0.1

PR:		256168
Submitted by:	Matthias Wolf <freebsd@rheinwolf.de> (maintainer)
Approved by:	lwhsu (mentor, implicit)
11e7a6ec5a
Fernando Apesteguía (fernape) · 13.0.0
net/keycloak: Update to 13.0.0

ChangeLog: https://www.keycloak.org/2021/05/keycloak-1300-released.html

While here pet linters

PR:	255744
Reported by:	freebsd@rheinwolf.de (maintainer)
cb5002435d
Mathieu Arnold (mat) · 12.0.4
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 12.0.4
all: Remove all other $FreeBSD keywords.
135fdeebb9
Mathieu Arnold (mat) · 12.0.4
Remove # $FreeBSD$ from Makefiles.
305f148f48
Neel Chauhan (nc) · 12.0.4
net/keycloak: Update to 12.0.4

Changes: https://issues.jboss.org/issues/?jql=project%20%3D%20keycloak%20and%20fixVersion%20%3D%2012.0.4

PR:		253955
Submitted by:	Matthias Wolf <freebsd AT rheinwolf DOT de> (maintainer)
3c85120f5d
Fernando Apesteguía (fernape) · 12.0.3
net/keycloak: Update to 12.0.3

ChangeLog:
https://issues.jboss.org/issues/?jql=project%20%3D%20keycloak%20and%20fixVersion%20%3D%2012.0.3

PR:	253694
Submitted by:	freebsd@rheinwolf.de (maintainer)
b9edc6b878
Vanilla I. Shu (vanilla) · 12.0.2
Add keycloak 12.0.2, identity and access management solution.

PR:		252831
Submitted by:	freebsd@rheinwolf.de
b4fe893899