The action of clearing the cache can delete any directory, what kind of problem will arise when a piece of name is spliced into the path.

📅 October 12, 2026 👁️ 13

The action of clearing the cache can delete any directory, what kind of problem will occur if a segment of the name is拼进 into the path? Joomla's announcement in September 2026 for CVE-2026-90915 provided a real sample: the cache group name was not verified, and the attacker used path traversal to make the clear cache action delete any directory. The common point of these problems is that the function itself is reasonable, but the user-controlled name was not processed before being拼进 into the file path. Any position in the background action where the name, group, and identifier are拼进 into the path is worth reviewing in the same way.

What did the announcement say?

This Joomla core announcement title is 'Through the cache clearing action arbitrary deletion of directories', the defect type is path traversal, the impact level is rated high, the occurrence probability is rated low, the affected versions cover the two series from 4.0.0 to 5.4.8 and 6.0.0 to 6.1.3, and the solution is to upgrade to 5.4.9 or 6.1.4.The cause is that the original text says: The cache group name verification is incorrect, leading to path traversal in the cache layer file storage, which in turn causes arbitrary directory deletion. Low probability does not mean it can be delayed - the triggering conditions are not complex, and the impact falls directly on the file system, and there is no recovery button for deleted directories.

How does a name become a directory traversal?

The cache system usually creates directories by group name and clears directories by group name. If the code directly appends the group name to the root path of the storage, a name containing a jump segment can point the final path to outside the storage root, and the deletion action follows the path, deleting the directory that is拼出来的 that directory.The problem is not with the 'delete' action, but with the way the path is constructed: the name is the input, and the path is the concatenated result, with the validation step missing in between. The solution is also here: restrict the name to the whitelist characters, reject any input containing path separators and jump fragments, and limit the delete action to only act within the storage root, with three layers of overlap to form a closed loop.

Where should the same approach be reviewed?

The three types of locations most worth checking are: the group names and cleanup entry in cache management, the file names and directory parameters in the upload process, and the backup file names and restore paths in the backup and recovery process. When reviewing, you only need to answer one question: will this string be concatenated into a path? If so, where does it come from, does it have a character whitelist, and can the action exceed the preset root directory. The input of background actions is more likely to be ignored than the input on the page, because when writing code, it is default that the operator has logged in, and path traversal is often triggered by a legitimate login session.

What to do besides the upgrade?

Upgrade to solve known issues, input validation is surface-level work. The same validation missing at different positions will evolve into different problems: inserted into a query statement is SQL injection, inserted into page output is cross-site scripting, inserted into a file path is directory traversal - preventing the same thing: untrusted input entering the execution environment without being verified.Leave a backup before deleting or modifying actions: Make a backup before acting, AnQiCMS supports data backup including static files, and can be restored as a whole if there is a problem;Delete the operation limit of the root directory, refuse to exceed the boundary segment, and then converge the entry of high-risk actions to a controlled range, only then can we truly turn 'probability low' into 'not afraid even if it happens'.

Recheck the location Input into the path What to confirm
Cache management Group name, cache key Whitelist and root directory limitation
Upload attachment File name, directory parameters Reject path separators
backup recovery Backup name, restore path Action entry convergence in the background

Common questions

Ask: If the impact rating is high and the probability is low, can we wait a while?Answer: Not recommended. The probability rating is about the difficulty of exploitation, and the impact rating is about the severity of consequences; the consequences of deleting directory files are irreversible, while the cost of the upgrade action itself is very low.

Ask: Will there be any risks if we don't use this feature?Answer: The vulnerability is in the code path, not in the frequency of use; as long as the function is accessible, it may be triggered, and upgrading to the fixed version is a thorough way to deal with it.

Ask: How can I check if my system has similar issues?Answer: Find all the call points in the code where variables are concatenated into paths, check one by one whether the input source has done character whitelist and out-of-bounds checks; When there are no code audit conditions, at least ensure that the system runs on supported versions and keeps up with security updates in a timely manner.

Related articles

How should the announcement handle the defect type written as no longer supported, and what should be done when the affected version is all inclusive?

The type of defect is written as no longer supported, and the affected versions are all security announcements, meaning the project has been abandoned by the maintainer, there will be no fix versions, and the official recommendation is to uninstall instead of upgrade. This article takes the Drupal October 2026 announcement as an example to explain the reading and handling order of such announcements: confirm the scope in use, backup first, disable modules, and look for alternatives.

2026-10-12

When the request header is too long and is directly rejected by the server, should you receive the Cookie first or the custom header first?

The request header is too long and has been rejected by the server corresponding to 431 client error: It may be due to exceeding the total limit, or an individual field exceeds the limit, the response body should specify which one. Troubleshoot first, then collect; tracking cookies are automatically carried by the browser, accumulated for many years, and controllable by the server, which are usually the first to be reduced, followed by custom headers and gateway addition items.

2026-10-12

What do the surge quota and non-delay parameters in the traffic control rules change individually, who decides whether to queue or reject?

Based on the official nginx documentation, break down the three things of rate limiting: rate key statistics, bucket release; burst determines how many extra requests can wait in line, nodelay and delay determine the rhythm at which queued requests are processed; whether a single request is queued or rejected is determined by whether the waiting number at arrival exceeds the burst limit, the return code can be customized with commands.

2026-10-12

What capabilities can be verified by the online experience station and API documentation when selecting?

Do not stop at the feature list: Use the official online experience station to actually open the background to confirm the process and capability boundaries, use the public interface document to confirm which capabilities and fields can be accessed, and then see if the server capabilities can be accessed by external AI clients through a unified protocol. This article provides a list of executable checks and common misjudgments.

2026-10-12

When the email template does not have an escape mechanism, the content filled in behind the scenes will be executed in which link.

Joomla announcement CVE-2026-90918 points out that the email template function lacks an escaping mechanism, leading to multiple extensions appearing cross-site scripting vectors. The template output and page output share the same escaping requirement, and background input items, collected content, and user submitted content are all injection sources; the sensitive word filtering and content review on the writing side cannot replace the escaping on the output side, and the two levels of security should be configured separately.

2026-10-12

The interface for saving data did not check the login status, to what extent will the visitor-level account be built?

Joomla announcement CVE-2026-90907 shows that the data saving controller can be used to create unauthorized guest-level users when the login status is not checked. To assess the impact, consider three things: whether it can create accounts in bulk, which user group the account falls into, and what permissions the group can reach. The three audit points of interface authorization: confirm the login status for each interface, verify the default group of the new account, and raise the cost of bulk abuse by publicly entering a verification code.

2026-10-12

Cross-site request forgery appears on the backup sub-module, why can session credentials not prevent it?

Cross-site request forgery takes advantage of the browser's default behavior of automatically carrying session credentials, the Drupal announcement module backup due to insufficient verification of requests. The defense line cannot be pressed on credentials: source verification blocks cross-site requests, one-time tokens block forgery actions, captcha and manual confirmation raise the threshold for high-risk operations; the backup class of the entire station-level entry should be separately converged to the reachable range.

2026-10-12

The root area key was switched on October eleventh, what check does the site owner actually need to do?

The root zone key switch does not affect the website, but the trust anchor at the top of the validation chain. The actual check that webmasters need to do is only one step: confirm that the recursive resolver used by the site has trusted the new root zone key signing key KSK-2024 by October 11, 2026. According to the official stance, most site operators do not need to make any changes, but the three types of environments that are easily overlooked are self-built resolution, enterprise internal networks, and long-term unupdated basic images.

2026-10-12