Intel

AIKIDO-2026-390588

geminabox is vulnerable to Path Traversal

GHSA-rxr4-84rf-f47hPublished Oct 5, 2026
October 5, 2026

60

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

geminabox builds the filename on disk for an uploaded gem from the name field inside the gem's own spec, without validating that name. A gem whose spec declares a name containing ../ writes a file outside the gems directory, and the shipped config.ru runs without authentication so both POST /api/v1/gems and POST /upload accept this by default. The fix rejects uploads whose name does not match RubyGems' own VALID_NAME_PATTERN or does not equal its own basename.

How do I fix this?

Upgrade the geminabox library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

0.0.1 - 3.1.0

Fixed in 3.1.1

4.0.0 - 4.0.0

Fixed in 4.0.1

Background info

geminabox is vulnerable to Path Traversal in versions 0.0.1 - 3.1.0 and 4.0.0 - 4.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea