Skip to main content
Vulnerability Database/CVE-2026-63208

CVE-2026-63208: Zammad Information Disclosure Vulnerability

CVE-2026-63208 is an information disclosure flaw in Zammad helpdesk system that exposes partial Microsoft Graph authentication tokens in error logs. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-63208 Overview

CVE-2026-63208 is an information disclosure vulnerability in Zammad, a web-based open source helpdesk and customer support system. When a Microsoft Graph API request fails, Zammad logs the error together with the authentication token used to access the mailbox. The log-masking routine attempts to redact the token, but handles JSON Web Tokens (JWT) incorrectly: only the first segment is filtered, while the remaining segments stay readable in plain text. A Zammad administrator with Microsoft Graph channel access can read these logs and recover claims such as the account scope, tenant identifier, or issuance timing. The exposed material may assist in reconstructing the full token while it remains valid. The issue is fixed in Zammad version 7.1.2.

Critical Impact

Partial Microsoft Graph JWT disclosure in HTTP logs enables an authenticated admin to extract tenant, scope, and timing claims that aid token reconstruction.

Affected Products

  • Zammad helpdesk and customer support system
  • All versions prior to 7.1.2 with Microsoft Graph mailbox channels configured
  • Deployments where administrators have access to the HTTP log facility

Discovery Timeline

  • 2026-09-25 - CVE-2026-63208 published to the National Vulnerability Database
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-63208

Vulnerability Analysis

The flaw is an improper output neutralization issue [CWE-116] in Zammad's HTTP log sanitization layer. Zammad records outbound requests to Microsoft Graph through its HttpLog model. When a request fails, the full Authorization: Bearer <token> header is captured in the log record. Zammad applies a regular expression to redact the bearer value before persistence.

The original expression matched a single token-like string. JWTs issued by Microsoft Entra ID consist of three dot-separated base64url segments: header, payload, and signature. The regex only redacted the first segment and stopped at the . delimiter. The payload and signature remained in cleartext inside the request and response fields of the http_logs table. Any admin granted read access to the Microsoft Graph channel could decode the payload and recover claims such as tid (tenant), scp (scope), aud, iat, and exp.

Root Cause

The root cause is an incomplete regular expression in app/models/http_log.rb. The BEARER_REGEX pattern terminated at the first dot inside the token, leaving the remaining JWT segments visible. The signature segment, while cryptographically opaque, is still sensitive because combining it with a leaked payload reconstructs a valid, verifiable token until expiration.

Attack Vector

Exploitation requires an authenticated Zammad administrator account with Microsoft Graph channel permissions. The attacker browses the HTTP log viewer, triggers or waits for a Graph request to fail, and inspects the stored request headers. No network-level interception is required. The attack is passive from the mailbox owner's perspective and leaves no indicator in Microsoft 365 audit logs.

ruby
# Patched BEARER_REGEX in app/models/http_log.rb
# Vulnerable pattern (before):
#   BEARER_REGEX = %r{Authorization:\s*Bearer\s+[A-Za-z0-9\-_~+/]+=*}i

# Fixed pattern (after):
BEARER_REGEX = %r{
  Authorization:\s*Bearer\s+
  (?:\[FILTERED\]|[A-Za-z0-9\-._~+/]+=*(?:\[TRUNCATED\])?)
  (?:\.(?:[A-Za-z0-9\-._~+/]+=*(?:\[TRUNCATED\])?)?)*
}ix

Source: Zammad commit 2be4647

Detection Methods for CVE-2026-63208

Indicators of Compromise

  • Entries in the http_logs table where the request column contains Authorization: Bearer followed by a dot-separated string instead of the [FILTERED] marker.
  • Unexpected administrator access to the Admin Interface log viewer, particularly focused on Microsoft Graph channel entries.
  • Microsoft Entra ID sign-in logs showing token use from client IP addresses that do not match the Zammad server's egress address during the token's validity window.

Detection Strategies

  • Query the Zammad database for historical HTTP log rows containing authorization:%bearer% to measure exposure prior to upgrade.
  • Correlate Zammad admin audit events with downloads or exports of HTTP log data.
  • Monitor Microsoft Graph API usage for anomalous access patterns against mailboxes integrated with Zammad channels.

Monitoring Recommendations

  • Alert on administrator role changes that grant Microsoft Graph channel access in Zammad.
  • Enable Microsoft Entra ID Continuous Access Evaluation to shorten the window in which a leaked token remains valid.
  • Review access to Zammad backups and database snapshots, which may contain historical unredacted tokens.

How to Mitigate CVE-2026-63208

Immediate Actions Required

  • Upgrade Zammad to version 7.1.2 or later, which ships both the corrected BEARER_REGEX and a migration that re-sanitizes historical HTTP log entries.
  • Rotate any Microsoft Graph client secrets and force reissuance of OAuth refresh tokens for mailboxes configured as Zammad channels.
  • Audit administrator accounts and remove Microsoft Graph channel permissions from roles that do not require them.

Patch Information

The fix is delivered in Zammad 7.1.2 via commit 2be46473eee405cc65b86a85d17059802e658532. The patch rewrites BEARER_REGEX to match all dot-separated JWT segments and adds the migration HttpLogBearerTokenCleanup, which iterates existing HttpLog rows and reapplies filter_sensitive_data to redact previously stored tokens.

ruby
# db/migrate/20260610120000_http_log_bearer_token_cleanup.rb
class HttpLogBearerTokenCleanup < ActiveRecord::Migration[7.2]
  def change
    return if !Setting.exists?(name: 'system_init_done')

    http_log_cleanup
  end

  private

  def http_log_cleanup
    HttpLog
      .where('LOWER(request) LIKE :bearer OR LOWER(response) LIKE :bearer', bearer: '%authorization:%bearer%')
      .find_each(batch_size: 250) do |log|
        log.send(:filter_sensitive_data)
        log.save!(validate: false)
      end
  end
end

Source: Zammad Security Advisory GHSA-qh8m-g5vr-7272

Workarounds

  • Truncate the http_logs table and disable detailed HTTP logging for Microsoft Graph channels until the patched version can be deployed.
  • Restrict administrator permissions so that only trusted operators can view HTTP channel logs.
  • Shorten Microsoft Entra ID access token lifetimes using Conditional Access token lifetime policies to reduce the window of usefulness for any leaked token material.
bash
# Verify installed Zammad version and confirm the fix is applied
zammad run rails r 'puts Zammad::Version.get'

# Count any residual HTTP log entries containing unredacted bearer tokens
zammad run rails r "puts HttpLog.where(\"LOWER(request) LIKE '%authorization:%bearer%'\").count"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.