Technical impact
Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 contains an OS command injection (CWE-78) vulnerability in openvpn.learn-address.sh that allows authenticated VPN clients to execute commands as the unbound user. Attackers can embed shell metacharacters in the certificate common name or username, which is interpolated unquoted into su -c strings, when DNS Resolver client registration enabled. This can lead to arbitrary command execution and compromise local system integrity.
Affected Systems
Netgate pfSense CE products with firmware versions 2.5.0 through 2.9.0 and pfSense Plus products with firmware versions up to 26.07 are impacted. No additional version ranges are known.
Risk and Exploitability
The CVSS score is 2.3, indicating a low severity. EPSS of 16% suggests a modest likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated VPN client, DNS Resolver client registration enabled, and a shell metacharacter in the client’s certificate or username. Successful exploitation would allow execution of commands under the unbound user, potentially providing a foothold for further compromise depending on the privileges granted to that user.