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."
Published: 2026-02-12
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: OS command injection in initramfs via unsanitized $root parameter
Action: Assess Impact
AI Analysis

Impact

grub-btrfs, used by Arch Linux and derivatives, contains a flaw that allows command injection during the initramfs stage because the $root parameter is passed to resolve_device() without sanitization. This weakness (CWE-78) permits an attacker to inject arbitrary shell commands while the system is booting, potentially allowing privilege escalation or full system compromise if they can influence the $root value. The description notes that exploitation may not be feasible under normal conditions and could depend on specific implementation details within resolve_device().

Affected Systems

Packages of the grub-btrfs utility on Arch Linux and derivative distributions up through the release dated 2026‑01‑31 are affected. The issue originates from the grub‑btrfs binary before this date, so any systems running that version or earlier on these distributions are at risk.

Risk and Exploitability

With a CVSS score of 5.4, the vulnerability is rated moderate but not critical. The EPSS rating is below 1 %, indicating that the likelihood of exploitation is low in the general population. Because the vulnerability is not listed in the CISA KEV catalog, no widespread exploitation has been documented. However, if an attacker can influence the $root parameter – for example, by modifying boot loader configuration or deceiving a user into booting from a malicious source – they could execute commands during boot. The risk is therefore contingent upon environmental factors and local access.

Generated by OpenCVE AI on April 16, 2026 at 17:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade grub-btrfs to the latest version available from the Arch Linux repository, which includes a fix that sanitizes the $root parameter before calling resolve_device().
  • If an immediate upgrade is not possible, consider disabling the grub-btrfs module or switching to the standard grub initramfs loader to eliminate the injection vector until the patch is applied.
  • Implement monitoring of boot-time logs and root filesystem integrity checks to detect any unauthorized modifications that might indicate an attempted injection.

Generated by OpenCVE AI on April 16, 2026 at 17:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Apr 2026 17:30:00 +0000

Type Values Removed Values Added
Title Unsanitized $root Parameter in grub-btrfs Enables Initramfs Command Injection

Wed, 04 Mar 2026 08:00:00 +0000

Type Values Removed Values Added
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(). 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."

Fri, 13 Feb 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Antynea
Antynea grub-btrfs
Vendors & Products Antynea
Antynea grub-btrfs

Fri, 13 Feb 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 12 Feb 2026 21:45:00 +0000

Type Values Removed Values Added
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().
References

Subscriptions

Antynea Grub-btrfs
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-03-04T07:56:41.457Z

Reserved: 2026-02-06T00:00:00.000Z

Link: CVE-2026-25828

cve-icon Vulnrichment

Updated: 2026-02-13T20:54:03.096Z

cve-icon NVD

Status : Deferred

Published: 2026-02-12T22:16:05.493

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-25828

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T17:15:17Z

Weaknesses