Skip to main content
Vulnerability Database/CVE-2026-103957

CVE-2026-103957: Loom for AWS OAuth2 SSRF Vulnerability

CVE-2026-103957 is a server-side request forgery vulnerability in Loom for AWS OAuth2 discovery handling that enables authenticated attackers to steal access tokens and make requests to internal systems. This article covers technical details, affected versions, impact assessment, and mitigation steps.

Published:

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-103957 Overview

CVE-2026-103957 is a server-side request forgery (SSRF) vulnerability in the OAuth2 discovery handling of Loom for AWS versions prior to 1.7.0. An authenticated remote user can supply a crafted discovery document address when registering a tool server or remote agent configured for delegated authentication. The flaw allows the attacker to obtain the access token of another user of the deployment and to force the application to issue requests to arbitrary internal network locations. The weakness is classified under CWE-201: Insertion of Sensitive Information Into Sent Data.

Critical Impact

An authenticated user can hijack another user's OAuth2 access token and pivot requests into internal network locations through the Loom deployment.

Affected Products

  • Loom for AWS versions prior to 1.7.0
  • Deployments using OAuth2 delegated authentication for tool servers
  • Deployments using OAuth2 delegated authentication for remote agents

Discovery Timeline

  • 2026-10-02 - CVE-2026-103957 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-103957

Vulnerability Analysis

The vulnerability resides in how Loom for AWS processes OAuth2 discovery documents during registration of tool servers and remote agents. When an authenticated user registers one of these components for delegated authentication, the application fetches a discovery document from a user-supplied URL. The handler does not sufficiently validate or restrict the destination of that fetch. As a result, the application acts as a confused deputy, making outbound HTTP requests on behalf of the attacker.

Two distinct impacts stem from this behavior. First, the discovery flow can be steered to a URL under attacker control, causing another user's OAuth2 access token to be delivered to the attacker's endpoint during the delegated authentication exchange. Second, the discovery fetch can target arbitrary internal network addresses, including cloud metadata services and internal management interfaces that are normally unreachable from outside the deployment.

Root Cause

The root cause is insufficient validation of the discovery document address accepted at registration time. The OAuth2 discovery handler trusts the supplied endpoint and uses it to drive subsequent token-related requests. Because the destination is not constrained to a safe set of hosts, the handler issues requests that leak sensitive information to attacker-chosen destinations and reach internal resources, which maps to [CWE-201].

Attack Vector

Exploitation requires an authenticated account on the Loom deployment and user interaction tied to the delegated authentication flow. The attacker registers a tool server or remote agent and supplies a crafted discovery document URL. When the targeted user completes the delegated authentication, the application contacts the attacker-controlled discovery endpoint and can be induced to disclose the user's access token or to probe internal network locations reachable from the Loom host.

No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-jcxf-gpf4-58hm for coordinated technical details.

Detection Methods for CVE-2026-103957

Indicators of Compromise

  • Registrations of tool servers or remote agents that reference discovery document URLs on external or unexpected hosts.
  • Outbound requests from the Loom application to private address ranges such as 169.254.169.254, 10.0.0.0/8, 172.16.0.0/12, or 127.0.0.0/8.
  • OAuth2 token exchange traffic terminating at domains not associated with configured identity providers.
  • Unexpected access token use from new IP addresses shortly after a delegated authentication flow.

Detection Strategies

  • Inspect Loom audit logs for register events targeting tool servers or remote agents with user-supplied discovery URLs, and alert on non-allowlisted hosts.
  • Correlate outbound HTTP egress from the Loom service with the registration events to identify requests to internal CIDRs or cloud metadata endpoints.
  • Compare the iss, authorization_endpoint, and token_endpoint fields in fetched discovery documents against an approved identity provider list.

Monitoring Recommendations

  • Capture egress traffic from Loom hosts at the VPC or proxy layer and retain destination metadata for review.
  • Monitor Loom application logs for discovery fetch errors, redirects, and timeouts that may indicate SSRF probing.
  • Alert on new or modified delegated authentication configurations outside of change windows.

How to Mitigate CVE-2026-103957

Immediate Actions Required

  • Upgrade Loom for AWS to version 1.7.0 or later as specified in the vendor advisory.
  • Audit existing tool server and remote agent registrations and remove any configured with untrusted discovery URLs.
  • Rotate OAuth2 client secrets and revoke user access tokens that may have been exposed through delegated authentication flows prior to patching.

Patch Information

AWS has released Loom version 1.7.0, which remediates the SSRF in the OAuth2 discovery handler. Download details are published in the GitHub Loom Release v1.7.0 notes and in AWS Security Bulletin 2026-124.

Workarounds

  • Restrict which users are permitted to register tool servers and remote agents until the upgrade is applied.
  • Place the Loom deployment behind an egress proxy that denies requests to internal CIDRs and cloud metadata services.
  • Enforce an allowlist of identity provider hostnames at the network layer for OAuth2 discovery traffic.
bash
# Example egress restriction using iptables to block instance metadata access
iptables -A OUTPUT -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -p tcp --dport 80 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -p tcp --dport 443 -j REJECT

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.