Intel

AIKIDO-2026-749901

rails_admin is vulnerable to Unsafe Reflection

Unsafe ReflectionGHSA-22g3-g835-fqqw Published 6 days ago

88

High Risk

This Affects:

RUBYrails_admin
0.0.1 - 3.3.0
Fixed in 3.3.1
Are you affected? Scan for Free

TL;DR

RailsAdmin's JSON and XML output is not limited to fields configured for the model. The request's schema parameter is passed directly into to_json or to_xml, so names in schema[methods] or schema[include] run on every exported record, including state changing methods such as destroy, while schema[only] exposes fields excluded from the export configuration. JSON and XML responses from the index and show actions contain every record attribute regardless of the configured fields. The fix builds the JSON and XML schema from the relevant section's configured fields and rejects schema keys outside that allowlist.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

rails_admin is vulnerable to Unsafe Reflection in versions 0.0.1 - 3.3.0.

How to fix this

Upgrade the rails_admin library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform