Description
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."
Published: 2026-11-09
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: Local Code Execution
Action: Apply patch
AI Analysis

Impact

A race condition exists in the TrigramIndex::open function of olivier‑ls PHP‑FTS; it is triggered by a time‑of‑check time‑of‑use flaw that allows a user who can write to the index directory to create a symbolic link that points to a file outside the intended location. When the application subsequently opens the index file, it may follow the symlink and read a web‑served PHP file, leading to the execution of arbitrary code in the context of the web application. The flaw therefore permits local code execution when directory permissions are incorrectly set, and if the symlink targets a PHP file that the web server exposes, the impact could grow to remote code execution.

Affected Systems

The vulnerability affects olivier‑ls PHP‑FTS versions up to and including 1.1.3. Version 1.1.4 and later contain the fix; upgrading to that release eliminates the flaw. Any system running the affected package, particularly in a shared‑hosting environment where the application user is distinct from other users who may write to the index directory, is at risk.

Risk and Exploitability

With a CVSS score of 4.8 the flaw is considered moderate; exploitation requires local write access to the index directory and the creation of a symlink to a web‑exposed PHP file. The EPSS score is not available and the issue is not listed in CISA KEV. The impact is limited to environments where directory permissions are permissive, but successful exploitation would allow the attacker to execute arbitrary PHP code. The overall risk is moderate and depends on the specific hosting configuration.

Generated by OpenCVE AI on November 9, 2026 at 14:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade olivier‑ls PHP‑FTS to version 1.1.4 or later.
  • Ensure that the application user is the sole owner with write permission to the index directory; remove write access for other users.
  • Audit the index directory for symbolic links that point to web‑served PHP files and delete or block them.

Generated by OpenCVE AI on November 9, 2026 at 14:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 13:00:00 +0000

Type Values Removed Values Added
Description 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."
Title olivier-ls PHP-FTS Storage.php open toctou
First Time appeared Olivier-ls
Olivier-ls php-fts
Weaknesses CWE-362
CWE-367
CPEs cpe:2.3:a:olivier-ls:php-fts:*:*:*:*:*:*:*:*
Vendors & Products Olivier-ls
Olivier-ls php-fts
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': '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/E:X'}


Subscriptions

Olivier-ls Php-fts
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-09T12:45:23.743Z

Reserved: 2026-11-09T06:57:28.604Z

Link: CVE-2026-124622

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-09T13:17:07.660

Modified: 2026-11-09T13:17:07.857

Link: CVE-2026-124622

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T14:30:12Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition