Description
Netgate pfSense CE through 2.9.0 contains a php.ini injection vulnerability that allows authenticated users with General Setup privileges to inject directives by submitting an unvalidated timezone value. Attackers can embed a quote and newline to add auto_prepend_file pointing at /var/db/zoneinfo, executing PHP as root after php.ini is regenerated at boot or php-fpm restart.
Published: 2026-10-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

The vulnerability allows an authenticated user with General Setup privileges to inject arbitrary php.ini directives by providing an unvalidated timezone value. An attacker can embed quotes and newlines to append an auto_prepend_file directive that points to "/var/db/zoneinfo", which causes PHP to execute the file as the system root user after php.ini is regenerated at boot or during a php-fpm restart. This leads to remote code execution with full root privileges on the device.

Affected Systems

Netgate pfSense Community Edition versions up to 2.9.0 are affected. No later releases are known to be impacted.

Risk and Exploitability

The CVSS score of 7.5 reflects a high severity. The EPSS score is not available, indicating no published data on exploitation frequency. The vulnerability is not listed in CISA KEV. Exploitation requires an authenticated user with General Setup rights; the attack vector is local to the web interface. An attacker can trigger the injection by submitting a specially crafted timezone value, leading to privilege escalation once php.ini is reloaded.

Generated by OpenCVE AI on October 16, 2026 at 17:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pfSense CE to the latest version that removes the php.ini injection flaw.
  • If an upgrade is not immediately possible, remove or harden the timezone setting by editing /etc/inc/system.inc to prevent injection of arbitrary directives.
  • As a temporary workaround, set the auto_prepend_file directive in php.ini to a safe value or remove it entirely to block execution of /var/db/zoneinfo.

Generated by OpenCVE AI on October 16, 2026 at 17:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 20 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Pfsense
Pfsense pfsense
CPEs cpe:2.3:a:pfsense:pfsense:*:*:*:*:community:*:*:*
Vendors & Products Pfsense
Pfsense pfsense

Sat, 17 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Netgate pfsense Ce
Vendors & Products Netgate pfsense Ce

Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description Netgate pfSense CE through 2.9.0 contains a php.ini injection vulnerability that allows authenticated users with General Setup privileges to inject directives by submitting an unvalidated timezone value. Attackers can embed a quote and newline to add auto_prepend_file pointing at /var/db/zoneinfo, executing PHP as root after php.ini is regenerated at boot or php-fpm restart.
Title Netgate pfSense CE through 2.9.0 php.ini Injection via Timezone Setting
First Time appeared Netgate
Netgate pfsense
Weaknesses CWE-93
CPEs cpe:2.3:a:netgate:pfsense:*:*:*:*:*:*:*:*
Vendors & Products Netgate
Netgate pfsense
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Netgate Pfsense Pfsense Ce
Pfsense Pfsense
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T01:08:42.916Z

Reserved: 2026-10-15T18:21:20.824Z

Link: CVE-2026-111222

cve-icon Vulnrichment

Updated: 2026-10-21T01:08:37.607Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-15T19:17:34.797

Modified: 2026-10-21T01:17:20.287

Link: CVE-2026-111222

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T21:30:06Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')