CVE-2026-111224

Netgate pfSense CE through 2.9.0 and Plus through 26.07 OS Command Injection via openvpn.connect_async.sh

Published Oct 15, 2026 CVSS 4.0 · 7.7 High EPSS 16.2% KEV · Not listed
Description
pfSense CE through 2.9.0 and Plus through 26.07 contains an OS command injection vulnerability in the OpenVPN openvpn.connect_async.sh script that allows authenticated VPN users to execute commands as root via crafted usernames. Attackers authenticated through RADIUS or LDAP can use usernames containing single quotes and shell metacharacters to break out of the eval'd pfctl anchor name on connect or disconnect.

Analysis

AI-generated

Technical impact

The vulnerability is an OS command injection in the openvpn.connect_async.sh script used by pfSense Community Edition up to version 2.9.0 and pfSense Plus up to 26.07. Authenticated VPN users who authenticate via RADIUS or LDAP can supply usernames that contain single quotes and shell metacharacters. When the script evaluates such a username as part of a pfctl anchor name during connect or disconnect, the malicious input breaks out of the intended context and is executed as a command with root privileges. This allows attackers to gain full system control, thereby compromising confidentiality, integrity, and availability. The weakness is identified as CWE-78.

Affected Systems

Netgate pfSense Community Edition installations that use OpenVPN authentication via RADIUS or LDAP and are running any version up to 2.9.0, as well as Netgate pfSense Plus installations using OpenVPN authentication via RADIUS or LDAP and running any version up to 26.07, are vulnerable.

Risk and Exploitability

The CVSS score of 7.7 classifies this as a high severity vulnerability. EPSS score is 16%, and it is not listed in the CISA KEV catalog. Exploitation requires only that an attacker is an authenticated VPN user with the ability to submit credentials containing shell characters. By providing such a username, the attacker can trigger the vulnerable script and execute arbitrary commands as root. The likely attack vector is an authenticated user supplying a crafted username during VPN authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check Netgate advisories or release notes for an update or patch that addresses the openvpn.connect_async.sh command injection; apply the fix when available.
  • Until a vendor fix is available, consider disabling OpenVPN connections that use RADIUS or LDAP authentication, or switch to local authentication.
  • Enforce strict character validations on usernames via PAM or LDAP policies to allow only alphanumeric characters, which will prevent shell metacharacters from being injected into the script.

Generated by OpenCVE AI on November 26, 2026 at 00:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description pfSense CE through 2.9.0 contains an OS command injection vulnerability in the OpenVPN openvpn.connect_async.sh script that allows authenticated VPN users to execute commands as root via crafted usernames. Attackers authenticated through RADIUS or LDAP can use usernames containing single quotes and shell metacharacters to break out of the eval'd pfctl anchor name on connect or disconnect. pfSense CE through 2.9.0 and Plus through 26.07 contains an OS command injection vulnerability in the OpenVPN openvpn.connect_async.sh script that allows authenticated VPN users to execute commands as root via crafted usernames. Attackers authenticated through RADIUS or LDAP can use usernames containing single quotes and shell metacharacters to break out of the eval'd pfctl anchor name on connect or disconnect.
Title Netgate pfSense CE through 2.9.0 OS Command Injection via openvpn.connect_async.sh Netgate pfSense CE through 2.9.0 and Plus through 26.07 OS Command Injection via openvpn.connect_async.sh
First Time appeared Netgate pfsense Plus
CPEs cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:*
Vendors & Products Netgate pfsense Plus
References
Type Values Removed Values Added
First Time appeared Netgate pfsense Ce
Vendors & Products Netgate pfsense Ce
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description pfSense CE through 2.9.0 contains an OS command injection vulnerability in the OpenVPN openvpn.connect_async.sh script that allows authenticated VPN users to execute commands as root via crafted usernames. Attackers authenticated through RADIUS or LDAP can use usernames containing single quotes and shell metacharacters to break out of the eval'd pfctl anchor name on connect or disconnect.
Title Netgate pfSense CE through 2.9.0 OS Command Injection via openvpn.connect_async.sh
First Time appeared Netgate
Netgate pfsense
Weaknesses CWE-78
CPEs cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*
Vendors & Products Netgate
Netgate pfsense
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 12:44 AM
Reserved
Oct 15, 2026, 6:21 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 7:17 PM
Modified
Nov 18, 2026, 1:17 AM