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-108865 Overview
CVE-2026-108865 is an authentication bypass vulnerability in AmoyLab Unla through version 0.10.0. The flaw resides in the OAuth2 server implementation, which never authenticates a resource owner during the authorization flow. Unauthenticated attackers can register a client, request an authorization code from the /authorize endpoint, and exchange it at /token for a valid access token. The resulting token grants access to OAuth2-protected Model Context Protocol (MCP) prefixes, proxied upstream APIs, and injected credentials. The weakness is classified under [CWE-287: Improper Authentication].
Critical Impact
Remote, unauthenticated attackers can mint valid OAuth2 access tokens and access protected MCP endpoints, upstream APIs, and injected credentials proxied by Unla.
Affected Products
- AmoyLab Unla versions through 0.10.0
- Unla OAuth2 server component (internal/auth/oauth.go)
- Downstream MCP prefixes and proxied upstream APIs served by Unla
Discovery Timeline
- 2026-10-11 - CVE-2026-108865 published to the National Vulnerability Database
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108865
Vulnerability Analysis
Unla exposes a standards-style OAuth2 authorization server to broker access to MCP endpoints and proxied upstream APIs. The authorization flow in internal/auth/oauth.go lines 86 to 147 processes requests to /authorize without validating the identity of the resource owner. Any network-reachable client can dynamically register, hit the authorization endpoint, and receive a code back-to-back with a token exchange at /token. Because the server treats the self-issued authorization as sufficient, the issued access token carries full scope to protected MCP prefixes and the credentials Unla injects into upstream API calls. Attackers can abuse this to read or invoke tooling that was expected to require interactive user consent and authentication.
Root Cause
The root cause is a missing authentication step in the OAuth2 authorization code grant. The /authorize handler issues codes without binding them to an authenticated resource owner, and the /token handler accepts those codes without any out-of-band verification. This collapses the three-party OAuth2 trust model into a one-party flow where the client is also the implicit resource owner.
Attack Vector
Exploitation requires only network access to the Unla instance. An attacker performs client registration against the Unla OAuth2 server, calls /authorize with the registered client identifier and a redirect URI under attacker control, and receives an authorization code. The attacker then posts the code to /token and receives an access bearer token. That token is presented in the Authorization header to any OAuth2-protected MCP route configured in Unla, including upstream API proxies that attach injected credentials server-side. No user interaction, phishing, or prior credential theft is required. Full exploitation details are documented in the VulnCheck advisory for Unla and the HackMD OAuth token authorization writeup.
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-108865
Indicators of Compromise
- Unexpected POST requests to the Unla OAuth2 dynamic client registration endpoint from unknown source addresses
- Sequential /authorize and /token requests originating from the same client identifier without any associated interactive login event
- Access tokens used against MCP prefixes or proxied upstream APIs with client identifiers that were not provisioned by administrators
- Outbound requests from Unla to upstream APIs that correlate with newly registered OAuth2 clients
Detection Strategies
- Audit Unla access logs for /oauth/register, /authorize, and /token sequences completed without a user consent screen interaction
- Correlate issued access_token identifiers with the inventory of approved OAuth2 clients and alert on unknown entries
- Monitor MCP route invocations for client identifiers that first appeared after the vulnerable deployment window
Monitoring Recommendations
- Forward Unla application and reverse-proxy logs to a central analytics pipeline such as the Singularity Data Lake for retention and query at scale
- Build detections that alert when any single source IP completes the full register to token chain within seconds
- Baseline normal OAuth2 client inventory and alert on dynamic registrations outside maintenance windows
How to Mitigate CVE-2026-108865
Immediate Actions Required
- Restrict network exposure of the Unla OAuth2 endpoints to trusted administrative networks until a fixed release is applied
- Disable dynamic client registration on affected Unla deployments if the configuration permits
- Rotate any upstream API credentials that Unla injects into proxied requests, since valid tokens may already have exfiltrated them
- Review access logs for /authorize and /token activity dating back to initial deployment of a vulnerable version
Patch Information
At the time of publication, no fixed version is referenced in the advisory. Monitor the AmoyLab Unla GitHub project for a release above 0.10.0 that enforces resource-owner authentication in the authorization code flow. The vulnerable logic is located in internal/auth/oauth.go lines 86-147 and the surrounding server wiring in internal/core/server.go lines 229-261.
Workarounds
- Place Unla behind an authenticating reverse proxy that requires valid session credentials before any /authorize or /token request reaches the application
- Block external access to Unla OAuth2 endpoints using network ACLs or a web application firewall rule set
- Remove or scope down injected upstream credentials so that any token obtained by an attacker grants minimal downstream privilege
# Example NGINX restriction limiting OAuth2 endpoints to an internal CIDR
location ~ ^/(authorize|token|oauth/register) {
allow 10.0.0.0/8;
deny all;
proxy_pass http://unla_upstream;
}
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

