All vulnerabilities

Servers and applications

GHSA-89wp-xvvm-9pp4

Authenticated Root Command Injection via Firmware `flavour`/`subscription` Settings (incomplete fix of CVE‑2026‑119409)

Severity
High 7.2
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Weakness
Improper input validation (CWE-20)OS command injection (CWE-78)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The fix for CVE‑2026‑119409 (“Authenticated Root Command Injection via Firmware Mirror Configuration”, fixed in 26.7.8) is incomplete.

The patch added an input mask to the system/firmware/mirror setting (/[^|"']+/, which blocks |), and removed the eval from opnsense-update. However, the three sibling firmware settings — flavour, type, subscription — were left as StrictTextField with no at all, so they still accept the shell/sed metacharacter |`.

These unmasked fields are passed by the repository generator to opnsense-update, which substitutes them unescaped into sed -i script strings that use | as the s/// delimiter. A | in flavour (or in subscription, which is appended to the mirror) terminates the intended sed command and lets the attacker inject arbitrary sed commands that run as root against the pkg repository configuration files.

An attacker who only holds the delegated “System: Firmware” privilege (page-system-firmware-manualupdate, not a full administrator) can therefore:

From opnsense/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OPNsenseServers and applications · github:opnsense/core
  • Version 26.10.0p1

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,815GitHub, 22 Nov 2026
Forks
1,034GitHub, 22 Nov 2026
License
2-clause BSD LicenseWikidata
Written in
PHP, CWikidata
First released
2 Jan 2015Wikidata
First published on GitHub
13 Dec 2014GitHub

Release lines

ReleaseLatestSecurity fixes
26.7 'Xenial Xenops'26.7.9Yes
26.1 'Witty Woodpecker'26.1.11Ended 15 Jul 2026
25.7 'Visionary Viper'25.7.11Ended 28 Jan 2026
25.1 'Ultimate Unicorn'25.1.12Ended 23 Jul 2025
24.7 'Thriving Tiger'24.7.12Ended 28 Jan 2025
24.1 'Savvy Shark'24.1.10Ended 25 Jul 2024

From endoflife.date.

References