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-63006 Overview
CVE-2026-63006 is a path traversal vulnerability [CWE-22] in Zammad, a web-based open source helpdesk and customer support system. Versions prior to 7.1.2 allow attacker-controlled HTML in inbound emails or tickets to bypass the image URL sanitizer using path traversal sequences. When an authenticated agent views the malicious content, the browser resolves the crafted URL to a protected Zammad API endpoint and transmits the request with the agent's session cookie. This behavior enables side effects such as a forced logout without any explicit user interaction beyond viewing the ticket. The issue is fixed in Zammad version 7.1.2.
Critical Impact
Attackers can trigger authenticated API calls, including forced logout, against Zammad agents simply by sending a crafted email or ticket.
Affected Products
- Zammad helpdesk versions prior to 7.1.2
- Zammad instances accepting inbound email ingestion
- Zammad web interface used by authenticated agents
Discovery Timeline
- 2026-09-25 - CVE-2026-63006 published to NVD
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-63006
Vulnerability Analysis
The vulnerability resides in Zammad's HTML sanitizer, specifically in the unsafe_api_path? function within lib/html_sanitizer/scrubber/wipe.rb. The sanitizer attempts to block image URLs that resolve to internal Zammad API paths, preventing attacker-controlled HTML from invoking authenticated endpoints when rendered in an agent's browser. The original implementation only stripped a leading ./ or ../ prefix, leaving multiple bypass avenues open. Attackers can embed percent-encoded dot segments such as %2e%2e or %252e%252e, or use backslashes which browsers treat as path separators in special-scheme URLs. When the agent views the ticket, the browser normalizes the crafted URL and issues a GET request to the targeted API endpoint, carrying the agent's session cookie.
Root Cause
The root cause is insufficient path normalization before API-path matching. The sanitizer's traversal check matched only prefix dot-segments and did not account for percent-encoding or backslash separators, allowing crafted paths to evade the allowlist comparison.
Attack Vector
Exploitation requires an attacker to deliver crafted HTML to Zammad through any inbound ticket channel, such as email. Agent interaction is limited to viewing the ticket content. Once rendered, the browser resolves the sanitized-but-still-malicious image URL to a sensitive Zammad API path and submits the request with session credentials, producing side effects on the agent's account.
# Patch excerpt: lib/html_sanitizer/scrubber/wipe.rb
def unsafe_api_path?(string)
# Callers apply CGI.unescape once (e.g. %252e%252e -> %2e%2e); a second pass here
# resolves any remaining percent-encoded dot-segments (%2e%2e -> ..) before the check.
string = CGI.unescape(string)
# browsers treat \ as a path separator in special-scheme URLs, so normalize before checking
string = string.tr('\\', '/')
# block dot-segment traversal (. and ..) anywhere in the string
return true if string.match?(%r{(?:\A|/)\.\.?(?:/|\z)})
# only /api/... paths are in scope; non-API paths pass through
return false if !string.match?(%r{\A/?api/}i)
stripped = string.delete_prefix('/')
# allowlist: prefix match for sub-paths, equality for exact bare paths
return false if ALLOWED_ZAMMAD_API_PATHS.any? { |path| stripped.start_with?(path) || stripped == path.delete_suffix('/') }
end
Source: Zammad commit 856af85
Detection Methods for CVE-2026-63006
Indicators of Compromise
- Inbound tickets or emails containing <img> tags whose src attribute includes percent-encoded dot segments such as %2e%2e, %252e%252e, or backslash-separated path components.
- Unexpected GET requests to Zammad /api/ endpoints with agent session cookies originating from browser rendering of ticket content.
- Agents reporting unexplained logouts or session invalidation shortly after opening a specific ticket.
Detection Strategies
- Inspect inbound email bodies and ticket HTML for img elements whose URLs resolve to the Zammad /api/ namespace after decoding and separator normalization.
- Correlate web server access logs for sensitive API endpoints with the referring ticket view activity to identify sanitizer bypass patterns.
- Review HTTP request chains in which a ticket detail view is immediately followed by same-session API calls the agent did not initiate.
Monitoring Recommendations
- Enable verbose logging on the Zammad reverse proxy for requests to authenticated API routes and alert on anomalies tied to ticket view sessions.
- Monitor agent session termination events for clusters correlated with specific ticket IDs or sender addresses.
- Track Zammad release notes and apply security advisories such as GHSA-33p2-cm7w-62g3 in change management.
How to Mitigate CVE-2026-63006
Immediate Actions Required
- Upgrade all Zammad instances to version 7.1.2 or later without delay.
- Audit recent inbound tickets and emails for HTML content containing path traversal patterns in image URLs.
- Rotate agent sessions and verify no unauthorized administrative API actions occurred prior to patching.
Patch Information
The fix is included in Zammad 7.1.2. The patched unsafe_api_path? method in lib/html_sanitizer/scrubber/wipe.rb applies CGI.unescape to resolve percent-encoded dot segments, normalizes backslashes to forward slashes, and matches . or .. dot-segments anywhere in the string before the API allowlist check. See the Zammad security advisory GHSA-33p2-cm7w-62g3 and the upstream commit for details.
Workarounds
- If immediate upgrade is not possible, restrict inbound email HTML by converting messages to plain text at the mail gateway before ingestion.
- Place Zammad behind a reverse proxy that denies cookie-bearing requests to sensitive /api/ routes when the referrer is a rendered ticket view.
- Instruct agents to view suspicious tickets in an isolated browser session without active Zammad authentication until the patch is applied.
# Verify Zammad version and upgrade on a Debian/Ubuntu deployment
dpkg -l | grep zammad
sudo apt-get update
sudo apt-get install --only-upgrade zammad
# Confirm the installed version is 7.1.2 or later
zammad run rails runner 'puts Zammad::Information.fetch_version'
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

