CVE-2026-124622 · Package
NO FIX YET · SEE WHAT TO DO
PHP-FTS up to 1.1.3 has a time-of-check time-of-use race in TrigramIndex::open in Storage.php. A local user with write access to the index directory can exploit it to redirect file access, which the maintainer says can lead to code execution only if the symlink target is a web-served .php file.
first public Nov 9, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications that use PHP-FTS up to 1.1.3 and store the search index in a directory that other local users can write to, such as shared hosting. The maintainer describes it as a hardening fix rather than a remotely reachable flaw, so a single-user server with a private index directory is much less exposed.
Not affected if private-index-directory, single-user-host, version-1.1.4-or-later
Who cares php, php-fts, shared-hosting
composer show output, and see whether it is 1.1.3 or earlier.1.1.4 (patch commit 0b2fae333d6b022da7ed4c43e2d41aa03f91dff3)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."
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.