Read the docs
TI-2021-18114 Aliases CVE-2021-41282GHSA-px3p-5c29-4jxr

diag_routes.php in pfSense 2.5.2 allows sed data injection.

Priority HIGH 80CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be able to view data about the routes set in the firewall. The data is retrieved by executing the netstat utility, and then its output is parsed via the sed utility. Although the common protection mechanisms against command injection (i.e., the usage of the escapeshellarg function for the arguments) are used, it is still possible to inject sed-specific code and write an arbitrary file in an arbitrary location.

Why it matters now

EPSS 0.87113 99th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:pfsense:pfsense:2.5.2:*:*:*:*:*:*:*2.5.2VulnerablepfSense
  • cpe:2.3:a:pfsense:pfsense:2.5.2:*:*:*:*:*:*:* Versions 2.5.2 Vulnerable ·pfSense

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41282
  2. 2026-10-03 Alias added: GHSA-px3p-5c29-4jxr

References

  • TI-2023-11923 Improper restriction of excessive authentication attempts in the SSHGuard component of… CVSS 3.1CRITICAL 9.8
  • TI-2025-42916 Netgate pfSense CE 2.8.0 allows code execution in the XMLRPC API via pfsense.exec_php. CVSS 3.1CRITICAL 9.9
  • TI-2025-42915 Netgate pfSense CE 2.7.2 allows code execution by using the module installer with a… CVSS 3.1CRITICAL 9.1
  • TI-2026-74961 OS command injection in Netgate pfSense CE traffic shaper limiters CVSS 4.0HIGH 8.6
  • TI-2026-74960 OS command injection in Netgate pfSense CE via CARP VHID CVSS 4.0HIGH 8.6
  • TI-2026-74959 OS command injection in Netgate pfSense CE via gateway Monitor IP CVSS 4.0HIGH 8.6
See all 37 →

Sources