All vulnerabilities

Servers and applications

CVE-2026-30868

Cross-Site Request Forgery (CSRF) in opnsense/core

Severity
High 8.1
Published
11 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
26.1.4
Exploit chance
0.2% in the next 30 daysHigher than 6% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site request forgery (CWE-352)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Also known as
GHSA-pp58-2qpc-3j3f
Sources
NVD, Project advisories (GitHub)

Description

Multiple OPNsense MVC API endpoints perform state‑changing operations but are accessible via HTTP GET requests without CSRF protection.

The framework CSRF validation in ApiControllerBase only applies to POST/PUT/DELETE methods, allowing authenticated GET requests to bypass CSRF verification.

As a result, a malicious website can trigger privileged backend actions when visited by an authenticated user, causing unintended service reloads and configuration changes through configd.

This results in an authenticated Cross‑Site Request Forgery (CWE‑352) vulnerability allowing unauthorized system state changes.

Several API controller actions invoke backend commands using Backend->configdRun() or configdpRun() but do not enforce HTTP method restrictions.

Because the OPNsense MVC router maps /api/... paths directly to controller *Action() methods regardless of HTTP method, these endpoints can be reached via GET requests.

CSRF validation occurs in:

Relevant logic:

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

Affected software

SoftwareAffected versions
OPNsenseServers and applications · cpe:a:opnsense:opnsense
  • Every version before 26.1.4
OPNsenseServers and applications · github:opnsense/core
  • Every version before 26.1.4

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

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-30868
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-30868
  • GitHub Advisory Database https://github.com/advisories/GHSA-pp58-2qpc-3j3f
  • github.com https://github.com/opnsense/core/security/advisories/GHSA-pp58-2qpc-3j3f