Vulnérabilités / CVE-2026-33195

critique

CVE-2026-33195

Rails: Active Storage: Active Storage (Rails): Arbitrary file access via path traversal in blob keys

Publiée Modifiée CWE 22
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA8.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
Red Hat8.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (élevée), Red Hat (élevée).

Description

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#path_for` 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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
chainguardgitlab-rails-ce-18.10, gitlab-rails-ce-18.8, gitlab-rails-ce-18.9 et 4 autres18.10.3-r1 et 5 autres
debian 11railspas de correctif indiqué
debian 12rails2:6.1.7.10+dfsg-1~deb12u3
debian 13rails2:7.2.2.2+dfsg-2~deb13u2
debian 14rails2:7.2.3.1+dfsg-1
echorails2:6.1.7.10+dfsg-1~deb12u3
rapidfort debian 12rails2:6.1.7.10+dfsg-1~deb12u3, 2:7.2.2.2+dfsg-2~deb13u2, 2:7.2.3.1+dfsg-1
rapidfort debian 13rails2:6.1.7.10+dfsg-1~deb12u3, 2:7.2.2.2+dfsg-2~deb13u2, 2:7.2.3.1+dfsg-1
rubygems::GitHub Security Advisory RubyGemsactivestorage8.1.2.1, 8.0.4.1, 7.2.3.1
rubygems::Ruby Advisory Databaseactivestorage~> 7.2.3, >= 7.2.3.1, ~> 8.0.4, >= 8.0.4.1, >= 8.1.2.1
wolfiruby3.2-rails-8.18.1.3-r0
Afficher les 17 entrées de 11 sources
SourcePaquetCorrigé en
chainguardgitlab-rails-ce-18.1018.10.3-r1
chainguardgitlab-rails-ce-18.818.8.11-r4
chainguardgitlab-rails-ce-18.918.9.5-r0
chainguardgitlab-rails-ce-fips-18.1018.10.3-r0
chainguardgitlab-rails-ce-fips-18.918.9.5-r0
chainguardruby3.2-rails-8.18.1.3-r0
chainguardruby3.4-rails-8.08.0.5-r0
debian 11railspas de correctif indiqué
debian 12rails2:6.1.7.10+dfsg-1~deb12u3
debian 13rails2:7.2.2.2+dfsg-2~deb13u2
debian 14rails2:7.2.3.1+dfsg-1
echorails2:6.1.7.10+dfsg-1~deb12u3
rapidfort debian 12rails2:6.1.7.10+dfsg-1~deb12u3, 2:7.2.2.2+dfsg-2~deb13u2, 2:7.2.3.1+dfsg-1
rapidfort debian 13rails2:6.1.7.10+dfsg-1~deb12u3, 2:7.2.2.2+dfsg-2~deb13u2, 2:7.2.3.1+dfsg-1
rubygems::GitHub Security Advisory RubyGemsactivestorage8.1.2.1, 8.0.4.1, 7.2.3.1
rubygems::Ruby Advisory Databaseactivestorage~> 7.2.3, >= 7.2.3.1, ~> 8.0.4, >= 8.0.4.1, >= 8.1.2.1
wolfiruby3.2-rails-8.18.1.3-r0

Références

Les 15 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.