CVE-2026-34578: OPNsense has an LDAP Injection via Unsanitized Username in Authentication

Published Apr 9, 2026
·
Updated

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 ldapescape(). 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.

Affected Software

2 affected components
OPNsense OPNsense<26.1.6
OPNsense OPNsense<26.1.6

Event History

Apr 9, 2026
CVE Published
via MITRE·02:34 PM
Data Sourced
via MITRE·02:34 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34578?

CVE-2026-34578 has a moderate severity rating due to the potential for LDAP injection attacks.

2

How do I fix CVE-2026-34578?

To fix CVE-2026-34578, upgrade OPNsense to version 26.1.6 or later to ensure proper input sanitization.

3

What systems are affected by CVE-2026-34578?

CVE-2026-34578 affects OPNsense versions prior to 26.1.6.

4

What type of vulnerability is CVE-2026-34578?

CVE-2026-34578 is classified as an LDAP injection vulnerability.

5

Can CVE-2026-34578 lead to data compromise?

Yes, CVE-2026-34578 can potentially lead to unauthorized access and data compromise due to injection flaws.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203