Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account on shared host
-
DeliveryPlant symlink in index directory
-
ExploitWin TrigramIndex::open TOCTOU window
-
ExecutionRedirect open to web-served .php target
-
ImpactExecute code as application user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Requires a local user account DISTINCT from the user running the application, holding WRITE access to PHP-FTS's index directory - a multi-tenant shared-hosting deployment, not a default single-user install. The attacker must win the time-of-check/time-of-use window between the file_exists() check and the fopen() call in TrigramIndex::open, and for the 'Code Execution' impact the planted symlink target must additionally be a web-served .php file. LIMITING FACTORS: no network reachability (local only), the non-default shared-directory-write precondition, and the race-window timing all sharply constrain realistic exploitation; the maintainer explicitly frames the fix as hardening rather than a remotely exploitable flaw. |
| Impact | This is a low-to-medium real-world risk that the raw CVSS 4.0 base score (4.8) already reflects honestly, and multiple signals agree on de-prioritization. The CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:L/UI:N - local attack vector, low-privileged local access required, no remote reachability. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a hardening-grade local flaw. No EPSS score was provided in the input, so exploitation-probability modeling is unavailable and cannot be weighed here. KEV status is absent (no CISA KEV listing), and no verified public exploit code is present - only a GitHub issue report (#3) and the vendor patch, so there is no evidence of active exploitation. The one point of tension is the 'RCE' tag versus the maintainer's own statement that this is 'a hardening measure rather than a remotely reachable vulnerability'; the local AV:L vector and the maintainer quote both contradict a remote-code-execution characterization, so treat the 'RCE' tag as misleading. Net: a genuinely-scoped TOCTOU shared-hosting hardening issue, not a widespread emergency - patch on a normal maintenance cadence. |
| Exploit ScenarioDerived | On a shared-hosting box where a second local user can write to PHP-FTS's index directory, that user plants a symbolic link and races the file_exists()+fopen() check in TrigramIndex::open to make the application open an attacker-controlled target. If the symlink points at a web-served .php file, the maintainer notes this can escalate to code execution as the application user. No public exploit code was identified at time of analysis; only a GitHub issue report and the vendor commit exist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Time-of-check time-of-use race in PHP-FTS (olivier-ls/php-fts) up to and including 1.1.3 lets a local user who can write to the library's index directory swap in a symbolic link between the file_exists() check and the fopen() call in TrigramIndex::open (Storage.php), so the application ends up reading or writing an attacker-chosen file. The precondition is a multi-tenant shared-hosting layout where a second local account holds write access to the index directory, and the race window must still be won; the maintainer describes the fix as a hardening measure rather than a remotely reachable flaw, and the 'code execution' outcome only follows if the symlink target is itself a web-served .php file. Upgrading to 1.1.4 (commit 0b2fae333d6b022da7ed4c43e2d41aa03f91dff3) resolves it; no confirmed actively exploited campaign or verified working exploit code is identified in the available sources, and the public GitHub issue #3 is the upstream vulnerability report itself.
RemediationAI
Upgrade olivier-ls/php-fts to version 1.1.4 or later, which contains the fix in commit 0b2fae333d6b022da7ed4c43e2d41aa03f91dff3 (release notes: https://github.com/olivier-ls/php-fts/releases/tag/v1.1.4; upstream issue: https://github.com/olivier-ls/php-fts/issues/3). Because the vendor frames this as a hardening measure, treat the upgrade as the complete fix and note that the 1.1.3 changelog entry bundles other behavioural changes in the same release line (escaped highlight output and type-strict filter comparisons), so review callers that pass 'escape' => false or rely on loose filter matching before rolling forward. Where upgrading is not immediately possible, the decisive compensating control is eliminating the stated precondition: make the index directory owned by and writable only by the account that runs the application, so no other local user can plant a symlink, and keep the index directory outside any web-served document root so a redirected path cannot resolve to a .php file that the web server would execute. Both measures remove specific prerequisites rather than the race itself - the TOCTOU window in TrigramIndex::open remains present until 1.1.4 is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PHP-FTS is a pure-PHP full-text search library that ships no extensions and writes its indexes to a directory on disk, with separate storage classes (including TrigramIndex) handling index files. The flaw is CWE-367: TrigramIndex::open performed a file_exists() probe and then a separate fopen(), so the file handle ultimately opened is not guaranteed to be the same object that was checked, and the open followed symbolic links in all four storage classes. An attacker who can write into the index directory can retarget the path in the gap between check and use, redirecting the library to a file it should not touch. The weakness is local (CVSS:4.0 AV:L) with low privileges (PR:L) and no user interaction, with limited confidentiality, integrity and availability impact and no scope change. Our independent assessment applies CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L, treating the race timing as a high attack-complexity factor. The patch commit also carries CI coverage across Linux, Windows and macOS specifically because symlink handling and rename() semantics differ by platform, and it bundles unrelated 1.1.3 fixes (stored XSS in buildHighlights and a type-juggling filter bypass) that are outside this CVE's scope. The trigger requires a second local identity with write access to the index directory; network reachability is not part of the described mechanism.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Local-only TOCTOU race (CWE-367) requiring a separate low-privileged local user with index-directory write access, so AV:L/AC:H/PR:L; impacts are limited, hence C/I/A:L and S:U.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability was identified in olivier-ls PHP-FTS up to 1.1.3. This impacts the function TrigramIndex::open of the file Storage.php. Such manipulation leads to time-of-check time-of-use. The attack needs to be performed locally. Upgrading to version 1.1.4 will fix this issue. The name of the patch is 0b2fae333d6b022da7ed4c43e2d41aa03f91dff3. Upgrading the affected component is recommended. The project maintainer explains: "[T]he attack requires write access to the index directory by a user other than the one running the application. That is a real shared-hosting scenario and worth defending against, which is why it is fixed but it is a hardening measure rather than a remotely reachable vulnerability, and the "Code Execution" impact additionally assumes the symlink target is a web-served .php file."
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-120043
GHSA-3phr-rx98-3qc2
NVD
CVE.org
EPSS
VulDB
Exploit-DB