-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_35.openvpn Security Advisory pfSense Topic: Command Execution via Remote OpenVPN Authentication Category: pfSense Base System Module: openvpn Announced: 2026-11-17 Credits: Abraxas Labs CVE ID: CVE-2026-111224 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-11-03 18:26:03 UTC 0. Revision History v1.0 2026-11-17 Initial SA draft I. Background pfSense® software is a free network firewall distribution based on the FreeBSD operating system. The pfSense software distribution includes third- party free software packages for additional functionality, and provides most of the functionality of common commercial firewalls. pfSense® Plus is the productized version of pfSense software from Netgate®, previously referred to as pfSense Factory Edition (FE). It is available to Netgate appliance and CSP customers. The majority of users of pfSense software have never installed or used a stock FreeBSD system. Unlike similar GNU/Linux-based firewall distributions, there is no need for any UNIX knowledge. The command line is never used, and there is no need to ever manually edit any rule sets. Instead, pfSense software includes a web interface for the configuration of all included components. Users familiar with commercial firewalls will quickly understand the web interface, while those unfamiliar with commercial-grade firewalls may encounter a short learning curve. II. Problem Description A potential authenticated command execution vulnerability was discovered in the shell script which handles OpenVPN connection and disconnection tasks, openvpn.connect_async.sh. The openvpn.connect_async.sh script uses the authenticated username from a session in several calls to pfctl in an unsafe way when managing dynamic filter rules for OpenVPN clients. III. Impact Due to the manner in which the authenticated username is used, a username could include a malicious payload which executes arbitrary shell commands after successfully authenticating. A malicious but valid user must exist on the authentication server with a name containing both a single quote and other special injection characters such as a semicolon, and that user must be able to successfully authenticate to an OpenVPN instance. Such usernames are not possible in the local authentication database but may be valid when using an external authentication source such as RADIUS or LDAP servers. IV. Workaround To help mitigate the problem on older releases, use one or more of the following: * Do not authenticate using an upstream RADIUS or LDAP server that allows or contains a user with a name containing a command injection string. V. Solution Users can upgrade to the next available version of pfSense software when available. This upgrade may be performed in the web interface or from the console. See https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html Users on currently supported versions of pfSense Plus software may apply the fix from the recommended patches list in the System Patches package after installing or updating the System Patches package. Users may also manually apply the relevant changes using the System Patches package on earlier versions, or by manually making similar changes to the affected files if the patches do not apply directly. See https://docs.netgate.com/pfsense/en/latest/development/system-patches.html VI. Correction details The following list contains the correction revision commit ID for each affected item. Revision - - ------------------------------------------------------------------------- c4f9b5e7dd567613aa8d83f63176aaa9317f9206 - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2Kw0ACgkQE7mH/ZIU +NrJ6BAAmQULHKG6yW7N0C6ygo8ASsHSGhLsnB8KV9Fk3QjAzI3t27LV+5CcTySW Bkvs0r1tt6prZ3mZbnIAieQ/AUdvDe345H1Pc/RQUM165yI4CmNoN5IIqH/v5wkp ksWDYZkZic0iklMqDYRzKLATDd/knArlF6SOyb29db7ELEFTlpUzYflBSpGG1d4N 26EZTWFPsv0iBeHSHUycm69Hgwd77GX/WSSySTJi7zLw/1StsfuBjcQZm03YigSn qlNyff1yf3e5Ge7S9fIDPfhfdwjRsq/58pfWrEdGg7tOr54uHw32L/8nIYsWy820 XyWZcPKwJsZEMSekS9C3aQqmx1Pv3X48joTAf97PWBGXlKS+T/rY3X7Vk49LYhI8 j++PaNdrygc+uiLBVGfIP0HyNfeUDzlmO9MU+IpR90lMOmhuUIvw/flW/RxkxhTY BmKCMWGrUB4uavuveA1Ql7wyL/3/czf28fSfExPhcTNfx7Fs4/WZaiAFIUN2tnyF VVrgo543L9I3Tlk7Z+b7m0TjyC6CwWdgT0tlJ/GlGXd9Tam5lEA4NVWrsfHCLI4C K7bhztQimf+yKHTF6cjc3zhjYIFeHRuF0vhgx8pD01G/YgSp1+3ABgleGKLBV4iK U5FPnwOtFnZdrh2BA0sUr7a2dRn7LksFhpX06X1xgMuLKtxC6uo= =xZLu -----END PGP SIGNATURE-----