BreachSpiderVerified, not vibes

CVE-2026-34578 in Opnsense

High 8.2

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 log...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.2
EPSS0.5%
EPSS percentile36th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Opnsense Opnsense < 26.1.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34578
BreachSpider IDBS-2026-GLOBAL-272734-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Published2026-04-09
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-90: CWE-90

Related attack patterns (CAPEC)

CAPEC-136 LDAP Injection via CWE-90

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

OPNsense versions prior to 26.1.6 are vulnerable to LDAP injection attacks due to improper handling of user input in the LDAP authentication connector.

An unauthenticated attacker can inject LDAP filter metacharacters into the username field of the WebGUI login page, allowing them to enumerate valid LDAP usernames in the configured directory.

Questions

What is CVE-2026-34578?

OPNsense versions prior to 26.1.6 are vulnerable to LDAP injection attacks due to improper handling of user input in the LDAP authentication connector.

What is the CVSS score for CVE-2026-34578?

CVE-2026-34578 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N. EPSS: 0.5%.

Is CVE-2026-34578 actively exploited?

No confirmed active exploitation of CVE-2026-34578 as of 2026-11-03.

How do I remediate CVE-2026-34578?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34578?

CVE-2026-34578 affects Opnsense Opnsense.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Opnsense","product":"Opnsense","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.