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-56732 Overview
CVE-2026-56732 is an input validation flaw [CWE-20] in Zammad, an open source web-based helpdesk and customer support platform. The vulnerability resides in Zammad's HTML sanitization logic, which fails to strip certain HTML elements referencing privileged Zammad API paths. An attacker with the ability to create or edit tickets can inject a crafted HTML element into a ticket body. When another authenticated user views the ticket, the injected element issues a logout request against the viewer's session, terminating it without consent. The issue affects Zammad releases prior to 7.0.2 and is corrected in version 7.0.2.
Critical Impact
Authenticated agents or customers can force arbitrary session termination of any user who views a crafted ticket, enabling targeted denial of service against helpdesk operators.
Affected Products
- Zammad helpdesk and customer support system versions prior to 7.0.2
Discovery Timeline
- 2026-09-25 - CVE-2026-56732 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-56732
Vulnerability Analysis
Zammad renders ticket content as HTML in agent and customer interfaces. The server-side sanitizer in lib/html_sanitizer/scrubber/wipe.rb processes untrusted HTML before storage and display. Prior to version 7.0.2, the sanitizer permitted HTML elements whose src or srcset attributes resolved to arbitrary Zammad application paths. An attacker could reference the application's logout endpoint from within a ticket body. The viewer's browser automatically issued the request with the viewer's session cookie, invalidating the session. The underlying weakness is improper input validation [CWE-20] of allowed URL destinations inside sanitized HTML.
Root Cause
The sanitizer lacked an allowlist of safe internal API paths for image-loading attributes. Any same-origin URL embedded in a resource-fetching element was treated as acceptable, including state-changing endpoints such as session termination. The fix introduces an explicit ALLOWED_ZAMMAD_API_PATHS constant restricting embedded URLs to api/v1/attachments/ and api/v1/ticket_attachment/.
Attack Vector
Exploitation requires network access to the Zammad instance and the ability to submit ticket content. User interaction is required: a victim must open or view the ticket for the crafted element to fire. Confidentiality and integrity are not directly affected, but the viewer's session is forcibly terminated, producing a low-impact availability outcome against individual users.
class HtmlSanitizer
module Scrubber
class Wipe < Base
+
+ # Allowed paths for Zammad API endpoints that can be used in <img src> or srcset attributes.
+ ALLOWED_ZAMMAD_API_PATHS = %w[
+ api/v1/attachments/
+ api/v1/ticket_attachment/
+ ].freeze
+
attr_reader :remote_content_removed
def initialize # rubocop:disable Lint/MissingSuper
Source: Zammad commit 3f6e8a5fa34eb0ce40f63292cf744f5f2992c9d0. The patch enforces an allowlist that rejects any embedded resource URL outside the attachment APIs, blocking references to logout and other state-changing endpoints.
Detection Methods for CVE-2026-56732
Indicators of Compromise
- Unexpected session termination events for agents immediately after opening a specific ticket.
- Ticket records containing HTML elements with src or srcset attributes pointing to non-attachment Zammad routes such as session or logout endpoints.
- Repeated authentication re-prompts for multiple users correlated to a shared ticket view.
Detection Strategies
- Query the ticket article store for HTML tags where resource attributes reference paths outside api/v1/attachments/ or api/v1/ticket_attachment/.
- Correlate web server access logs for logout or session-destroy requests whose Referer header points to a ticket detail page.
- Review audit logs for clusters of forced logouts affecting distinct accounts that interacted with the same ticket ID.
Monitoring Recommendations
- Enable verbose logging on the Zammad application tier and ingest it into a centralized analytics platform for anomaly detection.
- Alert on same-origin requests to session-management endpoints initiated from image or media element loads.
- Monitor the GitHub Security Advisory GHSA-6rmm-28j9-q99q for updated indicators and detection guidance.
How to Mitigate CVE-2026-56732
Immediate Actions Required
- Upgrade all Zammad installations to version 7.0.2 or later without delay.
- Inventory existing tickets for HTML content referencing Zammad routes outside the attachment API paths and remove or sanitize offending records.
- Instruct agents to report any unexpected logouts triggered by opening specific tickets.
Patch Information
The fix is included in Zammad 7.0.2. The sanitizer change adds an ALLOWED_ZAMMAD_API_PATHS allowlist in lib/html_sanitizer/scrubber/wipe.rb that restricts embedded resource URLs to api/v1/attachments/ and api/v1/ticket_attachment/. Full technical details are published in GHSA-6rmm-28j9-q99q.
Workarounds
- If immediate upgrade is not feasible, restrict ticket creation and editing to trusted users while planning the patch deployment.
- Deploy a web application firewall rule that blocks outbound requests to session-management endpoints when triggered from ticket view pages.
- Enforce short session lifetimes and require re-authentication for sensitive actions to limit disruption from forced logout events.
# Upgrade Zammad to the patched release (example for package-based installs)
sudo apt-get update
sudo apt-get install --only-upgrade zammad
sudo systemctl restart zammad
zammad run rails runner 'puts Zammad::Version.get'
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

