OPNsense CVE-2026-53581
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin access to OPNsense config GUI
-
DeliveryOpen NTP GPS/PPS serial-port setting
-
ExploitInject path-traversal value
-
ExecutionApply config triggers root-owned write
-
PersistOverwrite arbitrary file as root
-
ImpactAchieve code execution or system disruption
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated session with access to the OPNsense NTP configuration module (administrative/operator-level GUI access - consistent with CVSS PR:H), and the specific input is the GPS or PPS serial-port parameter, which the attacker sets to a directory-traversal value. Limiting factors: it is not exploitable pre-authentication; the attacker must reach the web configuration interface, which is normally restricted to management networks; only affects opnsense/core before 26.1.9 and BE/opnsense/core before 26.4_20. No user interaction by a victim is required. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H, 9.0) is internally consistent with the description: network-reachable web UI, low complexity, but PR:H because the attacker must already hold access to the NTP configuration - i.e. an authenticated administrative/operator session, not an anonymous remote attacker. This is the key limiter: it is not a pre-auth internet-facing RCE but a privilege-to-root escalation and integrity/availability compromise for someone who already has config access. Scope is Changed (S:C) because a root-level arbitrary write escapes the web-app's authorization context to affect the whole OS. No EPSS, KEV, or POC signals were provided, so real-world exploitation pressure appears low/targeted rather than mass-scanned; the primary risk is a malicious or compromised admin account, or chaining from another auth bypass. The provided I:L arguably understates impact - root arbitrary file overwrite typically enables full integrity compromise and code execution. |
| Exploit ScenarioDerived | An attacker who has obtained OPNsense administrative/config access (e.g. via phished credentials, a shared operator account, or a chained auth flaw) opens the NTP configuration and sets the GPS or PPS serial-port parameter to a traversal payload. When the configuration is applied, the system writes attacker-controlled content as root to a sensitive file (e.g. a cron job, rc script, or shell profile), yielding root-level code execution or device disruption. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Arbitrary file write as root in OPNsense's NTP configuration module (opnsense/core before 26.1.9 and BE/opnsense/core before 26.4_20) lets an administrator-level attacker escape the intended directory via a crafted GPS or PPS serial-port parameter and overwrite any file on the FreeBSD-based firewall. Because writes occur as root, this path traversal is a strong primitive for full device compromise. Fixes are released; there is no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade opnsense/core to 26.1.9 or later, and BE/opnsense/core to 26.4_20 or later, per GHSA-872g-g543-j37m (https://github.com/opnsense/core/security/advisories/GHSA-872g-g543-j37m). Until patched, restrict access to the web configuration/GUI to trusted management networks only and enforce least privilege so that non-trusted operators cannot reach the NTP/GPS/PPS configuration; audit accounts with configuration privileges. Where GPS/PPS time sources are not used, avoid configuring those serial-port parameters, which removes the attacker-reachable input path at the cost of losing GPS/PPS time discipline. These controls reduce exposure but do not eliminate the flaw, so patching remains the primary fix.
Affected ProductsAI
OPNsense (opnsense/core) prior to version 26.1.9, and the business edition BE/opnsense/core prior to version 26.4_20, on the FreeBSD-based firewall platform. No CPE was supplied in the input. The vendor advisory is GitHub Security Advisory GHSA-872g-g543-j37m (https://github.com/opnsense/core/security/advisories/GHSA-872g-g543-j37m).
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OPNsense is a FreeBSD-based open-source firewall/router platform whose configuration backend runs privileged PHP/shell logic. The flaw is a classic CWE-22 path traversal: the NTP module takes the GPS or PPS serial-port device parameter from the web configuration and uses it to construct a filesystem write path without sanitizing directory-traversal sequences. Since the NTP daemon configuration is applied by root, the attacker-controlled traversal payload causes root-owned writes anywhere on the filesystem, converting a bounded configuration write into an arbitrary-file overwrite primitive.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H
Network-reachable web UI with low complexity but requires admin config access (PR:H); root arbitrary file write escapes app scope (S:C) and enables full integrity/availability and code-exec-driven confidentiality impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.9 of opnsense/core and version 26.4_20 of BE/opnsense/core, a path traversal vulnerability in the NTP configuration module allows an attacker to overwrite arbitrary files on the system as the root user. By manipulating the GPS or PPS serial port parameter, an attacker with access to the NTP configuration can escape the intended directory and force the system to write user-controlled data to any file on the filesystem. Version 26.1.9 of opnsense/core and version 26.4_20 of BE/opnsense/core patch the issue.
Technical POC Analysis
CWE-22: Improper Limitation of a Pathname to a Restricted Directory, with CWE-73 also cited.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
OPNsense firewall administrators can exploit a path traversal flaw in the NTP configuration module to write arbitrary files as root, enabling complete device takeover. This critical vulnerability threatens organizations running versions before 26.1.9 and 26.4_20, as administrator-level attackers can bypass filesystem protections to compromise core firewall infrastructure. Immediate patching is essential to prevent insider threats and configuration tampering at the firewall perimeter.
Vendor-released patch: opnsense/core 26.1.9 and BE/opnsense/core 26.4_20. Until patching is possible, disable or restrict access to the NTP configuration module; audit administrative credentials and enforce principle of least privilege for firewall administration.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB