Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl any identity at configured IdP (e.g. any Azure AD tenant)
-
DeliverySet attacker identity email to victim's address
-
ExploitAuthenticate via SSO to Zammad
-
ExecutionZammad auto-links to existing account by unverified email
-
ImpactLogged in as victim agent/administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the 'Automatic account link on initial logon' setting is enabled AND at least one third-party SSO/identity provider is configured on the Zammad instance. The highest-impact and default-exploitable path is Zammad's out-of-the-box multi-tenant Microsoft 365 /common app registration, which trusts any Azure AD tenant, letting an attacker set an arbitrary email on an identity they control. The attacker must control any identity at a configured provider (their own account suffices - no Zammad credentials needed). Limiting factors: the auto-link setting must be on; instances that do not use SSO auto-linking are unaffected; and post-fix (7.1.2) admins who configure the 'email' and 'xms_edov' optional claims plus the new require_verified_email_domain strict setting are protected, though by default a missing xms_edov claim still preserves legacy linking behavior. |
| Impact | This is a genuinely high-priority authentication bypass, not a high-CVSS-but-low-risk artifact. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H) accurately reflects a remote, unauthenticated attacker achieving high confidentiality and integrity impact via full account takeover - including agent and administrator accounts. The single mitigating dimension is AT:P (attack requirement present), which correctly captures that the 'Automatic account link on initial logon' setting must be enabled and an SSO provider configured. Critically, the description states that Zammad's DEFAULT multi-tenant Microsoft 365 /common app registration makes this exploitable by any Azure AD tenant worldwide, so the precondition is commonly met in real deployments rather than being an exotic configuration. No EPSS score, CISA KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation or automated weaponization - this is a serious latent risk rather than a confirmed in-the-wild campaign. The vendor patch is confirmed available (GHSA-86cc-3ggh-mf2m, commit 0dba387d), which both enables remediation and discloses the mechanism to would-be attackers. |
| Exploit ScenarioDerived | An attacker registers or controls any identity in any Azure AD tenant (trivially possible against Zammad's default multi-tenant /common Microsoft 365 registration), sets that identity's email attribute to a target Zammad administrator's email address, and authenticates via SSO. Zammad matches the reported email to the existing local admin account without verifying the identity provider actually owns that email, logging the attacker in as the administrator and bypassing the local password entirely. No public exploit code is identified in the provided data, but the technique is straightforward given the disclosed fix. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Zammad's SSO auto-linking logic can be abused to take over any existing local account, including agent and administrator accounts, because it binds an incoming third-party identity to a local user purely by matching the email address the identity provider reports. An unauthenticated remote attacker only needs to control one identity at any provider configured on the target instance - with Zammad's default multi-tenant Microsoft 365 /common app registration, any Azure AD tenant qualifies - set that identity's email to the victim's address, then authenticate and be logged in as that victim without ever knowing their local password. Exploitation requires the 'Automatic account link on initial logon' setting to be enabled and at least one SSO provider configured; no public exploit code has been identified at time of analysis and the issue is confirmed fixed in Zammad 7.1.2.
RemediationAI
Upgrade to Zammad 7.1.2, which contains the upstream fix (vendor-released patch: 7.1.2; commit 0dba387df8e2b46956907975034cd44e4d021b1c, advisory GHSA-86cc-3ggh-mf2m) and adds the new require_verified_email_domain option. If an immediate upgrade is not possible, the most effective compensating control is to disable the 'Automatic account link on initial logon' setting - this removes the vulnerable code path entirely, at the cost that existing SSO users must be linked to local accounts manually or pre-provisioned before first login. Restricting the Microsoft 365 integration from the multi-tenant /common endpoint to a single trusted tenant reduces the attacker pool but does not eliminate the flaw, since any user inside that tenant could still assert a colleague's address. Moving SSO-only authentication away from email-based matching, or requiring a second factor on local accounts, further limits exposure. After upgrading, admins who rely on Microsoft 365 auto-linking should register the 'email' and 'xms_edov' optional claims on the Azure app registration and enable 'Require verified email domain' to get fail-closed enforcement; be aware that until those optional claims are configured in Azure, enabling this setting blocks all Microsoft 365 auto-linking by email, and that leaving it off preserves the legacy fail-open behavior for identities with no xms_edov claim.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-287 (Improper Authentication): Zammad's Authorization::Provider#find_user resolved an inbound SSO assertion to a local user record using the IdP-supplied email claim without validating that the provider actually verified ownership of that address. In OpenID Connect / OAuth flows the 'email' claim is only meaningful when paired with a verification signal; Microsoft encodes domain-ownership verification for the token's email in the optional xms_edov ID token claim, which must be explicitly registered as an optional claim on the Azure app registration. Because Zammad's out-of-the-box Microsoft 365 integration uses the multi-tenant /common endpoint, literally any Azure AD tenant worldwide can authenticate, so an attacker cannot be constrained by tenant allowlists. The upstream fix (commit 0dba387df8e2b46956907975034cd44e4d021b1c) adds a truthy? helper, changes MicrosoftOffice365#find_user to return nil when the email is absent or fails email_verified?, and introduces a require_verified_email_domain setting on auth_microsoft_office365_credentials. Operators should note the fix's documented trade-off: by default a missing xms_edov claim preserves legacy linking behavior (fail-open), and only when admins register the 'email' plus 'xms_edov' optional claims in Azure and enable the new strict toggle does a missing claim block linking (fail-closed). CPE cpe:2.3:a:zammad:zammad:*:*:*:*:*:*:*:* covers all versions below 7.1.2 as reported by EUVD (EUVD-2026-87261).
Know when Zammad gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Remote unauthenticated attacker using their own IdP identity (PR:N, UI:N) takes over any account including admins (C:H/I:H); no direct availability impact and no scope change beyond the target account.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Zammad is a web based open source helpdesk/customer support system. Prior to 7.1.2, when the "Automatic account link on initial logon" setting is enabled, Zammad binds an incoming third-party (SSO) identity to an existing local account by matching the email address the identity provider reports, without verifying that the provider actually confirmed ownership of that email. An attacker who controls any identity at a configured provider, including, by default, any Azure AD tenant via Zammad's multi-tenant Microsoft 365 /common app registration, can set that identity's email to a victim's address, authenticate, and be logged in as the victim. This bypasses the victim's local password entirely and affects any existing account, including agents and administrators. Zammad will honor the xms_edov ID token claim when email verification is required in the Microsoft 365 setting, treating a missing claim as unverified. This issue is fixed in version 7.1.2.
Technical POC Analysis
Bug class: CWE-287 Improper Authentication.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Zammad's SSO auto-linking feature can be abused to take over any local account, including agent and administrator accounts, by binding a third-party identity to a local user based solely on email address matching. This allows an attacker who controls an identity at any configured SSO provider (including any Azure AD tenant under Zammad's default multi-tenant Microsoft 365 configuration) to gain unauthorized access to victim accounts without knowing their passwords. Leadership should prioritize remediation because successful exploitation could lead to full compromise of Zammad's administrative functions, data exfiltration, and lateral movement into integrated systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Session hijacking in self-hosted Zammad 6.3.0 through 6.5.4 allows remote, unauthenticated attackers to take over a legi
Local privilege escalation in Zammad lets an attacker who already controls the unprivileged 'zammad' service account ele
An issue was discovered in Zammad before 1.0.4, 1.1.x before 1.1.3, and 1.2.x before 1.2.1. Rated critical severity (CVS
An issue was discovered in Zammad before 1.0.4, 1.1.x before 1.1.3, and 1.2.x before 1.2.1, caused by lack of a protecti
Zammad 5.2.0 is vulnerable to privilege escalation. Rated critical severity (CVSS 9.8), this vulnerability is remotely e
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 3.4.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely explo
An issue was discovered in Zammad before 6.3.0. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo
An access control issue in Zammad v5.0.3 allows attackers to write entries to the CTI caller log without authentication.
An issue was discovered in Zammad before 4.1.1. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo
Authenticated path traversal in the websocket/long-polling session handling of Zammad 7.0.2 and 7.1.0 allows a low-privi
EUVD-2026-87261
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB