Netgate pfSense CE 2.7.0 through 2.9.0 contains a configuration injection vulnerability that allows authenticated users with IPsec Mobile privileges to execute commands as root via the login_banner field. Attackers can submit a single-line banner containing '}' to escape the unquoted strongswan.conf attr value and define charon.start-scripts entries that charon executes as root on restart.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/abraxas/pfsense-ipsec-login-banner Mitigation, Third Party Advisory
- https://github.com/pfsense/pfsense/commit/27a52d0807 Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 4
- Cpes+1 CPE criteria (now 1)NVD modified 2026-10-19 20:43
- StatusAwaiting Analysis → AnalyzedNVD modified 2026-10-19 20:43
- StatusReceived → Awaiting AnalysisNVD modified 2026-10-15 21:05
- First seenCVSS 8.6NVD modified 2026-10-15 19:17
Affected (CPE criteria) 1
cpe:2.3:a:pfsense:pfsense:*:*:*:*:community:*:*:*
References 8
- https://abraxaslabs.tech/research/pfsense-ce-leftovers Issue Tracking
- https://abraxaslabs.tech/research/pfsense-ipsec-login-banner Exploit, Issue Tracking
- https://github.com/abraxas/pfsense-ipsec-login-banner Mitigation, Third Party Advisory
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/ipsec.inc#L1361-L1388 Product
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/ipsec.inc#L1842-L1845 Product
- https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/vpn_ipsec_mobile.php#L269-L273 Product
- https://github.com/pfsense/pfsense/commit/27a52d0807 Patch
- https://www.vulncheck.com/advisories/netgate-pfsense-ce-2.7.0-through-2.9.0-command-injection-via-ipsec-mobile-login-banner Third Party Advisory