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

CVE-2026-65828: Zammad Auth Bypass Vulnerability

CVE-2026-65828 is an authentication bypass flaw in Zammad helpdesk system that allows attackers to delete other users' temporary file uploads. 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-65828 Overview

CVE-2026-65828 is a missing authorization vulnerability [CWE-862] in Zammad, a web-based open source helpdesk and customer support system. Versions prior to 7.1.2 expose a legacy destroy_form action on the AttachmentsController that deletes UploadCache Store records based only on a user-supplied form_id. The controller never verifies that the requesting user owns the referenced records. An authenticated attacker who discovers another user's pending-upload UUID can silently delete temporary file uploads before the victim submits the related ticket or article. The issue is resolved in Zammad 7.1.2.

Critical Impact

Authenticated users can delete other users' pending file uploads, causing integrity loss in ticket submissions and article workflows.

Affected Products

  • Zammad versions prior to 7.1.2
  • Zammad self-hosted helpdesk deployments
  • Zammad instances exposing the legacy destroy_form attachment endpoint

Discovery Timeline

  • 2026-09-25 - CVE-2026-65828 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-65828

Vulnerability Analysis

The flaw sits in Zammad's AttachmentsController#destroy_form action, which handles cleanup of cached file uploads associated with in-progress forms. Zammad tracks pending uploads using a form_id UUID that references UploadCache Store entries. The vulnerable action removes those records whenever a request includes a valid form_id, without checking that the authenticated user originally created the cache entries. The result is a cross-user deletion primitive triggered by any logged-in account. Exploitation is limited to attachment integrity. It does not disclose file contents or grant code execution, but it allows an attacker to disrupt ticket and article submissions by other agents or customers.

Root Cause

The AttachmentsController applied authorize! only to the show and destroy actions, omitting destroy_form from the authorization filter. The underlying attach_upload_cache helper also looked up Store records directly by form_id without binding them to the current user's UploadCache context, so no ownership check was performed before deletion.

Attack Vector

Exploitation requires network access to the Zammad API, valid user credentials, and knowledge or prediction of a target form_id UUID. The attacker issues an authenticated request to the legacy destroy_form endpoint with the victim's form_id, and the server removes the associated upload cache entries.

ruby
# Patch: enforce authorization on destroy_form in AttachmentsController
class AttachmentsController < ApplicationController
-  prepend_before_action :authorize!, only: %i[show destroy]
+  prepend_before_action :authorize!, only: %i[show destroy destroy_form]
   prepend_before_action :authentication_check, except: %i[show destroy]
   prepend_before_action :authentication_check_only, only: %i[show destroy]

Source: Zammad commit 3b75573

ruby
# Patch: scope upload cache lookup through UploadCache instead of raw Store.list
-def attach_upload_cache(form_id, source_object_name: 'UploadCache')
+def attach_upload_cache(form_id)
   attachments
     .reject(&:inline?)
     .each { |attachment| Store.remove_item(attachment.id) }

-  Store
-    .list(object: source_object_name, o_id: form_id)
+  UploadCache
+    .new(form_id)
+    .attachments
     .reject(&:inline?)
     .map do |old_attachment|
       Store.create!(

Source: Zammad commit 3b75573

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-65828

Indicators of Compromise

  • Requests to the destroy_form action on AttachmentsController from user accounts that did not originate the referenced form_id.
  • Users reporting that attachments disappeared from draft tickets or articles before submission.
  • Spikes in UploadCache Store deletions in Zammad application logs that do not correlate with the form owner's session.

Detection Strategies

  • Review Zammad application and web server logs for DELETE or POST requests to attachment destroy_form endpoints and correlate the acting user with the form_id owner.
  • Enable audit logging on Store and UploadCache operations to track which user triggered each deletion.
  • Hunt for authenticated accounts issuing destroy requests against many distinct form_id values in short time windows.

Monitoring Recommendations

  • Alert on anomalous volumes of attachment cache deletions per user session.
  • Monitor Zammad version metadata and confirm all nodes are running 7.1.2 or later.
  • Track helpdesk tickets opened for "missing attachment" complaints as a secondary signal of abuse.

How to Mitigate CVE-2026-65828

Immediate Actions Required

  • Upgrade all Zammad instances to version 7.1.2 or later.
  • Review recent attachment deletion activity for cross-user form_id access patterns.
  • Rotate or review credentials for any account observed issuing suspicious destroy_form requests.

Patch Information

The fix is delivered in Zammad 7.1.2. The patch adds destroy_form to the authorize! before-action filter in AttachmentsController and refactors attach_upload_cache to resolve attachments through the UploadCache model, ensuring ownership is enforced. Details are available in the GitHub Security Advisory GHSA-x4f3-367g-m93g and the upstream commit.

Workarounds

  • Restrict network access to Zammad API endpoints to trusted agents and customers only.
  • Place a reverse proxy or Web Application Firewall rule in front of Zammad to block or rate-limit requests to the attachment destroy_form path until patching is complete.
  • Reduce the number of accounts with API access while planning the upgrade.
bash
# Example: upgrade Zammad on a Debian/Ubuntu system
sudo apt-get update
sudo apt-get install --only-upgrade zammad
zammad run rails r 'puts Zammad::Information.fetch_version'
# Confirm the reported version is 7.1.2 or later

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.