CVE-2026-53510: Savon Remote Code Execution Vulnerability
HIGHCVE-2026-53510 is a HIGH (CVSS 8.1) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Savon libraries in the RubyGems ecosystem. The issue involves :model evaluates wsdl operation names as ruby source. Remediation is available by upgrading affected packages to version 2.17.2.
CVE-2026-53510 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-53510
To remediate this vulnerability, upgrade all affected Savon dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade savon to 2.17.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for savon
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-53510, inspect your project dependencies for Savon:
inspect dependencies for savon
Analyze the terminal output to locate any version of Savon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.17.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Savon, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53510 Affected Savon Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
savon
|
RubyGems |
≥ 0.9.8
< 2.17.2
|
2.17.2
|
References
Frequently Asked Questions
What is CVE-2026-53510?
Which Savon versions are affected?
What version fixes CVE-2026-53510?
Is savon affected?
What is the CVSS score of CVE-2026-53510?
What CWE is associated with CVE-2026-53510?
How can I check RubyGems dependencies for CVE-2026-53510?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mx5j-mp4f-g8jg",
"modified" : "2026-07-31T19:38:25Z",
"published" : "2026-07-31T19:38:25Z",
"aliases" : [ "CVE-2026-53510" ],
"summary" : "Savon::Model evaluates WSDL operation names as Ruby source",
"details" : "### Impact\n\n`Savon::Model` generated SOAP operation methods by interpolating operation names into Ruby source passed to `module_eval`. An attacker who can control the operation names of a WSDL, can inject Ruby code that executes in the application process. This affects only the `.all_operations` class method provided by `Savon::Model` to automatically register all operations provided by the WSDL. Configuring `Savon::Model` with trusted operation names via `.operations` is safe.\n\n### Patches\n\nPatched in Savon 2.17.2.\n\nUsers should upgrade to 2.17.2 or later.\n\n### Workarounds\n\nAvoid `.all_operations` for untrusted WSDL documents. Use `.operations` with trusted operation names instead.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "savon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.8"
}, {
"fixed" : "2.17.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/savonrb/savon/security/advisories/GHSA-mx5j-mp4f-g8jg"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/savon/commit/8f22eb543e7436f6247172c9be47e22792d375e9"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/savon/CVE-2026-53510.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/savonrb/savon"
}, {
"type" : "WEB",
"url" : "https://github.com/savonrb/savon/releases/tag/v2.17.2"
}, {
"type" : "WEB",
"url" : "https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-53510"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-31T19:38:25Z",
"nvd_published_at" : null
}
}