{"id":"CVE-2026-111223","summary":"Netgate pfSense CE 2.7.0 through 2.9.0 Command Injection via IPsec Mobile Login Banner","details":"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.","modified":"2026-10-17T02:45:45.445247608Z","published":"2026-10-15T18:46:23.730Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-74"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111223.json","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.7.0"},{"last_affected":"2.9.0"}]},{"source":"CPE_FIELD","extracted_events":[{"introduced":"2.7.0"},{"last_affected":"2.9.0"}]},{"source":"DESCRIPTION","extracted_events":[{"introduced":"2.7.0"},{"fixed":"2.9.0"}]}]},"references":[{"type":"WEB","url":"https://github.com"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111223.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111223"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/netgate-pfsense-ce-2.7.0-through-2.9.0-command-injection-via-ipsec-mobile-login-banner"},{"type":"FIX","url":"https://github.com/pfsense/pfsense/commit/27a52d0807"},{"type":"PACKAGE","url":"https://github.com/pfsense/pfsense"},{"type":"ARTICLE","url":"https://abraxaslabs.tech/research/pfsense-ce-leftovers"},{"type":"ARTICLE","url":"https://abraxaslabs.tech/research/pfsense-ipsec-login-banner"},{"type":"ARTICLE","url":"https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/ipsec.inc#L1361-L1388"},{"type":"ARTICLE","url":"https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/etc/inc/ipsec.inc#L1842-L1845"},{"type":"ARTICLE","url":"https://github.com/pfsense/pfsense/blob/9363ac5b8651a1c7a333180425ce7719070f95f9/src/usr/local/www/vpn_ipsec_mobile.php#L269-L273"},{"type":"EVIDENCE","url":"https://github.com/abraxas/pfsense-ipsec-login-banner"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pfsense/pfsense","events":[{"introduced":"0"},{"fixed":"27a52d0807"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-111223.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}