Skip to main content

OPNsense CVE-2026-63442

| EUVDEUVD-2026-102138 HIGH
Improper Output Neutralization for Logs (CWE-117)
2026-10-15 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach WebGUI login page on firewall
  2. Delivery
    Inject CRLF + forged fragment in usernamefld
  3. Exploit
    Fragment parsed as separate auth event
  4. Execution
    lockout_handler selects attacker-chosen IP
  5. Impact
    Victim IP added to sshlockout PF table and states killed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log output neutralization
Exploitation Conditions

Requires unauthenticated network reachability to the OPNsense WebGUI login page (the usernamefld parameter) on a version prior to 26.1.11, with the syslog-ng lockout pipeline (syslog-ng-lockout.conf feeding lockout_handler) active - this is the default login-protection path on OPNsense core, so no non-default feature toggle is needed. Limiting factors: the CVSS AV:A rating indicates exploitation presumes adjacent/management-network access to the GUI, so deployments that properly restrict the WebGUI to a trusted management segment sharply reduce exposure; no authentication (PR:N) and no user interaction (UI:N) are required once the login page is reachable. Impact is bounded to integrity of the lockout state and availability (blocking admin/DNS/gateway/monitoring IPs and killing their PF states, or resetting brute-force counters); there is no confidentiality impact (C:N).

Impact

This is a genuine, well-substantiated integrity/availability flaw rather than a CVSS-inflated issue, though it is not an emergency. The CVSS 8.1 (AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H) reflects an unauthenticated, low-complexity attack with high integrity and availability impact and no confidentiality exposure - consistent with a log-injection (CWE-117) bug that manipulates the sshlockout decision pipeline rather than leaking data. The vendor rates attack vector as Adjacent (AV:A), which is meaningful: it implies exploitation presumes reachability of the OPNsense WebGUI login page, which in sane deployments is restricted to a management/LAN segment, not the internet. Note a tension worth verifying: the description says 'An attacker with network access to the login page,' which reads broader than 'adjacent' - if the WebGUI is exposed to a wider network, real-world reach is larger than AV:A suggests; verify management-interface exposure per deployment. No EPSS score, no CISA KEV listing, and no public POC were provided in the intelligence set, so there is no evidence of active exploitation or mass-scanning pressure; this suggests prioritizing it as a high-value patch for internet- or multi-tenant-exposed firewalls but not a drop-everything KEV-tier event. The absence of EPSS/KEV/POC is a data gap (not a safety signal) and should not be read as 'low exploitation likelihood' with confidence.

Exploit ScenarioDerived

An attacker able to reach the OPNsense WebGUI login page submits a login attempt whose username field contains carriage-return/line-feed characters plus a forged log fragment naming a chosen IP. The injected fragment survives LOG_AUTH/syslog-ng processing and is parsed by lockout_handler as a separate authentication event, letting the attacker either force a victim IP (admin, DNS, gateway, or monitoring host) into the sshlockout PF table and drop its active states, or forge an 'accepted' event to reset their own brute-force lockout counter. No public exploit code was identified at time of analysis, but the mechanism is fully disclosed in the vendor advisory and fix commits.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

Unauthenticated log injection in the OPNsense WebGUI login handler lets a network-adjacent attacker forge authentication events that manipulate the firewall's sshlockout protection state. Because the usernamefld parameter prior to version 26.1.11 passes carriage-return and line-feed characters through LOG_AUTH into the syslog-ng lockout pipeline, an attacker who can reach the login page can plant a fabricated failure event naming a victim IP, causing that address to be added to the sshlockout PF table and its active states killed, or plant a forged accepted event to reset their own brute-force counter and defeat password-guessing lockout. The flaw requires no authentication and no user interaction, but the assessed AV:A vector means exploitation presumes adjacency or management-network reachability to the GUI; impact is integrity of lockout state and availability of blocked systems (administrative, DNS, gateway, or monitoring addresses), with no confidentiality impact, and no public exploit or confirmed in-the-wild activity was identified at time of analysis.

RemediationAI

Upgrade to OPNsense 26.1.11 or later, which is the vendor-released patch and contains both the syslog-ng rewrite rule that strips CR/LF from MESSAGE and the corrected IP-extraction logic in lockout_handler; the vendor advisory is at https://github.com/opnsense/core/security/advisories/GHSA-2v2x-m4j7-76pv and the underlying fixes are visible in commits 8bdaad95f405f4587bb83bf35aa652ca493cc2a4 and c930ab586ffe2d2e010e5135657e5e054316ff58. If immediate upgrade is not possible, the most effective compensating control is to enforce management-network restriction of the WebGUI (firewall rule limiting HTTPS access to the GUI to trusted admin subnets, or binding the GUI listener accordingly) - this removes the AV:A network reachability the attack depends on, at the cost of administrative convenience for remote admins who must then use VPN or a jump host. A secondary workaround mirroring the patch is to add a rewrite/subst rule in syslog-ng-lockout.conf that replaces \r?\n with a space in MESSAGE before it reaches the lockout program destination, or to temporarily stop feeding username-based auth messages into lockout_handler; both degrade or disable the brute-force lockout defense itself, so they should be treated as short-term only. Note that account lockout or MFA changes do not mitigate this issue, since the flaw is in log handling rather than credential validation, and no vendor-released patch substitutes exist beyond 26.1.11.

Affected VersionsENISA

core < 26.1.11

Affected Packages

euvd core fix: 26.1.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is a classic CWE-117 improper output neutralization for logs, realized in OPNsense's authentication logging chain. The FreeBSD-based WebGUI passes the unauthenticated login username (usernamefld) into syslog via LOG_AUTH; syslog-ng-lockout.conf then routes those messages to a program destination that feeds the lockout_handler script. Because the CR/LF characters in the crafted username were not stripped, the handler's readline()-based consumer parsed the injected fragment as a distinct authentication event and extracted the first syntactically valid IP address found in the forged line - meaning attacker-controlled line content effectively becomes a trusted record in the lockout decision pipeline. The upstream fix addresses both ends of the chain: the syslog-ng template gains a rewrite rule (r_lo_strip_newlines) that substitutes \r?\n with a space in MESSAGE using PCRE with global flags, and lockout_handler changes how it collects the IP from the line so a single readline() no longer yields a spoofable address. The affected CPE cpe:2.3:a:opnsense:core:*:*:*:*:*:*:*:* denotes all OPNsense core releases before 26.1.11; the syslog-ng lockout path is the default login-protection mechanism, so no non-default feature toggle is required for exposure.

Know when Opnsense gets its next vulnerability

  • 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

Vendor (GitHub_M) PRIMARY 8.1 HIGH
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Unauthenticated (PR:N) low-complexity injection via the login field reachable from the management network (AV:A); forged lockout events give high integrity and availability impact with no data disclosure (C:N).

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 15, 2026 - 17:17 EUVD
CVE Published
Oct 15, 2026 - 15:22 cve.org
HIGH 8.1

DescriptionCVE.org

OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the unauthenticated WebGUI login usernamefld accepts carriage-return and line-feed characters that survive LOG_AUTH processing through syslog-ng-lockout.conf into the syslog-ng program destination feeding lockout_handler. The consumer's readline() processing treats an injected fragment as a separate authentication event and selects the first syntactically valid IP address from the forged line. An attacker with network access to the login page can forge failure events for another IP, causing that IP to be added to the sshlockout PF table and its active states to be killed, or forge accepted events that reset an attacker's own brute-force counter. This can block administrative, DNS, gateway, or monitoring addresses and can bypass password-guessing lockout without authentication. This issue is fixed in version 26.1.11.

Technical POC Analysis

CWE-117 (Improper Output Neutralization for Logs).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OPNsense firewalls running WebGUI versions prior to 26.1.11 allow their built-in brute-force lockout mechanism to be manipulated by anyone who can reach the login page from an adjacent network segment, letting fabricated authentication events block legitimate addresses or erase an attacker's own failed-login record. The practical effect is loss of trust in the firewall's own protective controls: administrative, DNS, gateway, and monitoring hosts can be pushed offline by the lockout table, while password-guessing attempts can proceed without triggering lockout. Leadership should treat this as a control-integrity and availability risk to the network edge, especially where the management interface is reachable from less-trusted internal segments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis (the advisory describes affected versions as prior to 26.1.11). Interim mitigations: restrict WebGUI access to a hardened management VLAN or explicit allowlist of jump hosts and block it from adjacent/untrusted segments; require VPN or bastion access with MFA and certificate-based authentication, and disable password-only GUI logins where feasible; alert on and review sshlockout PF table changes and syslog-ng LOG_AUTH entries for fabricated failure or accepted events, embedded carriage-return/line-feed characters, and unexpected lockout-counter resets; consider tightening or replacing default sshlockout thresholds with independent rate-limiting at the network edge so a single forged event cannot block critical addresses; log all GUI authentication activity to an off-box collector to preserve evidence and support detection.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source FreeBSD firewall, common but not universally deployed
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2023-39004 CRITICAL POC
9.8 Aug 09

Insecure permissions in the configuration directory (/conf/) of OPNsense Community Edition before 23.7 and Business Edit

CVE-2023-27152 CRITICAL POC
9.8 Oct 23

DECISO OPNsense 23.1 does not impose rate limits for authentication, allowing attackers to perform a brute-force attack

CVE-2023-39008 CRITICAL POC
9.8 Aug 09

A command injection vulnerability in the component /api/cron/settings/setJob/ of OPNsense Community Edition before 23.7

CVE-2023-39001 CRITICAL POC
9.8 Aug 09

A command injection vulnerability in the component diag_backup.php of OPNsense Community Edition before 23.7 and Busines

CVE-2023-39007 CRITICAL POC
9.6 Aug 09

/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 al

CVE-2023-39003 HIGH POC
7.5 Aug 09

OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 was discovered to contain insecure permissions

CVE-2023-39005 HIGH POC
7.5 Aug 09

Insecure permissions exist for configd.socket in OPNsense Community Edition before 23.7 and Business Edition before 23.4

CVE-2023-38997 HIGH POC
7.2 Aug 09

A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Busine

CVE-2023-38999 MEDIUM POC
6.5 Aug 09

A Cross-Site Request Forgery (CSRF) in the System Halt API (/system/halt) of OPNsense Community Edition before 23.7 and

CVE-2019-25373 MEDIUM POC
6.4 Feb 15

OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicio

CVE-2019-25369 MEDIUM POC
6.4 Feb 15

OPNsense 19.1 contains a stored cross-site scripting vulnerability in the system_advanced_sysctl.php endpoint that allow

CVE-2019-25372 MEDIUM POC
6.1 Feb 15

OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject ma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy