Who is affected? API clients, imports, integrations and third-party packages that read or write the
shared attribute of organizations, create organizations without setting it, or create conditions on
it.
The "Shared organization" setting is a boolean today: true lets every customer of the organization see
and update the tickets of all other members, and false limits customers to their own tickets. Starting
with Zammad 7.4, it will be replaced with a sharing mode offering four modes, "None", "Per role",
"Per member" and "Everyone", so that wider ticket visibility can be granted to selected roles or
customers only. For the attribute this means:
- The sharing mode will be stored in a new attribute
sharing_modewith the valuesnone,per_role,per_memberandeveryone, and the selected roles or members will be stored and returned through the API with it. Theshareddatabase column and thesharedfield of the GraphQL API will be removed. - The REST API will keep
sharedbesidesharing_mode, as a boolean derived from the mode. Reads will returnfalsefor "None" andtruefor every other mode, sotruewill no longer mean that every member sees the tickets of all other members: under "Per role" and "Per member" only the selected ones will. - Writing
falsetosharedthrough the REST API will set the mode to "None", and writingtruewill set it to "Everyone", also for an organization set to "Per role" or "Per member", whose selected roles or members will then be discarded. When a request carries both attributes,sharing_modewill decide andsharedwill be ignored. The CSV import of organizations will accept asharedcolumn by the same rule. - Organizations created without
sharedandsharing_modewill default to "None" instead of today'strue, so their customers will no longer see each other's tickets. sharing_mode, its selections andsharedwill be readable and writable only by users with theadmin.organizationpermission, in every interface and through the API. Agents without that permission, who receive the flag in API responses today, and customers will no longer receive them.
Existing organizations will be migrated automatically (true becomes "Everyone", false becomes
"None"), and so will stored conditions on "Organization › Shared organization" in overviews, triggers,
SLAs, scheduler jobs, core workflows, report profiles and settings, together with core workflow actions
on it. Conditions created through the API afterwards will have to use sharing_mode.
shared explicitly when creating organizations whose customers
should see each other's tickets, and run clients and imports with an account that has the
admin.organization permission. With the update, switch GraphQL clients and code that reads the database
column to sharing_mode, and make sure REST clients no longer write shared: true back to organizations
that use "Per role" or "Per member".
Related issue: #6364
Who is affected? Developers of third-party packages, patches or add-ons that still call
String#utf8_encode or Object#to_utf8.
Both core extensions, deprecated since Zammad 7.3, will be removed in Zammad 8.0. Code still calling
them will then raise NoMethodError.
TextEncoding.utf8_encode before updating to Zammad 8.0.
Related issue: #6371
Who is affected? Admins of instances installed from the Zammad package repository on Debian 11 ("bullseye").
Debian 11 reached its LTS end of life on 2026-08-31 and no longer receives security updates. A future release will therefore no longer be built for it, and the package repository will provide no Debian 11 packages for that release and later ones. Zammad 7.1 keeps receiving Debian 11 packages until it goes out of maintenance.
Related issue: #6360
Who is affected? Integrations that read inline images from the attachments list of ticket article
REST API responses.
Ticket article responses such as GET /api/v1/ticket_articles/{id} currently include inline image
attachments in the attachments list. In a future release they will no longer be part of that list and
will be returned in a dedicated inline_attachments key instead.
inline_attachments key.
Related issue: #6254
Who is affected? Developers of custom packages, patches or add-ons that still reference
Exceptions::UnprocessableEntity.
The constant, deprecated since Zammad 7.1, will be removed in Zammad 8.0. Code still using it will then
raise NameError: uninitialized constant Exceptions::UnprocessableEntity.
Exceptions::UnprocessableContent before updating to Zammad 8.0.
Related issue: #6198
Who is affected? Developers of custom packages, patches or add-ons that read database preferences from the Rails configuration.
The values deprecated with the removal of MySQL support in Zammad 7.0 will be removed in Zammad 8.0. Until then they emit a deprecation warning and return the value that always applies to PostgreSQL:
Rails.application.config.db_null_byte— alwaysfalseRails.application.config.db_case_sensitive— alwaystrueRails.application.config.db_like— alwaysILIKERails.application.config.db_column_array— alwaystrue
Related issue: #5580
Who is affected? Admins whose mail server answers the test email of the outbound check with "Recipient address rejected" or "Sender address rejected: Domain not found", for the notification sender or for an email account, and API clients that run this check.
When an outbound configuration is saved, Zammad sends a test email to an external address. A server that refused this email with one of the two replies used to pass the check nevertheless. Both replies now count as a failure, like any other refusal:
- For the notification sender ("Channels › Email › Email Notification" and the notification step of the setup wizards), Zammad asks after such a refusal whether the server only delivers to internal recipients. Once confirmed, the test email goes to an address the admin enters, and the sender is saved as internal-only when the server accepts that email.
- For email accounts, there is no such option. The outbound check fails, and the automatic detection of the account settings skips a server that answers this way.
Saved configurations are not checked again by the update, the change shows the next time one of them is saved.
API clients see the change in the response of POST /api/v1/channels_email_outbound and
POST /api/v1/channels_email_notification. Both used to answer such a refusal with "result": "ok" and
the reply of the server in notice. They now answer with "result": "invalid", the reply in message
and "refused": true, and no longer return notice. POST /api/v1/channels_email_notification takes
the address for the check of an internal-only server as test_address.
"result": "invalid" of the two endpoints as a failed
check and stop reading notice.
Related issue: #5937
Who is affected? Admins of systems that gave the admin.session permission to a role without
admin.user and use that role to switch into other users' sessions through
GET /api/v1/sessions/switch/:id.
The endpoint was permitted for users with either admin.session or admin.user. admin.session is
meant for listing and ending active sessions; the "View from user's perspective" action in the user
management already requires admin.user, as does impersonating a user through the From (formerly
X-On-Behalf-Of) header. The restriction was announced with Zammad 7.3: the endpoint now requires
admin.user, and requests from users with only admin.session receive 403 Forbidden.
admin.user to such roles, or stop relying on the switch.
Related issue: #6506
Who is affected? Customers, and integrations that search tickets with a ticket.customer account
through the search box, GET /api/v1/tickets/search or the GraphQL search, and rely on matches in
internal articles, tags, hidden attributes or the email address of organization colleagues.
The ticket search applied the access check only to which tickets may match. The search term itself
was matched against the whole ticket: internal articles with their attachments and, with
Elasticsearch, tags, mentions, checklists and every indexed attribute, including arbitrary
field:value syntax. A customer could therefore learn whether an internal note contains a term by
watching which of their tickets show up. For the customer access, the search now matches only
non-internal articles with their attachments and the ticket fields title, number, hook_number,
state.name, group.name, customer.firstname, customer.lastname and organization.name. Field syntax on any
other field is treated as literal text. The condition parameter of GET /api/v1/tickets/search and
the filter argument of the GraphQL search accept only ticket attributes visible to customers plus
customer.firstname, customer.lastname, owner.firstname, owner.lastname and
organization.name; any other condition returns no result for a customer, and for a user with both
roles only tickets of their agent groups. Agents are not affected, and no reindex is needed.
Related advisory: GHSA-32wx-47p6-qqvw
The SSO login rejects conflicting login sources, and the shipped proxy configurations clear Remote-User
Who is affected? Admins of package installations whose nginx or Apache configuration was set up from the files shipped with an earlier version, and admins of SSO setups whose proxy passes more than one login source to Zammad.
GET /auth/sso took the login from the first present of REMOTE_USER, the Remote-User request
header (HTTP_REMOTE_USER) and X-Forwarded-User, in that order. Behind a reverse proxy,
Remote-User is just a header the client can send itself, and the shipped nginx and Apache
configurations only cleared X-Forwarded-User, so a client could override the login set by the proxy
with its own Remote-User header. The login now collects all present sources and answers
401 Unauthorized when they name different logins (compared case-insensitively). Setups that
provide exactly one source, or the same login in several sources, keep working.
The shipped contrib/nginx/zammad.conf, contrib/nginx/zammad_ssl.conf,
contrib/apache2/zammad.conf and contrib/apache2/zammad_ssl.conf now also clear the Remote-User
header next to X-Forwarded-User. The Docker images rebuild their nginx configuration from the
shipped one on every start, so the change applies to them automatically. Package installations keep
the web server configuration they already have.
proxy_set_header Remote-User ""; (nginx) respectively RequestHeader unset Remote-User
(Apache) next to the existing X-Forwarded-User line of an existing web server configuration. In an
SSO setup, let the proxy set exactly one of the two headers and clear the other.
Related advisory: GHSA-4749-hj8h-f4jf
Who is affected? Admins who notice unprocessable emails through the health check or handle them
with the zammad:email_parser:failed_email rake tasks, and developers of packages that call
Channel::EmailParser#process with its third argument.
An inbound email that could not be processed used to be stored as a FailedEmail record outside any
ticket. The record counted towards the emails that could not be processed issue of the health
check and the "Monitoring" section, and waited for an admin to export or reprocess it with
zammad run rake zammad:email_parser:failed_email:export_all or
zammad run rake zammad:email_parser:failed_email:reprocess_all.
Mail processing now creates a ticket for every email instead. A malformed or missing From header
no longer prevents a ticket: the customer is created from the address without an email address, or
the ticket gets the system account as customer. An email that still cannot be processed becomes an
error ticket titled Unprocessable email in the group of the receiving email channel, with the raw
email and a processing log attached to an internal note. No new FailedEmail records are created,
so the health check and the system report no longer report new failures; records that exist before
the update are kept and not migrated, and the rake tasks keep working on them. Reprocessing such a
record turns it into an error ticket and removes it when the email still cannot be processed.
Channel::EmailParser#process lost its third argument, which chose between raising and returning
false on a failure. The method now creates the error ticket itself and raises only when not even
that is possible. Calls that still pass three arguments fail with ArgumentError.
Unprocessable email instead of the health check to notice processing
failures, handle the FailedEmail records left from before the update with the rake tasks one last
time, and drop the third argument from calls to Channel::EmailParser#process.
Related issue: #6507
Who is affected? Developers of custom packages, patches or add-ons whose migrations index a column
named name, login, locale or alias, or ending in name.
A core extension silently turned every index on such a column into a case-insensitive LOWER(column)
expression index on PostgreSQL. It was removed, so add_index, t.index and index: true create the
index the migration declares. A unique index created this way is case-sensitive, and queries comparing
LOWER(column) cannot use it. Indexes that already exist on a system are not changed by the update;
Zammad only adjusted its own.
add_index :my_table, 'LOWER(name)', unique: true, name: 'index_my_table_on_name'.
Related issue: #6450
Who is affected? Developers of third-party packages, patches or add-ons that call
String#utf8_encode, String#utf8_encode! or Object#to_utf8.
Encoding resolution moved out of lib/core_ext/string.rb into a dedicated class, TextEncoding,
which takes the string as an argument: string.utf8_encode(from: 'iso-8859-1') became
TextEncoding.utf8_encode(string, from: 'iso-8859-1'), and object.to_utf8 became
TextEncoding.utf8_encode(object.to_s). String no longer requires the rchardet and mail gems.
String#utf8_encode and Object#to_utf8 still work and now emit a deprecation warning.
String#utf8_encode! was removed without a deprecation period, since TextEncoding.utf8_encode
never modifies its argument and always returns a new string.
String#utf8_encode and Object#to_utf8 with TextEncoding.utf8_encode, and
replace String#utf8_encode! with an assignment from it.
Related issue: #6371
Who is affected? Admins of instances that are left in import mode while users are expected to work in them.
Import mode was never intended for productive environments. An instance running in import mode now
automatically runs in maintenance mode as well: while the import_mode setting is enabled, every
authenticated request of a user without the admin.maintenance permission is refused. REST and API
requests get 403 Forbidden, and GraphQL treats the session as logged out. This covers new logins,
sessions that were already open, and API access via token or HTTP basic authentication alike. An
impersonated session is only exempt when the administrator who switched into it holds
admin.maintenance; this also applies to the classic maintenance mode.
Related issue: #6237
Who is affected? Admins of instances with Elasticsearch enabled that use the knowledge base, and
integrations that call POST /api/v1/knowledge_bases/search.
Knowledge base titles and answer bodies were written into the search index HTML-escaped, so a
category named Warranty & Returns was indexed as Warranty & Returns. The escape sequences
were searchable in their own right: amp, lt, gt and nbsp matched content that contains no
such word, and a search matching one of them, the wildcard * among them, highlighted it and left
the sequence visible in the result list (#6369).
Both texts are now indexed as plain text. Markup in a title is still dropped on its way into the
index, and the title columns themselves keep what was written to them.
The details returned by POST /api/v1/knowledge_bases/search changed with it: title, body and
subtitle are now always HTML, with every character escaped and, when highlight_enabled is on,
<em> marking the matched runs. Previously only a highlighted fragment was guaranteed to look like
this. A detail without a match in its field came back the way its fallback produced it: HTML-escaped
for the answer body, the category and knowledge base title and the subtitle, and as written
for the answer title, with highlighting on or off.
The result list no longer carries the highlight key of each hit. The raw fragments it held mark
their matches with characters that only the details rendering above knows how to interpret.
title as text have to decode it as HTML, like every other detail.
zammad run rake zammad:searchindex:rebuild
Related issue: #6399
Who is affected? Integrations that call DELETE /api/v1/organizations/:id with a token that only
has the ticket.agent permission.
The endpoint has historically been permitted for users with only the ticket.agent permission, which
contradicted the API documentation. That behaviour was deprecated in Zammad 7.2: the endpoint now
requires admin.organization, and agent tokens receive 403 Forbidden.
admin.organization permission.
Related issue: #6315
Who is affected? Developers of add-ons that register a postmaster filter, transaction backend,
dashboard stats backend, service backend or ticket number generator through a setting, and
integrations or scripts that write such a setting through PUT /api/v1/settings/{id} or
Setting.set.
The 50 settings whose value names a Ruby class ran whatever loaded class they named: the adapter of
auth_internal, auth_developer and auth_ldap, image_backend, geo_ip_backend,
geo_location_backend, geo_calendar_backend, ticket_number, import_backends, the Stats::*
dashboard backends, the postmaster filter registrations such as 0000_postmaster_filter_trusted and
the transaction backend registrations such as 0100_trigger. They are now checked when they are
saved and where they are used:
- The postmaster filter, transaction backend, dashboard stats and authentication settings accept only
the class they were created with.
ticket_numberand the service backends accept only one of their select options,import_backendsonly subclasses ofImport::IntegrationBase. Any other value is answered with422byPUT /api/v1/settings/{id}and withActiveRecord::RecordInvalidbySetting.set. On update, a postmaster filter, transaction backend, dashboard stats or authentication setting storing another class is reset to the one it was created with, while the other settings keep a stored value the check rejects; both are logged as a warning. - A class outside
Channel::Filter,Transaction,Stats,Ticket::Number,Service::Image,Service::GeoIp,Service::GeoLocationandService::GeoCalendar, or an authentication adapter that is no subclass ofAuth::Backend::Base, is no longer run: a postmaster pre filter outsideChannel::Filterfails the processing of every mail, a post filter, transaction backend, import backend or authentication adapter is skipped with an error in the log, a service backend acts as switched off, andticket_numberfails the creation of every ticket.
Channel::Filter::MyAddonCheck, and
register each under a setting of its own. An add-on migration that renames such a class has to set
the new name as the setting's state_initial as well as its state_current.
Related advisory: GHSA-6wx3-xr2r-5xqf
Who is affected? Roles and API tokens holding an admin sub-permission such as admin.security
without admin that read or write settings through /api/v1/settings, and developers of add-ons
that ship settings without a permission.
A setting without a permission in its preferences could be read and changed through the settings
API by any user or token holding an admin sub-permission. Such a setting now requires admin. Every
setting shipped with Zammad now declares a permission: the ones that admin pages change for
delegated admins carry that page's permission, e.g. session_timeout requires admin.security and
language_detection_article requires admin.ticket.
79 settings now require admin, among them the Elasticsearch connection and index settings
(es_url, es_user, es_password, es_index, es_ssl_verify, …), import_mode and the
importers' endpoints and credentials (import_*), developer_mode, system_init_done,
system_bcc, the WebSocket settings, the postmaster filter and transaction backend registrations,
and state such as app_version. The full list is in the RestrictAccessToInternalSettings
migration. For a role or token holding sub-permissions only, they are left out of
GET /api/v1/settings and GET /api/v1/settings/area/:area, and GET and
PUT /api/v1/settings/:id and POST /api/v1/settings/reset/:id answer 403 Forbidden for them.
Full admins keep access to all of them.
admin permission to roles and API tokens that read or change any of these settings.
Declare a permission in the preferences of settings that an add-on's admin pages change, e.g.
preferences: { permission: ['admin.my_addon'] }.
Related advisory: GHSA-qqr9-58h5-hxc4
Who is affected? Admins whose triggers, scheduler jobs, macros, text modules, signatures, AI
text tools, AI agents, link templates, external data source search URLs or setting values use a
#{config.<name>} placeholder for a setting not sent to the frontend, such as postmaster_max_size.
Such a placeholder resolved every setting. It now resolves only settings sent to the frontend, plus
ticket_hook_divider and notification_sender; any other setting renders as a missing object
(#{config.<name> / no such object} or -), and in an AI agent stays as the placeholder itself. A
setting value takes in only settings its own readers may see, so a public setting such as
product_name no longer takes in system_id, which is sent to logged-in users only. The
placeholders Zammad ships (product_name, fqdn, http_type, ticket_hook) keep working.
Templates referring to settings in the Rails log.
Related advisory: GHSA-4x57-g5xr-67vq
Who is affected? Integrations that send anything other than state_current.value through
PUT /api/v1/settings/{id}.
The endpoint applied the setting's title and description and new preferences keys from its
payload, and stored state_current as sent. It now applies state_current.value only. Other
attributes, and keys next to value in state_current, are ignored, and the response still answers
200 with the record, so such an integration gets a success response while nothing but the value
changes. A request without state_current.value is rejected with 422.
state_current: { value: … } to this endpoint. The title, description and preferences
of a setting are maintained by Zammad itself.
Related advisory: GHSA-772p-w6hj-6p6v
Templates written in the admin interface only reach ticket, article, user, organization and group data
Who is affected? Admins whose triggers, scheduler jobs, macros, text modules, signatures, AI
text tools, AI agents, link templates or external data source search URLs use a placeholder that
steps into another object, such as #{ticket.group.email_address.email} or #{ticket.owner.roles},
or that calls a method other than a documented one, such as #{ticket.title.reverse}.
A placeholder could call any method on the object it reached, so a chain could lead from a ticket to
every record in the database. A placeholder now reaches tickets, articles, users, organizations,
groups, ticket states and priorities and article types and senders: their attributes except
password and preferences, custom object attributes included, the associations among them, and
the documented helpers such as fullname, longname, tags, body_as_html and avatar. In an
external data source search URL, #{search.term} keeps working. On a plain value only first and
last (optionally with a count), downcase, upcase, strip, to_s, text2html, size and
count are allowed. Any other step renders as #{<placeholder> / not allowed} (or - where the
renderer hides errors). The placeholders documented in the admin documentation keep working.
Related advisory: GHSA-gffj-jpc4-76hv
Who is affected? Integrations that write any attribute other than seen through
PUT /api/v1/online_notifications/{id}.
The endpoint accepted every attribute of the notification in its payload, including o_id,
object, type and user_id. It now applies seen only. Other attributes in the payload are
ignored, and the response still answers 200 with the record, so such an integration gets a success
response while nothing but seen changes.
seen to this endpoint. Where a notification points and whom it belongs to is decided
by the server when the notification is created.
Related advisory: GHSA-w4xf-rp7v-r2j2
Who is affected? Integrations that redeem a signup verification token through
POST /api/v1/users/email_verify or the userSignupVerify GraphQL mutation and rely on the session
that the redemption used to establish, and admins who send a verification or password reset link to a
deactivated account.
Redeeming the token established a fully authenticated session for the account, without the account's
password and without the second factor configured for it. Both endpoints now only mark the email
address as verified and establish no session. The REST endpoint still answers
200 {"message":"ok","user_email":"…"}, but the response no longer carries a session cookie. The
mutation's payload field session was replaced by a boolean success, so a client selecting
session { id } receives a GraphQL error.
The resend endpoints POST /api/v1/users/email_verify_send and the userSignupResend mutation now
refuse to mint a token for an inactive account. They keep answering positively, so that the existence
of an account is not leaked, but no mail is sent. POST /api/v1/users/password_reset has always
behaved this way.
A non-persistent token — Signup, PasswordReset, AdminAuth, KnowledgeBasePreview — is now
rejected when it belongs to an inactive user. Previously only persistent tokens were checked this
way, so a link minted before the account was deactivated no longer works — a self-signup account
that is deactivated before the user clicks the link is now refused where it was verified before.
POST /api/v1/signin or the login mutation after redeeming a verification
token, and pass the configured second factor there. Change GraphQL clients to select success
instead of session. Activate a deactivated account before sending it a verification or password
reset link.
Related advisory: GHSA-f3qr-94c2-7mx2
Related issue: #6431
Who is affected? Integrations that read GET /api/v1/getting_started or
GET /api/v1/getting_started/auto_wizard while authenticated as a user without the admin.wizard
permission, and any integration that reads them while a migration is running.
On a system that is set up, both endpoints returned the list of active groups and of active email
addresses, the branding config and the available email channel drivers to every authenticated user,
customers included. That data is only of use to a user who may run the setup wizard, and it is
restricted on its own endpoints: GET /api/v1/email_addresses answers a customer with 403, and
GET /api/v1/groups/:id field-scopes its response. Both endpoints now answer a user without
admin.wizard with 403 Forbidden instead.
Before the setup, and while a migration is running, the endpoints stay reachable without
authentication: a migration is started anonymously from the installer, and its progress screens have
no user to authenticate as. While a migration is running the response is now reduced to the setup and
migration state — setup_done, import_mode, import_backend and system_online_service — which
is all those screens read; the group and email address list, the branding config and the email
channel drivers are no longer part of it, for any caller. A migration only clears its import mode
when it succeeds, so a failed one would otherwise keep that data readable without authentication
indefinitely. Outside a migration the response is unchanged for users with admin.wizard.
admin.wizard permission — an API token needs that permission in its scope as well — or to
GET /api/v1/groups respectively GET /api/v1/email_addresses.
Related advisory: GHSA-x3fm-p95w-xj7v
The legacy WebSocket login is authenticated from the session cookie and signshow no longer returns session_id
Who is affected? Developers of custom clients that connect to the legacy WebSocket server and
authenticate with a session_id in the login event, integrations that read session_id from the
GET /api/v1/signshow response, and admins whose http_type and fqdn settings do not match the URL
users open Zammad with.
The GET /api/v1/signshow response contained the ID of the current session for logged-in users, and the
legacy frontend sent that ID in the login event of the WebSocket connection to authenticate it. Exposing
the session ID to page scripts was unnecessary and made it easier to steal a session. The session_id
key was removed from the response, and the WebSocket server now ignores any session_id in the login
payload. Instead it resolves the user from the session cookie sent with the WebSocket handshake, in the
same way ActionCable already does for the new frontend, and only if the handshake Origin header matches
<http_type>://<fqdn> or a localhost origin. A login event without a matching cookie and origin creates
an unauthenticated WebSocket session that receives no user-specific data.
session_id in the login payload,
and make sure the http_type and fqdn settings match the origin users open Zammad with.
Related advisory: GHSA-23hj-h8w6-rgm3
Who is affected? Admins running the Docker images or a newly installed nginx behind a proxy
that reports the request scheme via the Forwarded or X-Forwarded-Ssl header, and admins of a
newly installed Apache behind any TLS-terminating proxy.
Rack evaluates X-Forwarded-Ssl and Forwarded with a higher priority than X-Forwarded-Proto, so
an outer proxy could silently override the scheme that Zammad's own web server configuration had set.
The nginx and Apache configurations shipped with Zammad therefore now clear Forwarded,
X-Forwarded-Scheme and X-Forwarded-Ssl, which leaves X-Forwarded-Proto as the only place where
the scheme is decided.
The Apache configurations did not set X-Forwarded-Proto at all before, so an instance behind an
SSL-terminating Apache was never seen as HTTPS. They now set it explicitly, to http in the non-SSL
and to https in the SSL virtual host, which also means an outer proxy's value is no longer passed
through.
The Docker images rebuild their nginx configuration from the shipped one on every start, so the change applies to them automatically. Package installations keep the web server configuration they already have; only newly installed ones receive the updated files.
Forwarded or
X-Forwarded-Ssl — or, on Apache, X-Forwarded-Proto — configure the scheme in Zammad's own web
server instead: set NGINX_SERVER_SCHEME=https for the Docker images, or the X-Forwarded-Proto line
in the nginx respectively Apache configuration file.
Related issue: #6305
Who is affected? Integrations that create links via POST /api/v1/links/add.
An object can no longer be linked to itself: a link whose source and target are the same ticket or
knowledge base answer is rejected with the validation error An object cannot be linked to itself..
Such a link was never usable — it showed up twice in the link list and was not clickable.
At the same time the endpoint reports failed link creations correctly. Previously it answered
201 Created as soon as the source object was found, even when the link was not stored at all, so an
already existing link looked like a success. A rejected link now answers 422 Unprocessable Content
with the reason in the error key, for example {"error":"Link already exists"}.
Related issue: #6319
Who is affected? Integrations that write date or datetime values with a year outside the range 1
to 9999, for example a ticket object attribute set via PUT /api/v1/tickets/:id.
Date and datetime attributes of all objects are now validated against the year range that
Elasticsearch and RFC 3339 support. Previously such a value was stored, but broke the indexing of the
whole record afterwards, so the affected ticket, user or organization could no longer be found via
search at all. Saving a value like 20026-08-18 now fails with the validation error
must have a year between 1 and 9999 instead.
Only attributes that are actually changed by a save are validated, so existing records keep their out-of-range values until the affected attribute is written again.
Related issue: #6306
Who is affected? Admins of instances that are left in import mode after a migration, and monitoring
setups that alert on the health_check endpoint.
Import mode is only meant for bulk imports and migrations, never for productive operation. The
health_check endpoint and the "Monitoring" section therefore now report an issue while import_mode
is enabled, which turns a previously green monitoring check red. The same applies while
system_init_done is still false.
Related issue: #6236
Who is affected? Admins of systems with Elasticsearch enabled who update to Zammad 7.2 without rebuilding the search index.
The "Suggested searches" shortcut menu added to the Knowledge Base search introduced a new
publication_state field for KnowledgeBase::Answer::Translation, reflecting an answer's current
state (draft, internal, published, archived). Existing indices do not contain the field, so
publication_state queries such as publication_state:draft return no results.
zammad run rake zammad:searchindex:rebuild
Related issue: #6142
Who is affected? Admins of systems that run an Elasticsearch older than 8.15, including every Elasticsearch 7 installation.
Elasticsearch 7 has reached its end of life and was deprecated with Zammad 7.1. Support for it was
removed with this release, so the supported range is now Elasticsearch 8.15 up to, but not
including, 10 — 8.15 and later 8.x releases and every 9.x release. The requirement is enforced
where Zammad reads the server version: the zammad:searchindex:* rake tasks, including
zammad:searchindex:rebuild, and the "Elasticsearch version" system report abort with
Version <x> of configured elasticsearch is not supported.
Related issue: #6314
Who is affected? Admins of instances with a calendar whose iCalendar feed points to a local .ics
file instead of an HTTP(S) URL.
Calendars can no longer read their iCal feed from the local file system. Only http:// and https://
URLs are accepted, which is now enforced by a validation of the ical_url attribute. Calendars that
still hold a local path stop syncing their public holidays, and saving them fails until the value is
changed.
.ics file on an HTTP(S) server and update the calendar's iCalendar feed accordingly.
Related issue: #6316
Who is affected? Admins of instances with users or a Knowledge Base still set to the deprecated
Catalan locale es-ca.
The es-ca locale, deprecated since Zammad 7.0 in favour of the correct code ca, is no longer
offered for selection. Users still set to it are migrated to ca automatically. Knowledge Base locales
referencing es-ca are left untouched, because changing the locale of a Knowledge Base changes its
public URLs.
zammad run rails r "KnowledgeBase::Locale.find_by(system_locale: Locale.find_by(locale: 'es-ca'))&.update!(system_locale: Locale.find_by(locale: 'ca'))"Related issue: #5886
Who is affected? Setups that embed the Zammad web interface in an <iframe> on a different origin.
A frame-ancestors 'self' directive was added to the default Content-Security-Policy response
header. Setups that previously re-enabled embedding by overriding the X-Frame-Options header at the
reverse proxy are blocked again by it.
frame-ancestors directive of the
Content-Security-Policy response header at the reverse proxy as well.
Related issue: #6087
Who is affected? Admins running Zammad behind a reverse proxy that terminates TLS and reports the
request scheme via the X-Forwarded-Scheme header only, such as Nginx Proxy Manager.
Zammad was updated from Rack 2 to Rack 3, which changed which header decides whether a request is
seen as HTTPS: Rack 2 evaluated X-Forwarded-Scheme first, Rack 3 evaluates X-Forwarded-Proto
first. Zammad's own nginx configuration sets X-Forwarded-Proto from the scheme of the connection it
receives, in the Docker images via the NGINX_SERVER_SCHEME variable, which defaults to $scheme.
Behind a proxy that terminates TLS and forwards plain HTTP, that value is http, so such requests
are now seen as plain HTTP even though the proxy reported X-Forwarded-Scheme: https.
With the http_type setting set to https, the session cookie is marked Secure, and a Secure
cookie is not written on a request that is seen as plain HTTP. No session is created at all, and
logging in fails with "CSRF token verification failed!". Sessions that already hold a cookie keep
working, so the problem only surfaces after a logout.
X-Forwarded-Proto header is overwritten: set NGINX_SERVER_SCHEME=https for the Docker images, or
the X-Forwarded-Proto line in the nginx configuration file.
Related issue: #6305
Who is affected? Admins of systems that run Elasticsearch 7.
Elasticsearch 7 has reached its end of life and was deprecated with this release. It is still supported in Zammad 7.1, but a later release requires Elasticsearch 8 or later.
Related issue: #6314
Who is affected? Developers of custom packages, patches or add-ons that reference
Exceptions::UnprocessableEntity.
The exception was renamed to Exceptions::UnprocessableContent, following the rename of the HTTP
status code itself. The old constant still resolves, but it is deprecated and emits a deprecation
warning.
Exceptions::UnprocessableEntity with Exceptions::UnprocessableContent.
Related issue: #6198
Who is affected? Admins of instances still running on MySQL or MariaDB, and developers of custom packages that read database preferences from the Rails configuration.
After a long period of deprecation, support for the MySQL and MariaDB databases was removed — PostgreSQL is the only supported database. Alongside, the following configuration values were deprecated and will be removed with Zammad 8.0:
Rails.application.config.db_null_byteRails.application.config.db_case_sensitiveRails.application.config.db_likeRails.application.config.db_column_array
Related issue: #5580
Who is affected? Admins of systems with Elasticsearch enabled, especially those who rely on searches matching diacritics exactly.
The global search and other fulltext searches now use the Elasticsearch
asciifolding analyzer, which is enabled by default:
searching for Munchen matches München and vice versa. With the analyzer disabled, searching for
Munchen does not match München.
The new behaviour only applies to a rebuilt search index. To keep the previous behaviour instead,
disable the es_asciifolding setting — no rebuild is needed in that case:
zammad run rails r "Setting.set('es_asciifolding', false)"
Thanks to Jano Suchal for the contribution.
zammad run rake zammad:searchindex:rebuild
Related issue: #3782
Who is affected? Admins of installations that use an nginx reverse proxy with a configuration file from an earlier Zammad version.
The nginx configuration shipped with Zammad sets proxy_http_version 1.1; for the main location as
well, so that all proxied requests use HTTP/1.1 like the websocket and cable locations already did.
Existing configuration files are not changed by the update.
location / section of the nginx configuration:
location / {
+ proxy_http_version 1.1;
proxy_set_header Host $http_host;Related issue: #6317
Who is affected? Integrations that write user records via API and set the same organization as both primary and secondary organization.
The same organization can no longer be a user's primary and secondary organization at the same time. Such requests now fail with a validation error, and an automatic migration brings existing user data into a consistent state during the update.
Related issue: #5254
Who is affected? Admins of instances with users using the Catalan locale, and especially those with a Catalan Knowledge Base.
The previously available Catalan locale used the wrong internal locale code es-ca and was deprecated;
it will be removed in a future release. A new Catalan locale with the correct code ca is available,
and a migration switches the language preference of all Catalan user profiles to the new
"Catalan (Català)" locale.
Knowledge Base locales are not migrated automatically, because changing the locale of a Knowledge Base changes its public URLs.
zammad run rails r "KnowledgeBase::Locale.find_by(system_locale: Locale.find_by(locale: 'es-ca'))&.update!(system_locale: Locale.find_by(locale: 'ca'))"Related issue: #5886
Who is affected? Admins of instances that still use the Slack integration.
The Slack integration was removed from the codebase; existing configurations stop working and are not migrated automatically. Everything the integration did can be achieved with webhooks, see Slack notifications via webhook.
Related issue: #5583
Who is affected? Admins of instances that still have a Twitter/X channel configured.
The Twitter integration was removed due to problems with the API licensing, and there is no replacement available. Existing tickets and articles stay accessible, but no messages are fetched or sent any more.
Related issue: #5581
The following breaking changes occurred due to a security fix.
The field key of the "key add" endpoint was renamed to private_key.
- The field
dataof the "certificate add" endpoint was renamed tocertificate. - The field
dataof the "private key add" endpoint was renamed toprivate_key.
Logging subsystem (HttpLog) API access control is now more fine grained.
In the past, any admin.* permission was sufficient to access this data.
Now, only the relevant parts can be accessed (e.g. admin.webhook)
When used as template variables, the textarea object
manager attributes are now replaced with an HTML representation of their value. This is a consequence of a bugfix for
#5330, which expects newline characters are respected for these
attributes in all contexts, including the rich text article body. The administrators are advised to check for usage of
such variables in their objects (e.g. triggers, text modules, etc), by making sure the new value type will not break
their existing workflows.
All search endpoints (/:object/search) have been revised, extended and unified. This will also result in breaking
changes in the existing endpoints. Be prepared that the structure in the responses may change (have a look at the
API documentation where you can find updated examples).
The standard search (e.g. /ticket/search) returned a hash for some objects, such as the ticket. This will no
longer be the case.
The structure for the expanded search (e.g. /ticket/search?expand=true) remains the same.
The structure of the full search (e.g. /ticket/search?full=true) remains the same, but is supplemented by a
total_count, which counts all results.
Some objects used an object-related hash key, such as ticket_ids. This is now always record_ids.
The count search (e.g. /ticket/search?only_total_count=true) is a new feature.
Most API endpoints have some parameter called full=true which returns the data with all related assets. In order to improve the front end performance, we decided to reduce certain assets which are populated on the login. Normally this parameter is mainly used to show additional data to our legacy app. We have some static data which rarely changes and are currently added on every object like:
- Ticket Priority
- Ticket State
- Ticket Group
- Role
This information will not be added in the future any more when requesting a user or a ticket. If you have an external script which is for example requesting tickets with assets and using the group name or some role information out of the assets, you need to adjust your code to do either:
- Do a separate request to the object specific endpoint e.g.
/api/v1/groups - Get the global assets before requesting the ticket e.g.
/api/v1/signshow
It will not be possible to have more than one state of the merged type. Additional states will be changed to the
closed type automatically with that update. If you want to prevent that, make sure to only have one state of the type
merged before you make an update to the next release.
Zammad will now cause a self-shutdown of all running processes after certain configuration changes by default. It is the responsibility of the controlling process manager (e.g. Docker, Kubernetes, systemd) to bring them up again by way of a proper restart policy. This is the default for vanilla Docker, Kubernetes or Package deployments of Zammad.
The previous environment variable APP_RESTART_CMD is not supported any more.
For systems where this behaviour is not wanted, it can be disabled by setting the Zammad Setting auto_shutdown to
false.
The background worker shutdown handling was improved to be more graceful and allow processes to finish first.
Together with this change, the session jobs logic that computes the ticket overviews was moved to be
a first-class background service. Therefore the name of its configuration variable changed
from ZAMMAD_SESSION_JOBS_CONCURRENT to ZAMMAD_PROCESS_SESSIONS_JOBS_WORKERS. The old one will continue
to work for now, but emit a deprecation warning.
Please update your nginx configuration file to insert the line proxy_set_header Host $http_host; to the location /ws
and location /cable sections like in the example below:
@@ -38,10 +38,11 @@ server {
# legacy web socket server
location /ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
+ proxy_set_header Host $http_host;
proxy_set_header CLIENT_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 86400;
proxy_pass http://zammad-websocket;
@@ -50,10 +51,11 @@ server {
# action cable
location /cable {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
+ proxy_set_header Host $http_host;
proxy_set_header CLIENT_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 86400;
proxy_pass http://zammad-railsserver;This version changes the JavaScript toolchains to be based on pnpm rather than yarn. This is only relevant for source installations, where you need to provide a recent version of pnpm in order to run the assets:precompile command.
We slightly changed the format of the CSV-files you use for importing/exporting users and organizations. If you somehow do that in an automated process via our REST-API, you will need to review that process before updating to Zammad 6.4. Check the details in our documentation.
Zammad allows configuration of a granular permission structure for knowledge base access. Previous Zammad versions allowed to misconfigure this in cases of allowing agents editor access to only some, but not all categories: it was possible to grant editor access at a higher level in the category tree, and then restricting access to reader or none for sub-categories. This was not effective due to permission inheritance.
Such a misconfiguration is no longer possible in Zammad 6.3. Administrators with existing knowledge base granular permission structures should review their configuration to ensure that at top-level only reader access is granted, and editor access only for the relevant sub-categories.
With this release, we will introduce new permissions for the ticket state and priority management. It will no longer be possible to access the corresponding REST-API with "admin.object" permission. Existing roles and/or access tokens that are used for these specific REST-API endpoints need to be updated to include the new permissions ("admin.ticket_state" and "admin.ticket_priority").
The default SSL behaviour of the UserAgent class in Zammad was changed. Previously, it would not perform SSL verification unless explicitly requested. Now, it will perform SSL verification unless explicitly rejected.
This may cause issues on systems with custom addons using the UserAgent to access other systems via https, if these systems have self-signed certificates. In such cases, these certificates or the CA certificates used for their generation should be uploaded via the new SSL Certificates management screen of Zammad. Alternatively, custom code can be adjusted to pass verify_ssl: false to UserAgent calls to restore the old behaviour.
The handling of emails larger than the size limit changed. Previously, Zammad would send a reply and save the emails locally in var/spool/oversized_email (if the setting postmaster_send_reject_if_mail_too_large is true). No ticket is created in this case.
The new behaviour is that Zammad sends the reply like before, but no longer creates files for these emails locally - they are discarded.
The double colon (::) is now a reserved delimiter in the group name, in order to facilitate nested structure for
complex hierarchies. Previously, it was possible to freely use this set of characters as part of the group name, but
now it is forbidden.
On existing systems, the group names that contain the now reserved delimiter will be renamed, with sets of double colons
being replaced by a dash (-) during the migration process.
Additionally, existing custom group object attributes named name_last and parent_id will be renamed too, by adding an underscore in front (_name_last and _parent_id). This is due to these attributes now being part of the group model, requiring dedicated table columns under the reserved names.
Text values that resemble valid URI addresses are now disallowed for user's first and last name attributes. Previously, it was possible to save any text in these attributes. The administrators should take a note of this change since it can have an impact on existing user data.
No migration will be run for existing users on update to Zammad 6.2. In case there are user records that contain URLs in their name attributes, they will be sanitized during subsequent updates. No manual action from administrator will be required, as the URI scheme or protocol will be automatically stripped from offending values.
Zammad 6.1 creates a new vip attribute for organizations. For systems with previously created vip attributes, there
is special caution needed. In case of boolean attributes, Zammad will adjust them to the new settings and keep using
them. For attributes of other types, Zammad will rename the existing attribute to _vip and add a new vip boolean
attribute. This may cause issues if the previous attribute was used in other parts of the system, e.g. Triggers.
In such cases, the relevant configurations must be reviewed and adjusted.
It seems that the Unicorn Web Server is no longer really used with Zammad. Therefore, we have decided to remove it with Zammad 6.1 after it was deprecated in Zammad 6.0.
When updating to Zammad 6.0 from a previous version, the system administrator needs to add some content to the configuration of the reverse proxy.
Example for Apache:
ProxyPass /cable ws://127.0.0.1:3000/cableExample for nginx:
location /cable {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header CLIENT_IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 86400;
proxy_pass http://zammad-railsserver;
}This is required to enable the new Rails Action Cable based realtime communication. You can find more details about this change at this github commit.
Starting with Zammad version 6.0, Redis is required to run Zammad. For package-based installations, the new dependency is automatically installed in the system during the update.
Note: Hosted customers do not need to take any further action regarding this change!
Starting with Zammad 6.0, the "health check" monitoring API at /api/v1/monitoring/health_check will no longer echo the
used authentication token in the response payload.
Starting with Zammad version 6.0, all Excel exports will be exported exclusively in xlsx format. The original xls format will no longer be supported.
Zammad stores emails that were unprocessable or rejected due to size constraints in the file system. The location of
such emails changed from tmp/unprocessable_mail and tmp/oversized_mail to var/spool/unprocessable_mail and
var/spool/oversized_mail within the /opt/zammad directory. Existing emails are automatically moved to the new
location.
The token model is used to store access tokens and had field names which may have caused confusion for developers
using them. Therefore, the field previously called name: now has the correct identifier token: (as it stores the
actual token value), and the field previously called label: is now called name: for better consistency with other
models. The EmailAddress model is used to information about email addresses Zammad receives mail for. For consistency
reasons, its realname: field is now called name:.
This means that the attribute via the REST API also changes: from token or realname to "name".
The repository zammad-docker was intended for testing / development purposes only. This repository was archived and will receive no further updates. Please use zammad-docker-compose instead.