Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Zammad admin with Graph/log access
-
DeliveryTrigger or await failed MS Graph request
-
ExploitZammad logs Bearer JWT to http_log
-
ExecutionOpen logs, read unmasked JWT segments
-
ImpactExtract tenant/scope claims, aid token reconstruction
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Requires (1) a Zammad instance older than 7.1.2 configured with a Microsoft Graph email channel, (2) a failed Graph API request that triggers the error logging path storing the Authorization: Bearer header in http_log, and (3) an attacker who is an authenticated Zammad administrator with Microsoft Graph channel access and the ability to read HTTP logs (PR:H). It only exposes JWT-format (dot-separated) Bearer tokens; the leak is limited to the payload and signature segments and yields only a partial/still-valid token plus claims. Exploitation is gated by administrative privilege, the presence of the Graph integration, and the occurrence of a request failure - it is not remotely reachable by unauthenticated users. |
| Impact | This is a low-severity information-disclosure issue that is correctly rated modest by NVD's CVSS 4.0 score of 5.1 (AV:N/AC:L/PR:H/UI:N/VC:L, subsequent SC:L). The single most important limiting signal is PR:H: exploitation requires an already-privileged Zammad administrator who has Microsoft Graph channel access and can read the HTTP logs, so this is not a remote-unauthenticated concern despite the AV:N attack vector. The impact is bounded - only a JWT's payload and signature segments leak (the header segment was already masked), yielding claims such as tenant, scope, and timing plus material that 'could assist in reconstructing' the token; it is not a guaranteed full-credential disclosure, which is why VC:L (not H) is appropriate. There is no EPSS score, no CISA KEV listing, and no public exploit code identified at time of analysis, so exploitation status is 'no public exploit identified.' No conflicting signals exist between the CVSS vector and the description - both agree this needs authenticated admin/log access. Overall this is a low-priority patch: a defense-in-depth logging-hygiene fix rather than an urgent exposure. Note the CWE-116 (improper output encoding) label is a loose fit; the real weakness class is sensitive-data exposure in logs (CWE-200/532). |
| Exploit ScenarioDerived | A Zammad instance is configured with a Microsoft Graph mail channel and a Graph API request fails, causing Zammad to log the outgoing request including the Bearer JWT. A Zammad administrator with access to those HTTP logs opens them and reads the unmasked payload and signature segments of the still-valid token, exposing tenant/scope claims and material that could aid token reconstruction. No public exploit code exists and exploitation requires existing admin/log-read privileges rather than remote unauthenticated access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 25, 2026
Incomplete masking of Microsoft Graph bearer tokens in Zammad's HTTP log allows an authenticated Zammad administrator with Microsoft Graph channel access to read the payload and signature segments of a still-valid mailbox access token from stored log entries, exposing sensitive JWT claims such as account scope, tenant and timing that could assist in reconstructing the full token while it remains valid. Only Zammad deployments older than 7.1.2 that use a Microsoft Graph email channel and that have recorded a failed Graph API request are affected; the flaw is gated by high administrative privilege and is not remotely reachable by unauthenticated users, and no public exploit identified at time of analysis. The vendor-released patch is Zammad 7.1.2, and independent assessment rates this as a low-severity information-disclosure issue consistent with the CVSS 4.0 score of 5.1.
RemediationAI
Upgrade to Zammad 7.1.2 or later, which both corrects the BEARER_REGEX masking logic for dot-separated JWT tokens and ships the database migration 20260610120000_http_log_bearer_token_cleanup that re-filters existing http_log records and overwrites previously leaked partial tokens with 'Authorization: Bearer [FILTERED]'; the migration processes rows in batches of 250 and can take noticeable time on large http_log tables, so run it during a maintenance window. Because the exposed JWT segments may still have been valid at the time of reading, treat any Microsoft Graph mailbox access token that appeared in logs before the upgrade as compromised: rotate the Microsoft Graph/Entra service credentials or application secrets used by the Zammad mail channel and re-authorize the channel, accepting a brief interruption of mailbox polling until the new credentials are configured. As compensating controls where immediate upgrade is not possible, restrict Zammad administrator accounts and the Microsoft Graph channel configuration to the smallest possible set of trusted operators (since exploitation requires an admin with channel access and log visibility), reduce http_log retention and review/ purge log entries containing 'authorization: bearer', and consider disabling verbose storage of Graph request headers if the integration allows it; each of these reduces exposure but does not fully replace the vendor fix. Consult the advisory at https://github.com/zammad/zammad/security/advisories/GHSA-qh8m-g5vr-7272 for the authoritative upgrade guidance.
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 issue is rooted in improper output encoding/neutralization (CWE-116) inside Zammad's HttpLog model, which is responsible for scrubbing sensitive values before writing HTTP request and response data to the database. Zammad's Microsoft Graph integration authenticates to the mailbox API with an OAuth 2.0 bearer token in JWT format, i.e. three base64url segments separated by dots (header.payload.signature). When a Graph request fails, the error logging path stores the full request/response headers, including 'Authorization: Bearer <token>', in the http_log table. The masking regular expression (BEARER_REGEX) only matched a single contiguous run of token characters and did not account for the dot separators, so it replaced just the first segment and left the JWT payload and signature readable in plain text. The upstream commit 2be46473eee405cc65b86a85d17059802e658532 rewrites BEARER_REGEX to match dot-separated segment sequences (including previously partially filtered '[FILTERED]' prefixes) and adds the migration 20260610120000_http_log_bearer_token_cleanup.rb, which re-runs filter_sensitive_data over historical http_log rows containing 'authorization:%bearer%' in request or response, in batches of 250, saving with validation disabled. The affected CPE is cpe:2.3:a:zammad:zammad:* covering all versions prior to 7.1.2.
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:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
PR:H because only an admin with Graph-channel/log access can read the logs; C:L for partial-token/claim leak, no integrity or availability impact, scope unchanged.
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 a Microsoft Graph request fails, Zammad logs the error including the authentication token used to access the mailbox. The system attempts to hide this token in the log, but the masking is incomplete: for the token format Microsoft uses (JWT), only the first part is hidden, while the remaining parts remain readable in plain text. A Zammad admin with Microsoft Graph channel access can view these logs and see the partial token, which may reveal sensitive claims such as the account scope, tenant, or timing, and could assist in reconstructing the full token while it is still valid. This issue is fixed in version 7.1.2.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Zammad's SSO auto-linking logic can be abused to take over any existing local account, including agent and administrator
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
EUVD-2026-87271
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB