cc-connect WPS Agentspace 權限驗證缺失需修補訊息邊界
cc-connect WPS Agentspace missing authorization needs a message-boundary fix
cc-connect 的 WPS Agentspace 整合存在權限驗證缺失漏洞 CVE-2026-138328,影響截至 1.5.1-beta.3 的版本;漏洞可被遠端觸發,並有公開利用程式。CNA 指 1.5.1-beta.4 已修復問題,修補提交為 3c3158303bde48d44af642906633f7673584f9e4。升級後應確認事件簽署驗證、租戶邊界及訊息授權檢查均正常。
cc-connect WPS Agentspace missing authorization needs a message-boundary fix
cc-connect is an integration layer that connects chat platforms to agent tools. CVE-2026-138328 affects releases through 1.5.1-beta.3. The vulnerable path is handleUserMessage in platform/wps-agentspace/wpsagentspace.go, where the CNA describes missing authorization. The issue can be reached remotely, the record says a public exploit exists, and the affected component should be upgraded.
The vulnerability sits at a boundary that is easy to underestimate. A platform adapter receives a message, resolves the sender and conversation, and chooses which agent or tool action to run. If the adapter does not verify that the sender may perform that action in that context, the platform's own login can become the only gate. An attacker with a valid account or a forged event may trigger work that belongs to a different conversation, workspace, or permission level.
Fixing the handler should begin with an explicit authorization object. The adapter should derive the tenant, user, conversation, message type, and requested action from authenticated platform data. It should then call a policy check before invoking the agent. Do not infer trust from a display name, a message prefix, a webhook URL, or a field supplied in the message body. Those values can change independently of the authenticated principal.
The public fix is commit 3c3158303bde48d44af642906633f7673584f9e4, and the CNA says version 1.5.1-beta.4 resolves the issue. Verify that the deployed binary or container digest contains the reviewed release. A beta version string in a UI is not enough if an older image remains behind a reverse proxy. Check the running process, package lock, and container image together.
Review the WPS Agentspace event verification path as part of the upgrade. Confirm that the adapter validates the platform signature or authenticated channel, binds the event to the expected tenant, and rejects duplicate or stale messages. Authorization should not depend on a shared secret being unguessable. If a webhook endpoint is exposed, rate-limit it, log rejected signatures, and alert on a sender that starts invoking actions outside its normal conversation set.
An agent integration also needs tool-level authorization. A chat user may be allowed to ask a question but not to run a command, create a file, or read another workspace. Map those decisions to tool scopes and enforce them in the execution service. The platform adapter can be fixed while a downstream tool still trusts any request that reaches it. Test the complete path with a low-privilege account.
For incident review, collect the original platform event, the authenticated principal, the resolved workspace, the agent action, and the tool receipt. If those fields are missing, improve logging before the next incident. Search for messages that triggered actions outside normal hours, from a new conversation, or with a changed sender role. Distinguish a rejected authorization attempt from a successful one.
The CNA score is lower than the server-side SQL injection cases in this batch, but the operational consequence can still be serious because an agent may act on behalf of a user. Upgrade to the fixed beta, verify the signature and tenant boundary, and test that a valid message cannot borrow another conversation's authority.
References
來源:DEV Community · dev.to