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

CVE-2026-109391: Square Squash Insecure Deserialization RCE

CVE-2026-109391 is an insecure deserialization flaw in Square Squash that enables unauthenticated remote code execution through unsafe YAML deserialization. This article covers technical details, attack vectors, and mitigation.

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-109391 Overview

CVE-2026-109391 is an unauthenticated insecure deserialization vulnerability in Square Squash through commit e73f280. Attackers submit crafted YAML to the POST /api/1.0/symbolication endpoint, which stores the payload server-side. When a later occurrence references the attacker-controlled symbolication UUID, the stored YAML is parsed by YAML.load with SafeYAML configured in unsafe mode. This enables arbitrary Ruby object deserialization and potential remote code execution on the Squash server. The flaw is tracked under CWE-502: Deserialization of Untrusted Data and documented in the VulnCheck Advisory for SquareSquash.

Critical Impact

Unauthenticated network attackers can achieve arbitrary Ruby object deserialization that may lead to remote code execution on affected Square Squash servers.

Affected Products

  • Square Squash web application through commit e73f2805f9eb30780a5c213b001f0f4255660fbf
  • Deployments exposing the /api/1.0/symbolication endpoint to untrusted networks
  • Instances using the project's default safe_yaml.rb preinitializer configuration

Discovery Timeline

  • 2026-10-12 - CVE-2026-109391 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-109391

Vulnerability Analysis

Square Squash is a Ruby on Rails crash reporting server. The v1_controller.rb controller exposes POST /api/1.0/symbolication without authentication, accepting a UUID and a symbols payload supplied by the client. The server persists these symbols as serialized YAML in the Symbolication model. Later, when a crash occurrence references the stored UUID, the symbolication worker loads the YAML to resolve stack frames. Because the project configures SafeYAML in a permissive mode and routes the load through YAML.load, Ruby constructs arbitrary object graphs from the attacker-controlled input. Gadget chains available in the Rails runtime can transform this object instantiation into command execution. Review the SquareSquash V1 Controller Code and the SquareSquash Symbolication Worker for the vulnerable code paths.

Root Cause

The root cause is deserialization of untrusted data (CWE-502). The SquareSquash Safe YAML Initializer selects an unsafe default that permits instantiation of arbitrary Ruby classes during YAML parsing. The SquareSquash Symbolication Model relies on this configuration when hydrating stored symbols.

Attack Vector

The attack vector is network-based and requires no authentication or user interaction. An attacker sends an HTTP POST request to /api/1.0/symbolication containing a UUID of their choice and a symbols field holding a malicious YAML payload. The server stores the payload. The attacker then submits an occurrence that references the planted UUID, triggering the symbolication worker to deserialize the stored YAML and execute an embedded Ruby gadget chain.

No verified public exploit code is available at the time of writing. See the HackMD Security Note for additional analysis of the exploitation sequence.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-109391

Indicators of Compromise

  • Unexpected POST /api/1.0/symbolication requests from untrusted source IPs, especially from clients that do not match legitimate crash reporter deployments.
  • Symbolication database rows containing YAML tags such as !ruby/object, !ruby/hash, or references to classes like Gem::Requirement or ActiveSupport chains.
  • Unexpected child processes spawned by the Rails worker or Sidekiq process after symbolication jobs run.

Detection Strategies

  • Inspect application logs for POSTs to /api/1.0/symbolication with abnormally large symbols fields or binary YAML markers.
  • Hunt in the symbolications table for stored values containing Ruby object directives rather than plain symbol maps.
  • Correlate symbolication job execution timestamps with outbound network connections or shell invocations from the Squash host.

Monitoring Recommendations

  • Enable verbose logging on the symbolication worker and ship events to a central SIEM for correlation.
  • Monitor process ancestry on the Squash host, alerting on ruby or sidekiq spawning sh, bash, curl, or wget.
  • Track egress traffic from the Squash server to detect post-exploitation callbacks or data staging.

How to Mitigate CVE-2026-109391

Immediate Actions Required

  • Restrict network access to the /api/1.0/symbolication endpoint using a reverse proxy, firewall, or VPN until a patch is applied.
  • Require authentication on all Squash API endpoints, blocking anonymous POSTs at the ingress layer.
  • Audit the symbolications table for stored YAML containing Ruby object directives and purge suspicious entries.

Patch Information

No official vendor patch is referenced in the advisory data for Square Squash commit e73f280. Operators should track the SquareSquash Web Repository for upstream fixes and refer to the VulnCheck Advisory for SquareSquash for remediation guidance. In the interim, replace YAML.load with YAML.safe_load and remove the unsafe SafeYAML default in config/preinitializers/safe_yaml.rb.

Workarounds

  • Switch SafeYAML to safe mode by setting SafeYAML::OPTIONS[:default_mode] = :safe and prohibiting arbitrary class instantiation.
  • Replace calls to YAML.load in the Symbolication model and worker with YAML.safe_load, restricting permitted classes to primitives.
  • Place the Squash service behind an authenticated reverse proxy and apply an allowlist of trusted crash reporter source addresses.
bash
# Configuration example: enforce SafeYAML safe mode in config/preinitializers/safe_yaml.rb
require 'safe_yaml/load'
SafeYAML::OPTIONS[:default_mode] = :safe
SafeYAML::OPTIONS[:deserialize_symbols] = false
SafeYAML::OPTIONS[:raise_on_unknown_tag] = true

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.