GitHub Advisoryadvisory · RubyGems
GHSA-mx5j-mp4f-g8jg Savon::Model evaluates WSDL operation names as Ruby source
HIGH
Official page ↗
- Aliases
- CVE-2026-53510
- Ecosystem
- RubyGems
- Packages
- savon
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2026-07-31
Affected packages
• RubyGems savon: >= 0.9.8, < 2.17.2 → fixed in 2.17.2
Description
Impact
`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.
Patches
Patched in Savon 2.17.2.
Users should upgrade to 2.17.2 or later.
Workarounds
Avoid `.all_operations` for untrusted WSDL documents. Use `.operations` with trusted operation names instead.
Related
Alias · CVE (1)
- CVE-2026-53510 Savon is a Ruby SOAP client. vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/savonrb/savon/security/advisories/GHSA-mx5j-mp4f-g8jg web
- https://github.com/savonrb/savon/commit/8f22eb543e7436f6247172c9be47e22792d375e9 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/savon/CVE-2026-53510.yml web
- https://github.com/savonrb/savon package
- https://github.com/savonrb/savon/releases/tag/v2.17.2 web
- https://www.cve.org/CVERecord/SearchResults?query=CVE-2026-53510 web