---
id: CVE-2026-119409
title: OPNsense before 26.7.8 Root Command Injection via Firmware Mirror Setting
summary: >-
  OPNsense before 26.7.8 contains a command injection vulnerability that allows
  authenticated users with the System: Firmware privilege to execute commands as
  root by storing a malicious firmware mirror URL. Attackers can submit shell
  meta…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-78
vendor: opnsense
product: core
affected:
  - core < 26.7.8
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-30T15:34:50.876282Z'
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T15:55:57.541Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119409'
references:
  - url: 'https://github.com/opnsense/core/security/advisories/GHSA-p683-f7x2-pm4p'
    label: GitHub Security Advisory (GHSA-p683-f7x2-pm4p)
  - url: >-
      https://github.com/opnsense/core/commit/1cc41fc39da99d59818c789b3b561f1515126f47
  - url: >-
      https://github.com/opnsense/core/commit/8e214533d33c3af7481e86f616ee615adc6a0a73
  - url: >-
      https://github.com/opnsense/update/commit/9bfd3b7020499b6032ee64804193a9f3ce8178fa
  - url: >-
      https://github.com/opnsense/update/blob/a2b8a10ba85f13b2cd002abb4c8692dde99f0261/src/update/opnsense-update.sh.in#L165
  - url: 'https://abraxaslabs.tech/research/opnsense-firmware-mirror-sed'
  - url: 'https://github.com/opnsense/core'
  - url: >-
      https://www.vulncheck.com/advisories/opnsense-before-26.7.8-root-command-injection-via-firmware-mirror-setting
    label: >-
      VulnCheck Advisory: OPNsense before 26.7.8 Root Command Injection via
      Firmware Mirror Setting
tags:
  - cve.org
epss: 0.02477
epssPercentile: 0.84611
ingestedAt: '2026-11-05T16:07:30.526Z'
---

## Overview

OPNsense before 26.7.8 contains a command injection vulnerability that allows authenticated users with the System: Firmware privilege to execute commands as root by storing a malicious firmware mirror URL. Attackers can submit shell metacharacters through POST /api/core/firmware/set that opnsense-update evaluates with eval, and can also disable package signature verification through sed injection.

## Affected

- `core < 26.7.8`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
