Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-33202

Опубликовано: 23 мар. 2026
Источник: redhat
CVSS3: 6.5
EPSS Низкий

Описание

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#delete_prefixed passes blob keys directly to Dir.glob without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

A flaw was found in Active Storage, a component of Rails applications. This vulnerability occurs because Active Storage's DiskService#delete_prefixed function does not properly escape glob metacharacters when processing blob keys. A remote attacker could exploit this by providing a specially crafted blob key, potentially leading to the deletion of unintended files from the storage directory. This could result in a data loss.

Отчет

This flaw is rated as Moderate by Red Hat. Successful exploitation of this vulnerability requires an attacker to control or influence blob keys and trigger deletion operations within the Active Storage component. In typical deployments, these capabilities are restricted to authenticated users or internal application logic, making unauthenticated exploitation unlikely. Additionally, while the vulnerability can result in unintended file deletion (integrity impact), it does not inherently lead to service disruption, as affected files are generally confined to the storage directory.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat 3scale API Management Platform 23scale-amp20/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp21/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp21/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp22/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp22/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp24/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp24/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp25/systemWill not fix
Red Hat 3scale API Management Platform 23scale-amp25/zyncWill not fix
Red Hat 3scale API Management Platform 23scale-amp26/systemWill not fix

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2450547rails: Active Storage: Unintended file deletion via crafted blob keys

EPSS

Процентиль: 47%
0.00646
Низкий

6.5 Medium

CVSS3

Связанные уязвимости

CVSS3: 9.1
ubuntu
4 месяца назад

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#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 9.1
nvd
4 месяца назад

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#delete_prefixed` passes blob keys directly to `Dir.glob` without escaping glob metacharacters. If a blob key contains attacker-controlled input or custom-generated keys with glob metacharacters, it may be possible to delete unintended files from the storage directory. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 9.1
debian
4 месяца назад

Active Storage allows users to attach cloud and local files in Rails a ...

github
4 месяца назад

Rails Active Storage has possible glob injection in its DiskService

CVSS3: 7.5
fstec
4 месяца назад

Уязвимость компонента Active Storage программной платформы Ruby on Rails, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 47%
0.00646
Низкий

6.5 Medium

CVSS3