-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= pfSense-SA-26_24.webgui Security Advisory pfSense Topic: Authenticated Command Execution via CARP VHID Category: pfSense Base System Module: webgui Announced: 2026-11-17 Credits: Abraxas Labs CVE ID: CVE-2026-111217 Affects: pfSense Plus software versions <= 26.07 pfSense CE software versions <= 2.9.0 Corrected: 2026-10-15 19:41:59 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 firewall_virtual_ip_edit.php via the CARP VHID parameter. The page at firewall_virtual_ip_edit.php does not properly validate the CARP VHID parameter of a Virtual IP address ("vhid") when saving an entry. When applying changes after creating a "stacked" IP alias VIP using a CARP VIP as its parent interface, the VHID is used in a shell command without escaping. When viewing the CARP status at status_carp.php or using the CARP status dashboard widget (carp_status.widget.php), the VHID is used in a shell command without escaping. III. Impact Due to the lack of validation and escaping, an attacker with access to firewall_virtual_ip_edit.php could create a CARP type Virtual IP address which could be leveraged to execute arbitrary shell commands. If the attacker also has access to status_carp.php or the Dashboard with the CARP status widget present, they could also execute commands using that 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 - - ------------------------------------------------------------------------- 93f9fd96ab4345ab641f692fb4bdfa2dd8df1d3a - - ------------------------------------------------------------------------- VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE40XvjEU56XSUPIMdE7mH/ZIU+NoFAmr2KwMACgkQE7mH/ZIU +NotEg/+Puou/TRu9k0rCBH/qyP9vZ+vipVPE27+GD5Xts8D1bttjoSa7HGsG0Jm 49C5Z4a+SiRQxuWTuQgsH6xfU3TETpcF8nTDRCYq1CGmmuRjHTDAPcsd673U/o6b ldIPgqTSdWL0zGU6esPQjILUiKTmJxHPVRYOewyHXwMO7L+0xJxvwzBhiIOaXF3e m5M+VqWdm+yAwbOK0H7ODZNwZ1OXHwqdvNzWTUf15Bq9yfCdyMUAU+6dnHib/x/D p5XbrMaPXr+1SwOnj5Y47j51KOUxoM/CBAuM312RZWVNwfHGkW+q4dRFAYYXpClC R6e2w/C+Sp025ixo5tWBwKu1wHNhFEhy+JpFvRebYhNWOmPGCH3xOp5QfBokltor +XUWLl8+K2pZF5giRSy0ep4IxMlbAnuLP8Xgc3ULa4z0ayGflGMGPC9D00rrZFJh pramNx35h29i/4uh0MUIZf8u596Jo1Z+hV7achE28SGWJSmnuV3L0wMS5ZlGN7qf /Kj9STxG0Bk0AhB6gIx48zJykoSesbuEEgdGz8llJBAWpPuv2nvUKh9c86wFXkF8 NtIOesz00gdBCj7w6RFL27JJXcewZW7PWwHtVsK/+7D4JOs44WMU+jDxObc+gk3x xfpuAHVQYcBUyyDifTxBI1oO0f0U+VadMG1NifWXxMU9C8IDvrI= =WvuK -----END PGP SIGNATURE-----