v3.6.6 Upgrade checklist on the day: change the site signature key first or change the administrator's password first.
On the day of upgrading to v3.6.6, should you first rotate the site signature key or change the administrator's password? The order depends on which item eliminates the 'existing risks': This version (released on 2026-10-08) fixed two high-risk issues - SQL injection in the list sorting parameters, and the login credentials used for site switching can be forged.The official upgrade recommendation is to rotate the site signature key and change the administrator password at the same time. The correct route for the day is: first back up and stop writing, then upgrade the program, then rotate the signature key and change the administrator password, and finally retest with two verification checklists.The key rotation is in front of changing the password, because credential forgery takes advantage of the signature system, and the old forgery path will be completely invalid after the program upgrade and rotation.
Which two types of issues did this version fix
The first type is listed in sorting: The front-end and back-end list interfaces support sorting parameters, the problem lies in the fact that the parameter does not take a complete safe value path, there is an SQL injection risk - the particularity of this type of location is that 'it looks like a display function, but it is actually a query entry', attackers do not need to log in to be able to touch the injectable parameter surface.The second type in multi-site switching: The login credential mechanism in the site switching scenario can be forged, v3.6.6 changes the handling direction of such credentials to one-time tickets.Together, the two explain why the upgrade action is not just 'change binary': the program has been updated, and if the signature system continues to use the old key, the assets historically issued are theoretically still assets that need to be zeroed out.
Backup and stop writing window before upgrade
Ensure you have a backup plan before you start: Use the system's backup capabilities to perform a full backup, covering data and static files; after the backup is complete, enter the write pause window, pause batch imports and scheduled publishing tasks to avoid drafts or content to be published being stuck in the middle during the upgrade. The length of the write pause window should be controlled within a few minutes as measured by the upgrade steps, and choose the off-peak hours. Inform the corresponding editors in advance for multilingual sites and sites with multiple brands about which sites cannot update content today, and do not submit pages in draft status during the window period.
The order of the day: upgrade, rotate the signature key, change the administrator password
The first step, upgrade the program to v3.6.6, follow the respective paths according to the deployment method (panel deployment or image deployment), after completion, first confirm that the version number is displayed correctly.Step two, rotate the site signature key: This is the action to invalidate all credentials issued in the past that may have been leaked. After rotation, all old sessions will naturally expire, and it should be done before changing the password to avoid clearing the session again and disrupting the user twice.Step three, change the administrator's password, which is the door held by the person; placed after the rotation key, the administrator uses the new password to establish a new session, and the verification process is completed along the way.Step four, clear the old login status cached on the browser side, and other members log in again. The sequence of the four actions is causal, not habitual: program, key, password, session, from machine to human, layer by layer.
Verification point: List sorting and site switching
Two fixes each provided with a real test path. List sorting: to the front-end list page and the back-end document list, sort parameters (time, title, custom field ascending and descending order) are refreshed individually, confirm that the results are returned normally, and there are no abnormal query errors in the log - this is also for re-testing the repair effect of 'sort parameters going through the safe value path'.Site switching: Under multi-site configuration, continuous switching twice or more, confirm that each switch requires re-validation, and returning to the original site does not result in direct login bypass; this verifies the non-reusability of one-time tickets.Run the routine chain one last time: create a draft, preview, convert to official, confirm the normal status flow, and ensure the recycle bin can be entered and returned.
Common questions
Question: Is it okay to only upgrade the program without changing the signature key?Answer: The upgrade has fixed the code path, but the historically issued credentials are not invalidated with the code update; the official upgrade recommendation is to rotate the signature key and change the administrator password as a package of actions, and to break them apart is equivalent to leaving half a tail.
Question: Will key rotation kick online users off the line?Yes, sessions based on the old key will expire and require re-login, so it is recommended to solve it in one go before stopping the writing window and changing the password.
Question: What should I do if the sorting combination still reports an error during verification?Answer: First, confirm whether there is cache interference or old template interference. If the version is correct and still abnormal, suspend the batch API call to the outside and check the integrity of the patch according to the update record.