REDHAT-BUG-2450546: Path Traversal

Published Mar 24, 2026
·
Updated

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, Active Storage's DiskService#pathfor does not validate that the resolved filesystem path remains within the storage root directory. If a blob key containing path traversal sequences (e.g. ../) is used, it could allow reading, writing, or deleting arbitrary files on the server. Blob keys are expected to be trusted strings, but some applications could be passing user input as keys and would be affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

Affected Software

1 affected component
Ruby on Rails Active Storage>7.2.3.1<8.0.4.1, >8.0.4.1<8.1.2.1, <7.2.3.1, <8.0.4.1, <8.1.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Active Storage (Rails) DiskService#path_for to a version that resolves this vulnerability.

    Fixed in 8.1.2.1
  2. Upgrade

    Upgrade Active Storage (Rails) DiskService#path_for to a version that resolves this vulnerability.

    Fixed in 8.0.4.1
  3. Upgrade

    Upgrade Active Storage (Rails) DiskService#path_for to a version that resolves this vulnerability.

    Fixed in 7.2.3.1

Event History

Mar 24, 2026
Data Sourced
via Red Hat·12:02 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2450546?

The severity of REDHAT-BUG-2450546 is high with a rating of 7.

2

What is REDHAT-BUG-2450546 about?

REDHAT-BUG-2450546 pertains to a path traversal vulnerability in Active Storage that allows users to potentially access unauthorized filesystem paths.

3

How do I fix REDHAT-BUG-2450546?

To fix REDHAT-BUG-2450546, upgrade to Ruby on Rails Active Storage versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later.

4

What is the risk level associated with REDHAT-BUG-2450546?

The risk level associated with REDHAT-BUG-2450546 is rated at 33.

5

Which component of Ruby on Rails is affected by REDHAT-BUG-2450546?

The affected component of Ruby on Rails is Active Storage.

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