Intel

AIKIDO-2026-749901

rails_admin is vulnerable to Unsafe Reflection

GHSA-22g3-g835-fqqwPublished Oct 8, 2026
October 8, 2026

88

CVE Score

High

Unsafe Reflection

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.

How do I fix this?

Upgrade the rails_admin library to the patch version.

Who does this affect?

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

Versions

0.0.1 - 3.3.0

Fixed in 3.3.1

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea