Kai Ole Hartwig
21 min read
By

TYPO3 CVE-2026-119623: A file with the right name opens the installer without login

The TYPO3 installer recognises a fresh installation by a marker file named FIRST_INSTALL in the web root or the project root. Until the release of 17 November, any file whose name merely started that way was enough, and the installer never asked whether the instance had long been set up. Whoever could drop such a file got a wizard without login that sets a new database connection and creates new administrators. CVE-2026-119622 supplied the matching file, because the endpoint for YouTube and Vimeo videos wrote straight into the web root on request, and it did so for every backend account. The fix therefore ties the installer to a state in the configuration instead of a file that can arrive from outside.

TL;DR — 90 seconds

How a marker file brings the installer back

TYPO3 has two tools that are often confused. The Install Tool, visible as Admin Tools in the backend, maintains a running instance and is protected by its own password and the file ENABLE_INSTALL_TOOL. The installer, also called the first-install wizard, sets up a fresh instance. It asks for the database connection, creates the tables and creates the first administrator. It does not require a login, and that is by design, because a fresh instance has no users yet. That makes it all the more important that it reliably recognises whether it really faces an empty installation.

Until the fix, this decision was made by EnableFileService::isFirstInstallAllowed(). It listed the files in the web root and the project root and checked each name against the regular expression ~^FIRST_INSTALL.*~i. Every file whose name began with these 13 characters counted, regardless of case and regardless of what followed. If the method found such a file, it gave the green light. Whether config/system/settings.php already existed, meaning the instance had long been set up, played no role. TYPO3 consistently classifies the flaw as CWE-306, missing authentication for a critical function.

This is where the bug lay. The mere existence of a file replaced the login, so anyone who could create a file in that location inherited the installer's rights. It is easy to underestimate how many that is. The advisory itself names marker files left over from the original installation, files from restored backups and any other flaw that writes files into the web root. A file name is not a secret, and a signal that any write access can produce is no trust anchor.

CVE-2026-119622 describes the most convenient of these write paths. In the backend you can add YouTube and Vimeo videos as online media, and TYPO3 creates a small file with the extension .youtube or .vimeo for each. The endpoint OnlineMediaController::addMediaFromUrl() took the target folder from the request. An identifier such as 0:/ points to the fallback storage with uid 0, which according to the advisory maps to the public web root. Neither file mounts nor permission checks apply to this storage. Any backend account, even one without file mounts or module access, could therefore put a file straight into the web root.

The advisory calls the file name partially controllable. How that comes about is something I derive from the code of the online media helper. It builds the name from the video title the platform returns via oEmbed and appends the extension. Only if no title arrives does it use the video ID. The functional test shipped with the fix confirms this: a video titled “Example” ends up there as Example.youtube. A video whose title starts with FIRST_INSTALL therefore produces a file that the old expression matches. The attacker barely controls the content of the file, but does not need to, because the installer only looked at the name.

What the fix commits change

Commit 0f0a1ca, titled “Lock installer on already configured instances”, touches seven files and inverts the logic. isFirstInstallAllowed() now requires two things: a marker file and an instance that is not set up yet. Not set up means that either no settings.php exists at all or the new setting $GLOBALS['TYPO3_CONF_VARS']['SYS']['isInstalling'] is true. This setting defaults to false in DefaultConfiguration.php. SetupService::prepareSystemSettings() sets it to true at the start of a fresh installation, and the new method markInstallationFinished() resets it at the end. It is called from the web installer and from the console command setup. If the key is missing entirely, as on every instance upgraded from an older version, the code catches the MissingArrayPathException and treats it as “not installing”.

As additional hardening, only the exact names FIRST_INSTALL and FIRST_INSTALL.txt now count as markers, compared with strcasecmp instead of a prefix match. The second commit 25cb4a8 adds a single check to the OnlineMediaController. If the requested target folder lies in the fallback storage, the code discards it and uses the user's default upload folder.

The first change reveals the most about the root cause. The trust anchor moves out of the web root's file system and into the system configuration. The changelog says so explicitly: anyone who deliberately wants to rerun the installer on an instance with settings.php has to set isInstalling there themselves, which requires file system access and cannot be triggered over the web. The second fix, by contrast, closes only one of several possible feeders. The real bug is fixed by the first one, because it makes every future write flaw in the web root irrelevant to the installer.

From editor account to new administrator

According to the advisory, the chain requires any backend account, an affected version and an installer reachable from the network. There is one more condition that the advisory does not state explicitly, but that I consider decisive: the PHP process must be allowed to write to the web root. In many classic hosting setups that is the case, because code and uploads belong to the same system user. Such an installation is affected out of the box. Every backend account can reach the online media endpoint, and the fallback storage always exists. A proposal to make it read-only was rejected in the TYPO3 bug tracker years ago, because processed files may end up there.

The sequence is short. Using the editor account, the attacker adds an online video and names the web root as the target. A file whose name starts with the marker appears in the web root. From that moment the installer considers the instance new and answers requests without login. According to the advisory, the wizard allows changing the database connection and creating a new administrator and a new system maintainer, which TYPO3 rates as a path to code execution. Whoever switches the database connection also decides which database the site will read its content and user accounts from from then on.

Truly affected are mainly installations with many backend accounts, for example for agencies, external editors or students, and with a writable web root. Less exposed is anyone with only a handful of well-protected accounts. They are not completely safe either, because any other write flaw delivers the same marker. The same release closes one such flaw with CVE-2026-119621 in the Import/Export module, which lets manipulated imports write to the file system via path traversal. It requires an administrator or a user whom options.impexp.enableImportForNonAdminUser allows to import.

Operators who closed the Install Tool by leaving installToolPassword empty and not creating an ENABLE_INSTALL_TOOL file often believe they are safe. That protects the Install Tool, but not the installer, which takes its own path. Conversely, instances running in containers with a read-only web root cannot be attacked via the online media path, because writing to the web root already fails at the operating system.

CVEAffectedFixPreconditionCVSS
CVE-2026-119623 (TYPO3-CORE-SA-2026-027)10.0.0–10.4.62, 11.0.0–11.5.56, 12.0.0–12.4.51, 13.0.0–13.4.39, 14.0.0–14.3.1110.4.63, 11.5.57, 12.4.52, 13.4.40, 14.3.12File with prefix FIRST_INSTALL in web root or project root9.4 (CVSS 4.0, critical)
CVE-2026-119622 (TYPO3-CORE-SA-2026-026)as aboveas aboveany backend account, writable web roothigh according to TYPO3
CVE-2026-119621 (TYPO3-CORE-SA-2026-025), further write pathas aboveas aboveadministrator or import enabled for non-adminshigh according to TYPO3

As of 24 November, none of the sources checked names a public exploit. No attacks on the chain are known, and the CVE is not in the KEV catalog. According to FIRST, EPSS put the probability of exploitation within the next 30 days at 0.67 percent on 23 November. According to TYPO3, a different flaw from the same release is being actively exploited, CVE-2026-125160 in the Form Framework. I therefore consider it likely that attackers are probing TYPO3 installations this week, and the chain here is described so clearly in the advisory that rebuilding it takes little effort.

TYPO3 14.3.12 and 13.4.40 and what the update changes

The fix ships in the releases 14.3.12 LTS and 13.4.40 LTS of 17 November. For the branches 12.4, 11.5 and 10.4 there are the ELTS versions 12.4.52, 11.5.57 and 10.4.63, which TYPO3 only delivers to customers with an ELTS subscription. The affected Composer packages are typo3/cms-install and typo3/cms-backend, but you should update all typo3/cms-* packages together, because the release closes eight further flaws.

Little changes for day-to-day operation. Existing instances do not know the key isInstalling and therefore automatically count as set up, so the installer stays closed. Anyone who sets up instances with the console command typo3 setup will not notice anything either, because this path also sets the setting and resets it. You need to watch out in two places. If you set up environments that already contain a settings.php and use the web installer for it, you must deliberately set SYS/isInstalling to true beforehand. And if your own scripts create marker files with extensions such as FIRST_INSTALL.md, switch to one of the two exact names.

With the online media fix, a video that someone explicitly wanted to place in the web root now ends up in the user's default upload folder. Normal editorial teams will hardly notice, because they work under fileadmin anyway.

Two advisories from the same release require more work after the update. TYPO3-CORE-SA-2026-028 on ImageMagick and GraphicsMagick may require adjusting the allowed image formats under $GLOBALS['TYPO3_CONF_VARS']['SYS']['FileInfo']['fileExtensionToMimeType'], and TYPO3-CORE-SA-2026-034 requires a list of allowed hosts for the dashboard RSS widget in TYPO3 14. In addition, since SA-2026-032 the Form Framework rejects uploads if an upload field lists no allowed MIME types.

One limitation is easily overlooked. The update prevents new attacks but undoes nothing. An administrator created via the installer before the update remains an administrator afterwards, and a switched database connection stays switched. The check in the detection section therefore belongs to every update.

Hardening that would have worked before the patch

The chain has two links. First a file has to reach a place where it becomes a trust signal, then someone has to reach the installer without login. Effective measures are therefore anything that prevents writes to the web root and project root, takes the installer off the network or shrinks the set of accounts that can start the chain. Classic container hardening against injected code, by contrast, only kicks in very late, because no foreign code runs until the last step. PHP writes an ordinary file, and the installer does what it was built for.

Read-only web root and project root

The fallback storage points to the web root. If the PHP process may not write there, creating the online media file fails at the operating system, no matter which checks TYPO3 forgets. This measure works against every write path into the two directories the installer searches, including future flaws of the same kind. In a cluster this means readOnlyRootFilesystem: true in the container's securityContext. Only dedicated volumes for fileadmin, typo3temp and var remain writable, i.e. subdirectories the installer does not look at when searching for the marker. To keep it that way, a ValidatingAdmissionPolicy or a Kyverno rule can reject pods without a read-only root file system in the TYPO3 namespace.

In classic hosting you achieve the same with file permissions. The code belongs to the deploy user, PHP-FPM runs as a different user and may only write to fileadmin, typo3temp and var. The effort lies mainly in the deployment, which has to set permissions cleanly, and in extensions that want to write elsewhere unasked and then fail visibly. How TYPO3 runs in a cluster without write access to its code is described in part 8 of the series TYPO3 on Kubernetes under IT-Grundschutz.

Blocking the installer path at the proxy

The installer and the Install Tool use the entry point /typo3/install.php, which TYPO3 has treated as the canonical path since version 9. In operation nobody needs this path from the internet. Database updates and maintenance run via the console in the deployment, and the Admin Tools in the backend use their own routes and require a login as system maintainer. If the reverse proxy or ingress blocks /typo3/install.php for all addresses except a maintenance network, the installer stays unreachable even if a marker sits in the web root. This is the measure with the least effort, and it would have reliably broken the chain at its end. Make sure the rule matches the path regardless of case and URL encoding, and test it with a request from outside. More on narrowing the paths into the backend is in part 13 of the series.

Few backend accounts with mandatory multi-factor authentication

The chain starts with any backend account, which is what makes stolen credentials so valuable. With $GLOBALS['TYPO3_CONF_VARS']['BE']['requireMfa'], TYPO3 enforces the second factor. The value 1 applies to all users, 2 only to non-administrators, 3 only to administrators and 4 only to system maintainers. Against this chain only 1 or 2 help, because the attack specifically does not need a privileged account. Even better is a login via your identity provider, so access ends with the account in the company. This includes a regular inventory of accounts, because orphaned logins of former service providers are the classic way in. None of this helps against an insider or a hijacked, already authenticated session.

Restricting egress of the TYPO3 pod

This measure works in two ways, and I derive both myself from the code and the advisory. First, TYPO3 fetches the video title from the platform via oEmbed. If the pod cannot reach YouTube, the helper falls back to the video ID as the file name. According to the helper code, a YouTube ID is exactly eleven characters long and therefore cannot start with the 13-character marker. For Vimeo, the helper only allows digits, letters and slashes in the ID, so no underscore and therefore no marker either. Second, an egress rule that only allows the real database server makes the switch to a foreign database described in the advisory fail.

The limits are clear. If your editors use online videos, you have to allow YouTube and Vimeo and lose the first effect. The rule does not prevent creating an administrator in the existing database. And a standard NetworkPolicy only knows IP blocks, so for external targets with changing addresses you need FQDN rules from your CNI. On its own this is not enough, as an additional layer it is valuable.

Closing other write paths and leftovers

The advisory explicitly names leftover and restored marker files. A simple check in the build pipeline that rejects an image with a file named FIRST_INSTALL* in the web root or project root closes this path for good. The same applies to backups you check before restoring them. Keep import for non-administrators via options.impexp.enableImportForNonAdminUser switched off, and remove unused extensions with upload or import functions.

What does not help here

An empty installToolPassword and a missing ENABLE_INSTALL_TOOL file close the Install Tool, not the installer. The changelog of the fix explicitly separates the two, and exactly this confusion makes the flaw treacherous. Seccomp profiles, dropped capabilities, runAsNonRoot and allowPrivilegeEscalation: false do not help either, because PHP writes an ordinary file with ordinary system calls. A non-root user who owns the web root may do that just as well as root.

A signature-based web application firewall only sees legitimate requests: an editor adds a video, a visitor fills in a form. A Content Security Policy protects the browser and has nothing to do with this chain. And a CVE gate in the pipeline only triggers once a flaw has a number. It makes sure you roll out this update quickly, but against the next flaw of the same class that nobody has reported yet, only hardening protects you.

Detection and verification

Whether you are affected is shown by the version of typo3/cms-core and typo3/cms-install in your composer.lock or in the backend system information. Everything before 14.3.12, 13.4.40, 12.4.52, 11.5.57 and 10.4.63 contains the flaw. Next, check whether your PHP process may write to the web root and project root, because that determines whether the online media path works at all.

Whether someone has used the flaw can be read in a few places. In the advisory, TYPO3 recommends searching the web root and project root for files whose name starts with FIRST_INSTALL, including every spelling and every extension. A quick way is find public . -maxdepth 1 -iname 'FIRST_INSTALL*' in the project root. Also according to the advisory, all backend accounts with administrator rights and all entries under $GLOBALS['TYPO3_CONF_VARS']['SYS']['systemMaintainers'] need review. From the mechanism I derive two further indicators. Files with the extension .youtube or .vimeo directly in the web root instead of under fileadmin are suspicious, and requests to /typo3/install.php from unknown addresses stand out in the web server access log. Also compare the database connection in settings.php with the state in your repository or backup. TYPO3 does not publish official IoCs about attackers for this chain.

If you suspect compromise, I recommend this order. First block /typo3/install.php at the proxy and preserve logs and a snapshot of the file system. Then update TYPO3, remove marker files and unknown accounts and restore the configuration from the repository. Because the chain can end in code execution, search afterwards for PHP files in the web root and under fileadmin that do not come from your deployment. Finally, rotate the database password, the encryptionKey and all credentials stored in the TYPO3 configuration.

Recommendation for operators

Act immediately if your instance runs a version before the fix, there are more than a handful of backend accounts and PHP may write to the web root. Block /typo3/install.php at the proxy right away, install the update and check marker files, administrators and system maintainers. If TYPO3 runs on an old branch without an ELTS subscription, the proxy block together with a read-only web root is your only defence, and the upgrade goes straight to the top of the list.

Monitoring is enough if TYPO3 runs in a container with a read-only web root and the installer path is blocked anyway. The update still belongs in the next few days, not least because the same release closes an actively exploited flaw in the Form Framework.

The same applies to every flaw: updates belong automated. When Renovate or Dependabot propose new versions of the typo3/cms-* packages as merge requests on their own and the pipeline tests them against a staging environment, a security release like this one is a matter of hours instead of weeks. TYPO3 even announces its releases in advance, so an automated process can be done on the day of publication. A cooldown period for routine updates protects against compromised packages, and you exempt security updates from it. If a release changes behaviour, as here with empty MIME lists in the Form Framework, it shows up in testing and not in your customers' forms. Updating by hand, on the other hand, quickly means weeks without a patch during holiday season, followed by one big batch update where nobody knows which change caused which error.

Frequently asked questions about CVE-2026-119623

My Install Tool password is empty. Does that protect me?+

No. The empty password closes the Install Tool, while the installer for the first installation is a separate path. That is exactly the path the marker file opened, without asking for any password.

Is the update enough on its own?+

It prevents new attacks but undoes nothing. Afterwards, check the web root and project root for marker files and all administrators and system maintainers for accounts you do not recognise.

We have no external editors. Do I need to hurry?+

Your risk is lower, but not zero. Any other write flaw in the web root and any leftover marker file opens the installer just the same. Block the path at the proxy and install the update within the next few days.

What does the update change in my installation?+

Hardly anything in day-to-day operation. Existing instances without the new setting isInstalling count as set up. Only if you deliberately rerun the web installer on an instance with settings.php do you need to set it first.

Conclusion

CVE-2026-119623 is a textbook case of how dangerous trust in file names is. The installer relied on the assumption that only an administrator with shell access creates a file named FIRST_INSTALL. In reality anyone who found any write path into the web root could do it, and a CMS with uploads, imports and online media has more than enough of those. The fix moves the trust anchor into the configuration and thereby separates it from the web root. The transferable lesson: where an application ties a security decision to the existence of a file, that file belongs in a place the application itself cannot write to. A read-only web root enforces exactly that from the outside, and that is why it would have been the hardening that made this bug irrelevant even before the patch.

Sources

I check your TYPO3 installations for writable web roots and open installer paths and roll out security releases like this one on the day they are published.

TYPO3 security audits, read-only container deployments, proxy rules for backend and installer, multi-factor authentication via your identity provider, and update automation with Renovate and tested pipelines.

Platform operations instead of consulting on paper: I check, patch and harden your infrastructure continuously.

About the author

Photo of Kai Ole Hartwig.

Kai Ole Hartwig

Freelance DevSecOps consultant · OnlyOle Consulting

Programming since 2002 – self-taught, set up my own business with KO-Web in 2012. Over 100 projects, with a focus on security, performance, automation and quality. Today freelance: DevSecOps consulting, training and software development.