All vulnerabilities

Servers and applications

CVE-2026-63442

Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Blocking

Severity
High 8.1
Published
1 Jul 2026
Last changed
16 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
1, 26.1.11
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-117
Attack
From the same local network · No login needed · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Also known as
GHSA-2v2x-m4j7-76pv
Sources
CVE Program, Project advisories (GitHub)

Description

An unauthenticated remote attacker can inject CRLF (\r\n) characters into the OPNsense WebGUI login username field. The injected bytes survive through PHP's syslog() into syslog-ng's message queue. While syslog-ng's file destination uses flags(syslog-protocol) to sanitize \n in file output, the program() destination that feeds the brute-force protection daemon (lockout_handler) receives the raw message — including embedded \n. The lockout_handler's readline() call splits on \n, treating the attacker-crafted fragment as an independent log event. By constructing a fragment that mimics a Web GUI authentication failure from a target IP, the attacker can cause the lockout_handler to call pfctl -t sshlockout -T add , blocking that IP at the firewall level.

In the tested lab, a single login attempt generates three log entries (Error/Warning/Debug) from two independent code paths, all routed to LOG_AUTH and consumed by lockout_handler.

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