← Vulnerability feed

Vulnerability record · CVE-2013-5036 · published 27 May 2014

CVE-2013-5036: Square Squash YAML deserialization code injection in API controller

Squash · Square Squash

Square Squash passes attacker-controlled YAML from the namespace and sourcemap parameters into deobfuscation and sourcemap functions in app/controllers/api/v1_controller.rb without safe loading. Because YAML deserialization can instantiate arbitrary objects, a remote attacker can achieve code execution on the server. The flaw is rated high severity (CVSS 2.0 7.5) and a public exploit exists.

7.5 CVSS 2.0 High EPSS 46% · top 1.2% CWE-94 · Code injection
7.5CVSS 2.0 base score
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References, 4 tagged exploit
16 Jun 2026Last modified by NVD

Description

The Square Squash allows remote attackers to execute arbitrary code via a YAML document in the (1) namespace parameter to the deobfuscation function or (2) sourcemap parameter to the sourcemap function in app/controllers/api/v1_controller.rb.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityUnauthenticated remote code execution with a public exploit and very high EPSS score, though the product is niche and no KEV listing is present.

What it is

Square Squash passes attacker-controlled YAML from the namespace and sourcemap parameters into deobfuscation and sourcemap functions in app/controllers/api/v1_controller.rb without safe loading. Because YAML deserialization can instantiate arbitrary objects, a remote attacker can achieve code execution on the server. The flaw is rated high severity (CVSS 2.0 7.5) and a public exploit exists.

Impact

An unauthenticated remote attacker can execute arbitrary code with the privileges of the Squash web application, leading to full compromise of the host and any data it can reach.

Attack surface

Reached over the network through the Squash API endpoints that accept the namespace and sourcemap parameters; the CVSS vector AV:N/AC:L/Au:N indicates no authentication and no user interaction are required.

Exploitation

A public exploit is available (Exploit-DB 27530) and the vendor commit is tagged Exploit and Patch, but the CVE is not in CISA KEV; EPSS is 0.46182 (98.8th percentile), indicating high predicted exploitation activity.

What to do

  • Apply the vendor fix in commit 6d667c19e96e4f23dccbfbe24afeebd18e98e1c5 or upgrade to a release containing it.
  • Replace unsafe YAML loading with safe_load and restrict permitted classes for the namespace and sourcemap parameters.
  • If patching is not possible, block or strictly validate YAML input to the affected API endpoints at a reverse proxy or WAF.
  • Restrict network access to the Squash API to trusted clients and run the service with least privilege.

Detection

  • Inspect HTTP requests to the Squash API for YAML payloads in the namespace or sourcemap parameters, especially those containing object tags such as !ruby/object.
  • Monitor application and web server logs for errors or stack traces from the deobfuscation and sourcemap functions.
  • Alert on unexpected child processes, outbound connections, or file writes originating from the Squash web application process.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2013-5036 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed9.4CVE-2025-62593Ray browser-based RCE via insufficient User-Agent guardRay, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on …KEVEPSS 62%analysed9.8CVE-2026-9198Langflow auto_login and code validation chain enables unauthenticated RCEIBM Langflow OSS 1.0.0 through 1.10.0 exposes /api/v1/auto_login, which mints SUPERUSER tokens to any network caller, and /api/v1/validate/code, whic…KEVEPSS 29%analysed7.2CVE-2026-15410SonicWall SMA1000 AMC code injection allows OS command executionThe SMA1000 Appliance Management Console (AMC) contains a post-authentication code injection flaw (CWE-94) that, under specific conditions, lets an a…KEVEPSS 12%analysed9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed8.8CVE-2026-34197Apache ActiveMQ Jolokia JMX bridge code injection via broker config URIApache ActiveMQ Classic exposes the Jolokia JMX-HTTP bridge at /api/jolokia/ with a default policy that allows exec operations on all org.apache.acti…KEVEPSS 15%analysed

Source: NIST National Vulnerability Database (record CVE-2013-5036), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.