AnQiCMS - AnQiCMS v3.6.6 Update Log (Merged v3.6.5)

📅 October 8, 2026 25

Published on October 8, 2026

This article mergesv3.6.5(October 7, 2026) withv3.6.6Two versions of update content. It includes two high-risk security fixes, and it is recommended that all sites upgrade as soon as possible.

🔒 Security fix

  • List sorting parameters can be injected: Template and interfaceorderIn the past, sorting parameters allowed a certain degree of expression writing, which could lead to the construction of malicious queries, and then extract database content (including administrator password hashes). It has now been changed to a strict whitelist of field names: only real column names are accepted表名.列名(Can be quoted) andasc/desc, random sortingRAND()is retained separately, and the rest are discarded and fall back to the default sorting
  • The credentials for login between sites can be forged: The original signature for multi-site jump login was 'password hash + randomly filled in by the calling party', the random string can be repeatedly generated, the ticket never expires, and it does not check the account status or the number of errors - once the password hash is leaked, it is equal to a long-term password-free login. It has now changed to a one-time ticket issued by the server: the key is replaced with the TokenSecret of the site itself, with a validity period of 120 seconds, it is失效 once used, and cannot be issued as a long-term credential; at the same time, account status checks, and IP error locking shared with password login, and record the login time.
  • ⚠️ Please complete two things after the upgrade.: There is no revoked field in the administrator credentials. If the site has been attacked, simply upgrading is not enough to clear the sessions obtained by the attacker. Please also rotate the TokenSecret of all sites (websites.token_secret) and change all administrator passwords.
  • Interface echoes sensitive configuration: Fixed two issues where the site details interface echoed the database password and exposed the SMTP authorization code.

✨ New Feature

  • MCP tool layer rebuilt by 'intention': The tool surface has been refactored from the original 'ability (cap)' to the intention directory, with a significant reduction in the number of tools and exposure surface, making the calling target clearer and the unauthorized surface smaller.
  • Round-level batch approval: Multiple write operations within the same turn are merged into a single confirmation, no longer interrupted one by one; read operations do not disturb, sensitive paths are still confirmed one by one.
  • Email subscription: New site email subscription capability, supports subscriber management and mass email distribution, with progress reporting during mass distribution.
  • Message list query: New message list tool for direct query of site messages.
  • Attachment tag and direct upload: Content/template supports attachment tag; MCP attachment upload supports base64 image direct upload.
  • Sensitive word replacement by keyword: Sensitive words are no longer only filtered, keyword replacement is supported.
  • Backup capability expansion:Site backup/restoration included static files, template backup covers more data tables.
  • Template and search enhancement:jsonFilter added encode / decode; built-in file search support**Recursive wildcard; message export adds creation time, IP, source (Referer).

⚡ Feature Optimization

  • Programmatic update supports PATCH semantics:When updating documents/categories and other content, only the fields passed in will be overwritten, and the fields not passed in will automatically retain the original value and will no longer be cleared - batch title change, description change is safer.
  • Tool exposure surface narrowingConverge the exposure surface of MCP tools, migrate robots-related to the operation and maintenance domain and add open access control; change the scope of capability authorization to automatic expiration and clarify it as a global scope.
  • Strengthen the interface contractRebuild and embed the API directory, strengthen routing verification; unify the results into a standard envelope structure and retain pagination fields; fill in fields for interfaces that ignore some fields.
  • Align built-in skills with actual capabilitiesSkills changed to call the current intent name, historical tool names automatically mapped; supplement usage instructions such as 'verify existence statement before action'.
  • Merge attachment classificationRemove attachmentCategory, use category as the attachment category consistently.
  • Optimize template loading logic; improve email notification process and payment handling.systemAdd compatible field names to tags; adjust the length of the email column in the subscription table; update i18n, dependencies, and README.

Bug fixes

  • Cannot see the reason when the call is rejected.: Previously restricted calls only reported 'Call not completed', but now the Chinese refusal reason and next step guidance are returned with the result, so the caller can directly read what to do.
  • Panic caused by an empty body in POST.: The POST interface no longer crashes when receiving an empty request body; it will also write readable response content when recovering from panic.
  • Successfully reported the deletion of a non-existent record as successful.: Deleting a non-existent record no longer returns successful.
  • Document query/update silent data corruption.: Fixed the data corruption problem in the document query and update path.
  • HTML cache state null pointer.: Fixed the crash in cache state tracking.
  • robots.txt output error.: Fixed the content where the percentage sign was mistakenly taken as a formatting symbol.
  • Translation of empty input.: Refuse empty input before initiating a network request.
  • File tool error marking: Mark the MCP file tool failure correctly as an error and supplement the missing rejection text.
  • Fix label url_token error, city station template construction cache error, friend link structure error.
  • Fix LLMs exclusion classification not taking effect, sensitive words not taking effect immediately after saving,sepField cannot be saved.
  • Supplement the missing favorite_count field in the archives table.

Related articles

AnQiCMS 2026 September update: AI visual editor, MCP support and multiple fixes

AnQiCMS was released on September 4, 2026, with a major update, adding AI visual template editor, MCP Server integration, reCAPTCHA captcha, automatic tags, template backup and replacement features, and optimizing AI assistant, translation search, JSON-LD, etc. At the same time, it fixed multiple bugs in AI TDK generation, writing count reset issues, and scheduler bugs.

2026-09-04

AnQiCMS v3.6.2 Update Log

Published on June 29, 2026 ✨ Added features: AI conversation system refactoring: multi-model switching (anqi-flash / anqi-pro / custom model), support for file attachment upload, AiSetting persistence of the last used model, refactoring of conversation session mechanism.AI Agent Intelligent Agent with scheduling tasks: Added AiAgent model (supporting Cron expressions, execution strategy, and number limits), AiAgentLog records execution status;Integrated robfig/cron scheduler, automatically loaded and scheduled Agent tasks at startup. Inbuilt 7 AI seed skills

2026-06-29

AnQiCMS - AnQiCMS v3.6.1 Update Log

Published on June 22, 2026 ⚡ Performance optimization 📦 Binary size reduced by 50%: By replacing the heavy SDK with native HTTP calls, the program size was greatly reduced (103 MB → 51 MB), reducing distribution and deployment costs.The support for multilingual and SEO multilingual top-level domains: Multilingual sites support using top-level domains as independent site domains. Sitemap optimization: Adjust the Sitemap generation logic to better meet Google's requirements for XML Sitemap format.Bug fix: Path traversal vulnerability fixed: Replaced black list with white list, enhanced template operation security. AI

2026-06-22

AnQiCMS - AnQiCMS v3.6.0 Update Log

Published on June 16, 2026 ✨ New feature 💬 AI Chat intelligent dialogue: Added AI Chat dialogue function, supporting intelligent Q&A and content creation based on large AI models, and integrating an independent dialogue interface on the back-end. 🔧 AI Tool Calling (Tool Calling): AI conversations support the complete tool calling chain, AI can independently call built-in tools to complete document management, setting modifications, data queries, and other operations. 📦 Built-in AI Toolset: Added 80+ AI tools, covering file operations, Shell commands, Web search/crawling, code intelligent analysis, and more, greatly expanding the AI capability boundary. 📄 AI

2026-06-16

A version update fixes sorting parameter injection and the possibility of login credentials being forged, why should the key be changed at the same time

AnQiCMS v3.6.6 (2026-10-08) fixes two high-risk issues: list sorting parameters can be injected into the query to form SQL injection, and the login credentials used for site switching may be forged. The official upgrade recommendation is to simultaneously rotate the site signature key and change the administrator password. This article explains why the upgrade only closes the entry and does not invalidate the credentials that have already been released, as well as why the steps of key rotation, password change, and backup should be completed in the same upgrade window.

2026-10-13

MCP tool layer reconstruction and email subscription, what to look for in the v3.6.5 update record.

AnQiCMS v3.6.5 released on October 7, 2026, the core changes are that the MCP tool layer has been rebuilt based on the intent directory and supports round-by-round batch approval, while also adding email subscription, message list, attachment base64 upload, template backup table expansion and file search wildcard capabilities. This article interprets the meaning of the changes item by item according to the update records, and provides a checklist of actions before and after the upgrade.

2026-10-13

v3.6.6 Upgrade checklist on the day: change the site signature key first or change the administrator's password first.

v3.6.6 (Released on 2026-10-08) fixed two high-risk issues of SQL injection in list sorting parameters and forged login credentials during site switching, the official upgrade recommendation is to rotate the site signature key and change the administrator password. The order of the day is: backup stop writing, upgrade program, rotate signature key, change administrator password, clear session and log in again, and finally verify list sorting and site switching.

2026-10-15

v3.6.6 security update details: fixed sorting parameter injection and credential forgery issues.

v3.6.6 was released on October 8, 2026, fixing two high-risk issues: SQL injection in list sorting parameters and the login credentials of site switching being forgeable. It is recommended to rotate the site switching key and change the administrator password to ensure system security.

2026-10-15