CVE-2026-34578

High

Description

OPNsense is a FreeBSD based firewall and routing platform. Prior to 26.1.6, OPNsense's LDAP authentication connector passes the login username directly into an LDAP search filter without calling ldap_escape(). An unauthenticated attacker can inject LDAP filter metacharacters into the username field of the WebGUI login page to enumerate valid LDAP usernames in the configured directory. When the LDAP server configuration includes an Extended Query to restrict login to members of a specific group, the same injection can be used to bypass that group membership restriction and authenticate as any LDAP user whose password is known, regardless of group membership. This vulnerability is fixed in 26.1.6.

SeverityHigh
CVSS8.2
Exploit probability—
ProductOpnsense
PublishedApr 9, 2026
First seenApr 9, 2026
Weakness typeCWE-90CWE-90

How to fix

Update
  • opnsense opnsense26.1.6 or later

Affected products

ProductAffected versionsFixed in
opnsense opnsensev < 26.1.626.1.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-34578 · Opnsense · Dark Radar