CVE-2026-52903: YAML safe_load production fallback to unsafe_load enables RCE via deserialization

Published Jun 9, 2026
·
Updated

A deserialization of untrusted data vulnerability was found in ManageIQ. The YamlLoadAliases module overrides YAML.safeload to silently fall back to YAML.unsafeload in production when a Psych::DisallowedClass error occurs. An authenticated attacker with dialog import access can exploit this to achieve remote code execution by uploading a crafted YAML payload that triggers the fallback and deserializes arbitrary Ruby objects.

Red Hat CloudForms, which was based on ManageIQ, has reached End of Life and is no longer supported. No errata or patches will be issued. This CVE is being assigned for the benefit of the ManageIQ community and downstream consumers.

Other sources

A deserialization vulnerability was found in ManageIQ. The YamlLoadAliases module in lib/extensions/yamlloadaliases.rb overrides YAML.safeload globally. When a Psych::DisallowedClass error is raised in production, instead of raising the error, it silently falls back to YAML.unsafeload, which deserializes arbitrary Ruby objects. An authenticated user with dialog import access can upload a crafted YAML payload containing classes outside the permitted list to trigger the fallback and achieve Remote Code Execution via standard Ruby gadget chains.

The code comment explicitly labels this a "Temporary hack to fallback to psych 3 behavior" but it was never removed.

— Red Hat

Affected Software

2 affected components
ManageIQ ManageIQ
Red Hat CloudForms

Event History

Jun 9, 2026
Data Sourced
via Red Hat·07:26 AM
DescriptionSeverityAffected Software
Oct 12, 2026
CVE Published
via MITRE·12:16 PM
Data Sourced
via MITRE·12:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who has permission to import dialogs can exploit it. The attack is network-reachable and does not require user interaction.

2

Is the vulnerable behavior limited to a particular environment?

Yes. The unsafe fallback occurs in production when YAML.safe_load raises a Psych::DisallowedClass error. The module overrides YAML.safe_load globally, so YAML processing that reaches this fallback can deserialize arbitrary Ruby objects.

3

What remediation is available for Red Hat CloudForms?

Red Hat CloudForms is end of life and unsupported. No errata or patches will be issued for it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203