CVE-2026-111222

Netgate pfSense CE through 2.9.0 and Plus through 26.07 php.ini Injection via Timezone Setting

Published Oct 15, 2026 CVSS 4.0 · 7.5 High EPSS 1.2% KEV · Not listed
Description
Netgate pfSense CE through 2.9.0 and Plus through 26.07 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.

Analysis

AI-generated

Technical impact

Netgate pfSense CE through 2.9.0 and Plus through 26.07 contains a php.ini injection vulnerability (CWE-93) 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 an auto_prepend_file directive pointing to /var/db/zoneinfo. When php.ini is regenerated during boot or a php‑fpm restart, the injected file is executed as root, giving the attacker full system privileges to run arbitrary code.

Affected Systems

Netgate pfSense Community Edition versions up to 2.9.0, and pfSense Plus versions up to 26.07, 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 of 1% indicates a low but non‑zero exploitation probability. The vulnerability is not listed in CISA KEV. It is inferred that the attack vector is local to the web interface, as the exploit requires an authenticated user with General Setup rights. An attacker can trigger the injection by submitting a specially crafted timezone value, leading to privilege escalation once php.ini is reloaded.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pfSense CE or Plus 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 November 22, 2026 at 21:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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. Netgate pfSense CE through 2.9.0 and Plus through 26.07 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 Netgate pfSense CE through 2.9.0 and Plus through 26.07 php.ini Injection via Timezone Setting
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
Metrics ssvc

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

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
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'}

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF 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