All vulnerabilities

Servers and applications

CVE-2026-71490

Direct comma-separated user privileges bypass OPNsense MVC read-only write protection

Severity
High 7.1
Published
2 Jul 2026
Last changed
15 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
1, 26.1.11
Exploit chance
0.4% in the next 30 daysHigher than 32% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Also known as
GHSA-p9pr-782r-w2xw
Sources
CVE Program, Project advisories (GitHub)

Description

OPNsense Core ACL::hasPrivilege() does not split comma-separated values when checking privileges assigned directly to a user. For a user that directly has both a component write privilege and user-config-readonly`, the MVC write guard may fail to recognize the read-only privilege and allow configuration writes that should be denied.

The affected logic is the interaction between OPNsense\Core\ACL::hasPrivilege() and MVC API throwReadOnly() checks. When privileges assigned directly to a user are stored as one comma-separated value, hasPrivilege() appends the entire string to $privs and later performs an exact in_array($reqpriv, $privs) comparison. Group privileges are split on commas, but the direct-user path is not normalized in the same way. Write paths such as ApiMutableModelControllerBase::save() rely on throwReadOnly() to check user-config-readonly; therefore this direct-privilege storage shape bypasses the read-only guard.

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

Affected software

SoftwareAffected versions
OPNsenseServers and applications · cna:opnsense|core
  • Every version before 26.1.11
OPNsenseServers and applications · github:opnsense/core
  • Every version before 1

About OPNsense

open-source firewall

From Wikidata, CC0 1.0.
GitHub stars
4,802GitHub, 15 Nov 2026
Forks
1,029GitHub, 15 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