Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108854 Overview
CVE-2026-108854 is an Insecure Direct Object Reference (IDOR) vulnerability in UnicomAI Wanwu versions before 0.6.3. Any authenticated and enabled user can delete other users' legacy AppKeys by supplying a numeric apiId to the DELETE /v1/appspace/app/key endpoint. Attackers can iterate sequential key IDs to revoke AppKeys across organization boundaries. The vulnerability is tracked under CWE-639: Authorization Bypass Through User-Controlled Key.
Critical Impact
Cross-tenant deletion of AppKeys breaks Model Context Protocol (MCP) and OpenAPI integrations until key owners manually reissue credentials, producing service disruption across organizations sharing the Wanwu instance.
Affected Products
- UnicomAI Wanwu versions prior to 0.6.3
- Wanwu v0.6.2 (confirmed vulnerable in internal/app-service/client/orm/app_key.go)
- Deployments exposing the /v1/appspace/app/key endpoint to authenticated users
Discovery Timeline
- 2026-10-11 - CVE-2026-108854 published to the National Vulnerability Database
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108854
Vulnerability Analysis
The flaw resides in the AppKey deletion handler, which accepts a user-controlled numeric key identifier and executes the delete query without validating ownership. The ORM layer applies only a WHERE id = ? clause, allowing any authenticated and enabled account to target keys belonging to other users or organizations. Because key IDs are sequential integers, an attacker can enumerate the ID space and issue repeated DELETE requests to revoke every AppKey in the system.
The business impact is operational rather than confidentiality-related. Deleted AppKeys invalidate downstream MCP clients, OpenAPI consumers, and automation pipelines that authenticate against Wanwu. Service restoration requires manual key regeneration by each affected owner.
Root Cause
The root cause is missing authorization enforcement at the data access layer. In v0.6.2, the DelAppKey and DeleteApiKey functions filtered the delete statement by key ID alone. The patch adds userId and orgId predicates so the query only affects rows the caller legitimately owns.
Attack Vector
Exploitation requires any authenticated, enabled Wanwu account. The attacker scripts sequential DELETE /v1/appspace/app/key requests with incrementing apiId values. No elevated privileges, user interaction, or special tooling is required. See the VulnCheck advisory and the HackMD technical write-up for request-level details.
// Patched interface signatures requiring userId and orgId scoping
// Source: https://github.com/UnicomAI/wanwu/commit/13d0b225ec237d5a0b44730b2331efadaeb462a2
type IClient interface {
// ---api key ---
CreateApiKey(ctx context.Context, userId, orgId, name, desc string, expiredAt int64, apiKey string) (*model.OpenApiKey, *err_code.Status)
- DeleteApiKey(ctx context.Context, keyId uint32) *err_code.Status
+ DeleteApiKey(ctx context.Context, keyId uint32, userId, orgId string) *err_code.Status
UpdateApiKey(ctx context.Context, keyId uint32, userId, orgId, name, desc string, expiredAt int64) *err_code.Status
// --- app key ---
GetAppKeyList(ctx context.Context, userId, orgId, appId, appType string) ([]*model.ApiKey, *err_code.Status)
- DelAppKey(ctx context.Context, appKeyId uint32) *err_code.Status
+ DelAppKey(ctx context.Context, appKeyId uint32, userId, orgId string) *err_code.Status
}
// ORM layer: delete query now scoped by owner and organization
// Source: https://github.com/UnicomAI/wanwu/commit/13d0b225ec237d5a0b44730b2331efadaeb462a2
-func (c *Client) DeleteApiKey(ctx context.Context, keyId uint32) *errs.Status {
- if err := sqlopt.WithID(keyId).Apply(c.db.WithContext(ctx)).Delete(&model.OpenApiKey{}).Error; err != nil {
+func (c *Client) DeleteApiKey(ctx context.Context, keyId uint32, userId, orgId string) *errs.Status {
+ if err := sqlopt.SQLOptions(
+ sqlopt.WithID(keyId),
+ sqlopt.WithUserID(userId),
+ sqlopt.WithOrgID(orgId),
+ ).Apply(c.db.WithContext(ctx)).Delete(&model.OpenApiKey{}).Error; err != nil {
return toErrStatus("api_key_delete", util.Int2Str(keyId), err.Error())
}
return nil
}
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-108854
Indicators of Compromise
- Bursts of DELETE /v1/appspace/app/key requests from a single authenticated session targeting sequential apiId values.
- Unexpected AppKey removals reported by MCP or OpenAPI clients that suddenly fail authentication.
- Audit log entries showing key deletions where the acting userId does not match the key owner recorded in app_key tables.
Detection Strategies
- Correlate HTTP access logs for repeated DELETE calls to the AppKey endpoint grouped by source account within short time windows.
- Query database audit tables for app_key and api_key deletions and compare the acting user against the stored user_id and org_id.
- Alert on any Wanwu account that deletes keys across more than one organization identifier.
Monitoring Recommendations
- Enable verbose access logging on the Wanwu app-service reverse proxy and forward it to a centralized log platform.
- Track baseline AppKey deletion rates per tenant and alert on deviations above normal operational churn.
- Monitor downstream MCP and OpenAPI clients for authentication failure spikes that indicate silent key revocation.
How to Mitigate CVE-2026-108854
Immediate Actions Required
- Upgrade Wanwu to version 0.6.3 or later, which enforces owner and organization scoping on key deletion.
- Audit recent DELETE /v1/appspace/app/key traffic and identify any cross-tenant deletions before patching.
- Rotate and reissue any AppKeys suspected of unauthorized deletion to restore MCP and OpenAPI connectivity.
Patch Information
The fix is published in the Wanwu v0.6.3 release via commit 13d0b225. The patch updates DeleteApiKey and DelAppKey to require userId and orgId arguments, which are added as predicates to the ORM delete statement. Review the vulnerable code path in app_key.go lines 26-31 to confirm the pre-patch behavior.
Workarounds
- Restrict access to the /v1/appspace/app/key endpoint at the ingress or API gateway layer until the upgrade is applied.
- Disable non-essential Wanwu user accounts to reduce the pool of identities able to invoke the vulnerable handler.
- Deploy a web application firewall rule to block DELETE requests to the AppKey endpoint from untrusted sources.
# Example ingress rule blocking the vulnerable endpoint pending patch
# NGINX location block
location = /v1/appspace/app/key {
limit_except GET POST PUT {
deny all;
}
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

