Skip to content

Bump authentik to 2026.11.0 - #547

Merged
Bobzemob merged 1 commit into
mainfrom
chore/authentik-2026.11
Dec 4, 2026
Merged

Bobzemob merged 1 commit into
mainfrom
chore/authentik-2026.11

Conversation

@runleveldev

Copy link
Copy Markdown
Collaborator

Summary

  • Changes the default AUTHENTIK_TAG in authentik/compose.yml from 2026.5.6 to 2026.11.0.
  • Fixes the user settings authorization policy in 20-opensource-user-settings-flow.yaml. 2026.11 removes request.http_request.tenant from expressions (multi-tenancy was removed). Without this fix, every submission of the user settings flow would error. The policy now reads default_user_change_email and default_user_change_name from authentik.admin.utils.get_system_settings(), which matches upstream's default user settings flow in 2026.11.

Upstream's compose.yml only changes the image tag between 2026.5, 2026.8 and 2026.11, so this stack needs no other compose changes. The 2026.11 image still uses Python 3.14, so the duo_client/ca_certs.pem bind mount path is still correct.

Upgrade path: go through 2026.8 first

Upstream requires upgrading one major version at a time. Running instances are on 2026.5, so deploy in two steps:

  1. Set AUTHENTIK_TAG=2026.8.7 in .env, run docker compose up -d, and wait for migrations to finish.
  2. Remove the override, or set AUTHENTIK_TAG=2026.11.0, and run docker compose up -d again.

get_system_settings() does not exist in 2026.8. During step 1, the user settings flow's authorization policy will fail until step 2 is done. Keep the gap between the two steps short.

Breaking changes to check before deploying

2026.8 (release notes)

  • Forwarded headers are only trusted from AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS. Make sure the nginx proxy's source address is in that list. The default list covers RFC1918 and loopback. If it's wrong, authentik will treat HTTPS requests as HTTP.

2026.11 (release notes)

  • Base URL is now required. Check System > Settings > Base URL in the Admin UI, or set AUTHENTIK_WEB__BASE_URL in .env. If neither is set, authentik won't start.
  • Read-only role can now open the Admin interface. Review who is in Directory > Roles > authentik Read-only.
  • Property mappings must return a dict or None. This only affects custom mappings; none are defined in these blueprints.
  • SAML: sources now check the assertion audience. Providers that have a verification certificate now require signed logout messages.
  • Event index migration blocks writes to the events table while it runs. Upstream measured about 12s for 1M events.

Update the default AUTHENTIK_TAG in authentik/compose.yml from 2026.5.6
to 2026.11.0.

2026.11 removes request.http_request.tenant from expression policies, so
the user settings authorization policy now reads the default name/email
change permissions from get_system_settings(), matching upstream's
default user settings flow.
Copilot AI balanced review requested due to automatic review settings December 4, 2026 18:32

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.

🔵 Needs a closer look

The SSO/LDAP upgrade requires human validation of sequential migrations and deployment-specific configuration that cannot be verified from the source snapshot.

No open issues 🎉

What changed in this PR

Updates the authentik stack to 2026.11.0 and adapts user settings authorization to its removal of tenant-based settings. Existing deployments require an intermediate upgrade through 2026.8.

Changes:

  • Bumps the default server and worker image tags to 2026.11.0.
  • Uses get_system_settings() for email and name change permissions.
File Description
authentik/​compose.yml Updates both authentik image defaults.
authentik/​blueprints/​20-opensource-user-settings-flow.yaml Replaces tenant settings access with the system settings API.

Review effort: Balanced

@Bobzemob Bobzemob 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.

LGTM

@Bobzemob
Bobzemob merged commit 3462dc3 into main Dec 4, 2026
9 checks passed
@Bobzemob
Bobzemob deleted the chore/authentik-2026.11 branch December 4, 2026 21:09
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.

3 participants