Intel

AIKIDO-2026-774223

grover is vulnerable to Remote Code Execution

GHSA-q887-vm59-mm98Published 5 days ago
November 5, 2026

95

CVE Score

Critical

Remote Code Execution

Are you affected? Scan for Free

TL;DR

grover merges HTML <meta name="grover-*"> options last and without an allowlist, so they override options set in code, including executable_path, launch_args, and cookies. Untrusted HTML passed to Grover can therefore run commands, write files, steal cookies and secrets, or perform SSRF. Names like x-grover- match too, and <meta> tags in <body> are picked up. Version 2.0.0 limits these tags to presentation options.

How do I fix this?

Upgrade grover to 2.0.0 or later. Options outside the presentation allowlist, such as launch_args and cover paths, must now be set in Ruby unless you opt in with allow_restricted_meta_option. If you cannot upgrade yet, strip <meta> tags from untrusted HTML before rendering.

Who does this affect?

You are affected if you use a vulnerable version and render HTML that may contain attacker-controlled content via Grover.new(html) or the Rack middleware without stripping <meta> tags. Rails sanitize removes them, but raw, html_safe, Markdown, and rich-text fields often do not.

Package

Versions

0.0.1 - 1.2.10

Fixed in 2.0.0

Background info

grover is vulnerable to Remote Code Execution in versions 0.0.1 - 1.2.10.

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