CVE-2026-30868 Cross-Site Request Forgery (CSRF) in opnsense/core
Authenticated attackers can trigger unauthorized system state changes via CSRF in OPNsense API endpoints accessible through GET requests.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-30868?
CVE-2026-30868 is a medium-severity vulnerability in opnsense core, published on 11 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.4, 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 vulnerability allowing unauthorized system state changes. This vulnerability is fixed in 26.1.4.
Weakness: CWE-352
Which versions are affected by CVE-2026-30868?
It affects 1 product.
Products include Opnsense Opnsense.
How do I fix CVE-2026-30868?
No fix has been published for CVE-2026-30868 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-30868 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-30868 exists.
Other vulnerabilities in opnsense core
Sources
Also known as GHSA-pp58-2qpc-3j3f.