activestorage vulnerabilities

Attach cloud and local files in Rails applications.

Registry
RubyGems
Latest
8.1.4.1
License
MIT

18 known advisories

The latest version, 8.1.4.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative activestorage # Gemfile: '>= 8.1.4.1'

Is your project on an affected activestorage?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for activestorage

  • CriticalCVE-2026-122006GHSA-f3w6-w445-fwh912 Nov 2026

    Active Storage: Possible arbitrary file write and read in image analysis

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • MediumCVE-2026-126084GHSA-3w93-6hmw-whh412 Nov 2026

    Active Storage: Unsigned Content-Type in GCS direct uploads with cache_control

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • LowCVE-2026-126188GHSA-3f4q-8x5m-76v812 Nov 2026

    Active Storage: Possible local file disclosure in video previews and analysis

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • HighCVE-2026-126186GHSA-v924-7rp8-4mxh10 Nov 2026

    Active Storage: Possible arbitrary file read and remote code execution in video previews, analysis and image processing

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • MediumCVE-2026-126085GHSA-hfr4-8rjc-97m210 Nov 2026

    Active Storage: Possible circumvention of file size limits in Active Storage direct uploads to Google Cloud Storage

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • MediumCVE-2026-126074GHSA-p2pm-g2h6-7j5j10 Nov 2026

    Active Storage: Possible DoS vulnerability in Active Storage filename handling

    Affected
    >=8.1.0.beta1 <8.1.4.1 · <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • MediumCVE-2026-126071GHSA-4v2w-w6g6-f8f810 Nov 2026

    Active Storage: Possible DoS vulnerability in Active Storage proxy mode via storage errors during streaming

    Affected
    >=8.1.0.beta1 <8.1.4.1 · >=8.0.0.beta1 <8.0.5.2
    Fixed in
    8.0.5.2, 8.1.4.1
  • CriticalCVE-2026-66066GHSA-xr9x-r78c-5hrm30 Jul 2026

    Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing

    Affected
    <7.2.3.2 · >=8.0.0.beta1 <8.0.5.1 · >=8.1.0.beta1 <8.1.3.1
    Fixed in
    7.2.3.2, 8.0.5.1, 8.1.3.1
  • LowCVE-2026-33658GHSA-p9fm-f462-ggrg25 Mar 2026

    Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests

    Affected
    >=8.1.0 <8.1.2.1 · >=8.0.0 <8.0.4.1 · <7.2.3.1
    Fixed in
    7.2.3.1, 8.0.4.1, 8.1.2.1
  • MediumCVE-2026-33202GHSA-73f9-jhhh-hr5m23 Mar 2026

    Rails Active Storage has possible glob injection in its DiskService

    Affected
    >=8.1.0.beta1 <8.1.2.1 · >=8.0.0.beta1 <8.0.4.1 · <7.2.3.1
    Fixed in
    7.2.3.1, 8.0.4.1, 8.1.2.1
  • HighCVE-2026-33195GHSA-9xrj-h377-fr8723 Mar 2026

    Rails Active Storage has possible Path Traversal in DiskService

    Affected
    >=8.1.0.beta1 <8.1.2.1 · >=8.0.0.beta1 <8.0.4.1 · <7.2.3.1
    Fixed in
    7.2.3.1, 8.0.4.1, 8.1.2.1
  • MediumCVE-2026-33174GHSA-r46p-8f7g-vvvg23 Mar 2026

    Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests

    Affected
    >=8.1.0.beta1 <8.1.2.1 · >=8.0.0.beta1 <8.0.4.1 · <7.2.3.1
    Fixed in
    7.2.3.1, 8.0.4.1, 8.1.2.1
  • MediumCVE-2026-33173GHSA-qcfx-2mfw-w4cg23 Mar 2026

    Rails Active Storage has possible content type bypass via metadata in direct uploads

    Affected
    >=8.1.0.beta1 <8.1.2.1 · >=8.0.0.beta1 <8.0.4.1 · <7.2.3.1
    Fixed in
    7.2.3.1, 8.0.4.1, 8.1.2.1
  • CriticalCVE-2025-24293GHSA-r4mg-4433-c7g314 Aug 2025

    Active Storage allowed transformation methods that were potentially unsafe

    Affected
    >=8.0 <8.0.2.1 · >=7.2 <7.2.2.2 · >=5.2.0 <7.1.5.2
    Fixed in
    7.1.5.2, 7.2.2.2, 8.0.2.1
  • MediumCVE-2024-26144GHSA-8h22-8cf7-hq6g27 Feb 2024

    Rails has possible Sensitive Session Information Leak in Active Storage

    Affected
    >=5.2.0 <6.1.7.7 · >=7.0.0 <7.0.8.1
    Fixed in
    6.1.7.7, 7.0.8.1
  • CriticalCVE-2022-21831GHSA-w749-p3v6-hccq8 Mar 2022

    Possible code injection vulnerability in Rails / Active Storage

    Affected
    >=5.2.0 <5.2.6.3 · >=6.0.0 <6.0.4.7 · >=6.1.0 <6.1.4.7 · >=7.0.0 <7.0.2.3
    Fixed in
    5.2.6.3, 6.0.4.7, 6.1.4.7, 7.0.2.3
  • HighCVE-2020-8162GHSA-m42x-37p3-fv5w26 May 2020

    Circumvention of file size limits in ActiveStorage

    Affected
    >=5.0.0 <5.2.4.3 · >=6.0.0 <6.0.3.1
    Fixed in
    5.2.4.3, 6.0.3.1
  • MediumCVE-2018-16477GHSA-7rr7-rcjw-56vj5 Dec 2018

    Exposure of Sensitive Information to an Unauthorized Actor in activestorage

    Affected
    >=5.2.0 <5.2.1.1
    Fixed in
    5.2.1.1

Is your activestorage version vulnerable?

Which of your client projects still run an old activestorage?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.