Netgate pfSense CE
Netgate pfSense CE 2.5.0 through 2.9.0 and Plus through 26.07 OS Command Injection via openvpn.learn-address.sh
Edge device · Firewall / VPNknown edge product: Netgate pfSense CE Netgate pfSense CE 2.5.0 (high confidence)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.5.0, < 2.9.1
Fixed in 2.9.1
- < 26.07.1
Fixed in 26.07.1
Mitigation
Upgrade pfSense CE to 2.9.1 or later.
Upgrade pfSense Plus to 26.07.1 or later.
References
- Vendor advisory docs.netgate.com/downloads/pfSense-SA-26_36.openvpn.…
- Patch redmine.pfsense.org/issues/17231
- Release notes docs.netgate.com/pfsense/en/latest/releases/26-07-1_…
Timeline
Days relative to CVE publicationPublic PoC known, its date not yet looked up; not in CISA KEV.
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| abraxas/pfsense-ovpn-learn-cn | 15 Oct 2026 −13 h | 0 | PoC older repo: PoC date unknown, not used for the first PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.