Skip to content

CVE-2025-46298 — Ruby on Rails RCE

Key facts

CVE-2025-46298 is a Critical vulnerability: Ruby on Rails RCE. This entry ships a detection-only PoC.

CVE CVE-2025-46298
Severity Critical
Detection / prevention —
PoC poc.py
Source 2025/CVE-2025-46298/

Details

Overview

Rails active storage RCE

Details

  • CVE ID: CVE-2025-46298
  • CVSS Score: 9.8 (Critical)
  • Type: RCE
  • Product: Ruby on Rails

Usage

python3 poc.py -t https://target -c

References

Frequently asked questions

What is CVE-2025-46298?

CVE-2025-46298 is a Critical vulnerability: Ruby on Rails RCE. This entry ships a detection-only PoC.

How do I detect CVE-2025-46298?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2025-46298?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.


For authorized security testing and research only. See the full source and NVD record.