-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_32.webgui Security Advisory pfSense Topic: Authenticated Command Execution via Gateway Monitor IP Address Category: pfSense Base System Module: webgui Announced: 2026-11-17 Credits: Abraxas Labs CVE ID: CVE-2026-111216 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-10-29 14:58:32 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 system_gateways_edit.php through the Monitor IP value for an IPv6 gateway entry. The page at system_gateways_edit.php stores the Monitor IP address ("monitor") for an IPv6 gateway only after validating the content using is_ipaddrv6(). However, the is_ipaddrv6() function does not fully validate the scope portion of a scoped IPv6 link local address (e.g. "fe80::1%igb0"). The "monitor" value is then passed as a parameter to the gateway monitoring daemon without escaping. III. Impact Due to this lack of validation, the scope can be set to an invalid string which could include limited command injection. The injected command cannot contain slashes, which limits the possible commands that could be executed using this method. IV. Workaround To help mitigate the problem on older releases, use one or more of the following: * Limit access to the affected pages to trusted administrators only. 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 - - ------------------------------------------------------------------------- b0decf4098c9cabd5b7828705cae9fe53fbd7048 4cef139bb411ea948662624d4b7140d74e25a6b3 3e9176265cdfd84b73eb9be4fe6de259211a122f - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2KwsACgkQE7mH/ZIU +NqjFRAAk/VCvuuYOz6JekvxxwvMA084ByT1efFnL0+KCcf4114pipsVs+SgSLpw Od0Bt1MKCP9C87kd5AkyQJ3OXRSSJ6sB2y35jZDCrZMXCWkljPptRGMkcEVLrE5/ oCyKNKm6k8aSr/HekZEI6on24vy92MOhQdC1SGU5tJsEn7MMjLO2mjIx36Jblk7e VY+rrvgoOcHF6cINkOKnhmo2pz7ssL2zxm/JLQYRnJjhQ5FS3XxwYPZ+52FGuVcq DorCnNNzNU1v4Bg0cfZJRdqFIfJ+d54jWbD9hPgeXjiIETGwflH7jlb2AfJlYN/o Gd8o776U4lOw4aAQRVXzEZYgoLx/1WFxDMlQCzXh600dXg1mMvsY/1qk4jokoV2V a16nknuJXvZ7vJbQK/2lqPNaqnHBlYh99DUOoOQLdcR6P6NZGHlAXVeh+KvV5GbL Z+tlHv/hiTW5UqP778PJniVZr4j2UIn6Wlais+CFDTNdGm6XiRKz+SOsp0vOhHkG BvDJ79w11xhCIAG4pUbnSMlVlc9A2sHARcCLUPbNs6r8bc+LKUqDe6jyLhdeoVBL mWkHJ+rAjAt33zXMXzw5W1mv50+4QIiPQvp2Zd8+sRz0FtJJFCVMxesv/hZP+cQV 8MoYat3JPnqB/ZDP9k/OJjh3mPVA0EQPisk6Fx5SrmGlaT74yCg= =3jJg -----END PGP SIGNATURE-----