-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_36.openvpn Security Advisory pfSense Topic: Authenticated Command Execution via OpenVPN/DNS Resolver Integration Category: pfSense Base System Module: openvpn Announced: 2026-11-17 Credits: Abraxas Labs CVE ID: CVE-2026-111225 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-11-03 20:31:05 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/DNS Resolver integration, openvpn.learn-address.sh. The openvpn.learn-address.sh script uses the Common Name (CN) value from an authenticated client certificate in several calls to "su -c" in an unsafe way when adding records to the DNS Resolver for connecting OpenVPN clients. III. Impact Due to the manner in which the certificate CN is used, a CN value could include a malicious payload which executes arbitrary shell commands after successfully authenticating. To trigger the problem, a the attacker must be issued a valid certificate from the Certificate Authority assigned to the server with a CN containing special injection characters, and that user must be able to successfully authenticate to an OpenVPN instance. IV. Workaround To help mitigate the problem on older releases, use one or more of the following: * Do not use certificates from a CA that allows a CN attribute 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 - - ------------------------------------------------------------------------- 89b6ef44ca7c3fe1bb00a6612d8d950f4c8e4066 - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2Kw4ACgkQE7mH/ZIU +No1Zw/+NnClvaSGAKVzZkme/Mudz3BprKwU1HT71LwmtS7COFmsER0/U0YWZTw+ a0Vs8mjt1752HjVuSA6I2PF1gUvlWWHBASZ1ga4Q7tvPWL6g3DeXrHFyxQo8XuhY VTpJ/f7LLOsi+6lA9WftXiXU8EEFyM2tpFOIQLSdkyNi1Q7yp9Mke3TJ3EKmxg7t rF4CtM5gCxfSBapqUXzsH8TKenpDvrN113cgeJ6fu52JupvIJTYvUZyuYP5cnnbC c/Ke2lOaUgZ2oifX4BcJITdqQC+9jsVAUWtbZHkq1ZEn2uM0tQHLgMSqjxzwxBU6 /WdWxEZNu4Mu5xedwZj/4BXZMnXCoTpPnNF0CcsbFnqvMzSxlKOyS4lIMKoMfW4p kSxFKHeHCfH/RmP6f4sMit1kkeDcHPrwg1gKz9+VYDK9or/IimjgqLJ2XKqK33vw e+HslK6R70Jr8Bf0yZGVM4J/VnIGPiYxC2/J04oyIeVaNJiTFcLKx/KbGTMLqZvA W1CBTl/d/KZk3UN66SJIy7Yn/OmM42EmI4vRiQlvQMR7ZRMLnsVcOmdIDK5ww2Bh 1UYP/GgUGuvI+jxNo7PA9kQUFAquXuJcGIbG3EPoIji3rwoNMxcgPPY0bi71OO3w w/kI+E6j5UnymcogiNET+vwEhSD0d9eEXYhFy5UfCRY2ZFcq5Zk= =YD/w -----END PGP SIGNATURE-----