CVE-2026-111225

Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 OS Command Injection via openvpn.learn-address.sh

Published Oct 15, 2026 CVSS 4.0 · 2.3 Low EPSS 16.1% KEV · Not listed
Description
Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 contains an OS command injection 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 is enabled.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pfSense CE to a patched release beyond version 2.9.0 where the openvpn.learn-address.sh script has been fixed.
  • Upgrade pfSense Plus to a patched release beyond version 26.07 where the script has been fixed.
  • If the DNS Resolver client registration feature is not required, disable it in the pfSense configuration to remove the attack vector.
  • Restrict VPN client authentication to trusted users and enforce strong, least‑privilege access controls; consider disabling untrusted client certificate usage.

Generated by OpenCVE AI on November 26, 2026 at 00:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Netgate pfSense CE 2.5.0 through 2.9.0 contains an OS command injection 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 is enabled. Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 contains an OS command injection 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 is enabled.
Title Netgate pfSense CE 2.5.0 through 2.9.0 OS Command Injection via openvpn.learn-address.sh Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 OS Command Injection via openvpn.learn-address.sh
First Time appeared Netgate pfsense Plus
CPEs cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:*
Vendors & Products Netgate pfsense Plus
References
Type Values Removed Values Added
First Time appeared Pfsense
Pfsense pfsense
CPEs cpe:2.3:a:pfsense:pfsense:*:*:*:*:community:*:*:*
Vendors & Products Pfsense
Pfsense pfsense
Type Values Removed Values Added
First Time appeared Netgate pfsense Ce
Vendors & Products Netgate pfsense Ce
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Netgate pfSense CE 2.5.0 through 2.9.0 contains an OS command injection 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 is enabled.
Title Netgate pfSense CE 2.5.0 through 2.9.0 OS Command Injection via openvpn.learn-address.sh
First Time appeared Netgate
Netgate pfsense
Weaknesses CWE-78
CPEs cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*
Vendors & Products Netgate
Netgate pfsense
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 12:44 AM
Reserved
Oct 15, 2026, 6:21 PM
Status
Modified
Published
Oct 15, 2026, 7:17 PM
Modified
Nov 18, 2026, 1:17 AM