Glob Injection Affecting activestorage package, versions <7.2.3.1>=8.0.0.beta1, <8.0.4.1>=8.1.0.beta1, <8.1.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Glob Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-ACTIVESTORAGE-15762282
  • published24 Mar 2026
  • disclosed24 Mar 2026
  • creditUnknown

Introduced: 24 Mar 2026

NewCVE-2026-33202  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade activestorage to version 7.2.3.1, 8.0.4.1, 8.1.2.1 or higher.

Overview

Affected versions of this package are vulnerable to Glob Injection via the DiskService#delete_prefixed function. An attacker can delete unintended files from the storage directory by supplying blob keys containing glob metacharacters that are passed unescaped to Dir.glob.

CVSS Base Scores

version 4.0
version 3.1