CVE-2026-25828 Command injection in n/a

Medium 5.4 Published Updated

An attacker can execute arbitrary commands via unsanitized input in grub-btrfs, potentially compromising the system during initramfs execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-25828?

CVE-2026-25828 is a medium-severity command injection vulnerability in n/a, published on 12 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

grub-btrfs through 2026-01-31 (on Arch Linux and derivative distributions) allows initramfs OS command injection because it does not sanitize the $root parameter to resolve_device(). NOTE: a third party reports "exploitation may not be feasible under normal conditions and may depend on specific implementation details within resolve_device."

Weakness: CWE-78

Which versions are affected by CVE-2026-25828?

How do I fix CVE-2026-25828?

No fix has been published for CVE-2026-25828 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-25828 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-25828 exists.

Sources

Also known as GHSA-2fcc-cgw7-6rrw.

Is CVE-2026-25828 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free