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

CVE-2026-56734: Zammad SSRF Vulnerability

CVE-2026-56734 is a server-side request forgery flaw in Zammad that enables attackers to probe internal networks through profile image URLs. 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-56734 Overview

CVE-2026-56734 is a Server-Side Request Forgery (SSRF) vulnerability in Zammad, an open source web-based helpdesk and customer support system. During federated authentication flows using OAuth, OpenID Connect (OIDC), or Security Assertion Markup Language (SAML), Zammad fetches the profile image URL supplied by the external identity provider without validating the target address. An authenticated actor who controls their profile at a connected provider can force the Zammad server to issue requests to internal network locations. Differences in response timing and error patterns enable internal service enumeration, and worker processes can be stalled for several seconds per request. The issue is fixed in Zammad version 7.0.2.

Critical Impact

Attackers can probe internal network services from the Zammad server and degrade worker availability through blocking requests. [CWE-918]

Affected Products

  • Zammad versions prior to 7.0.2
  • Deployments using OAuth, OIDC, or SAML federated authentication
  • Instances where users can modify the profile image URL at a connected identity provider

Discovery Timeline

  • 2026-09-25 - CVE-2026-56734 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-56734

Vulnerability Analysis

The flaw sits in Zammad's avatar fetching logic, invoked when a federated authentication provider returns a profile image URL. Zammad performs an outbound HTTP request to that URL without restricting the destination to public addresses. Because the request originates from the Zammad server, it can reach internal hosts, loopback interfaces, and private network ranges that are otherwise unreachable from the internet.

An attacker observes response characteristics such as timing deltas and error messages to distinguish reachable services from unreachable ones. This enables mapping of internal infrastructure behind the Zammad host. The fetch operation also runs synchronously inside worker processes, so slow or hung requests tie up workers for several seconds, reducing available capacity for legitimate traffic.

Root Cause

The Avatar model issued HTTP requests through its fetch helper without passing safety validation options. The underlying HTTP client supports a validate_safety parameter that blocks requests to private and loopback ranges, but it was not enabled for avatar retrieval. This is a classic SSRF pattern [CWE-918] where user-influenced URLs are dereferenced server-side with no destination allowlist.

Attack Vector

Exploitation requires a configured external authentication provider where the attacker can edit their own profile image URL. The attacker sets the profile image to an internal address such as http://127.0.0.1:6379/ or http://169.254.169.254/latest/meta-data/. During login or profile synchronization, Zammad fetches the URL and the attacker infers service presence from the response or timing behavior.

ruby
# Security patch in app/models/avatar.rb (fix in 7.0.2)
          url,
          {},
          {
-           open_timeout:  4,
-           read_timeout:  6,
-           total_timeout: 6,
+           open_timeout:    4,
+           read_timeout:    6,
+           total_timeout:   6,
+           validate_safety: { allow_private: true, allow_loopback: true },
          },
        )
        if !response.success?

Source: Zammad commit 1fae97d. The patch enables validate_safety on the HTTP client, allowing operators to restrict requests to safe destinations.

Detection Methods for CVE-2026-56734

Indicators of Compromise

  • Outbound HTTP requests from the Zammad server to RFC1918 ranges, 127.0.0.0/8, or cloud metadata endpoints such as 169.254.169.254
  • Repeated avatar fetch attempts tied to a single federated user with unusual profile image URLs
  • Worker process stalls or timeouts correlated with authentication events

Detection Strategies

  • Inspect Zammad application logs for Avatar fetch entries with internal or non-public destination hosts
  • Correlate federated login events (OAuth, OIDC, SAML) with outbound connection logs from the Zammad host
  • Alert on identity provider profile image URL changes that reference private IP space or non-standard ports

Monitoring Recommendations

  • Enable egress logging on the Zammad server and baseline expected outbound destinations
  • Monitor worker queue depth and request latency for sustained anomalies that suggest SSRF-induced stalls
  • Review audit logs for user profile synchronization events against unexpected provider responses

How to Mitigate CVE-2026-56734

Immediate Actions Required

  • Upgrade Zammad to version 7.0.2 or later, which enables validate_safety on avatar fetches
  • Audit federated authentication providers and review user-controlled profile image URLs for anomalies
  • Restrict egress from the Zammad server to only required external destinations

Patch Information

The fix is included in Zammad Release 7.0.2 and committed in GitHub commit 1fae97d. Full advisory details are available in GitHub Security Advisory GHSA-q3cr-3wq3-29hx.

Workarounds

  • Block outbound traffic from the Zammad host to RFC1918, loopback, and link-local ranges at the network layer
  • Deploy an egress proxy that enforces destination allowlists for Zammad outbound HTTP requests
  • Temporarily disable federated authentication providers that permit user-editable profile image URLs if upgrading is not immediately possible
bash
# Example iptables egress restriction for the Zammad host
iptables -A OUTPUT -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
iptables -A OUTPUT -d 169.254.0.0/16 -j REJECT

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.