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

CVE-2026-103958: Loom for AWS SSRF Vulnerability

CVE-2026-103958 is an SSRF flaw in Loom for AWS that lets authenticated attackers access container credentials and read internal network responses. This post covers technical details, affected versions, impact, and mitigation.

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

CVE-2026-103958 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in AWS Loom versions prior to 1.7.0. The flaw resides in the tool server and remote agent connection handling logic. An authenticated remote user can supply a crafted connection address when registering, updating, or testing a tool server or remote agent. This causes the application to issue outbound requests to attacker-chosen destinations, including internal network locations and the container's instance metadata service.

Critical Impact

Authenticated attackers can harvest the container role credentials of the Loom application and read responses from arbitrary internal network endpoints, enabling lateral movement within the AWS environment.

Affected Products

  • AWS Loom versions prior to 1.7.0
  • Deployments of awslabs/loom running tool server registration workflows
  • Loom instances with remote agent connection functionality enabled

Discovery Timeline

  • 2026-10-02 - CVE-2026-103958 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-103958

Vulnerability Analysis

The vulnerability is a classic Server-Side Request Forgery weakness in a feature that accepts user-controlled URLs. Loom allows authenticated users to register, update, or test tool servers and remote agents by providing a connection address. The application does not sufficiently validate or restrict the destination of that address before issuing a request to it. As a result, the Loom process initiates outbound HTTP requests to targets the attacker controls, including loopback addresses, link-local metadata endpoints, and private VPC subnets.

Because Loom typically runs inside a container with an attached IAM role, attackers can direct the SSRF at the AWS Instance Metadata Service (IMDS) or container credentials endpoint. The response, including temporary AWS credentials, is returned to the attacker through the tool server or agent testing interface.

Root Cause

The root cause is missing allowlist validation on user-supplied connection URLs in the tool server and remote agent handlers. The code dereferences the supplied address and performs a server-side fetch without blocking private IP ranges, metadata endpoints, or non-HTTPS internal services. See the GitHub Loom Security Advisory GHSA-w6g6-h8pv-6mc7 for the upstream analysis.

Attack Vector

Exploitation requires an authenticated session with permission to configure tool servers or remote agents. The attacker submits a connection address pointing to an internal resource, then triggers a registration, update, or test operation. Loom fetches the URL from its own network context and returns the response body or error to the attacker. Targets include 169.254.169.254 for IMDS, container credential endpoints, internal admin consoles, and VPC-only services.

See the AWS Security Bulletin 2026-124 for AWS's official guidance.

Detection Methods for CVE-2026-103958

Indicators of Compromise

  • Outbound requests from Loom containers to 169.254.169.254, 169.254.170.2, or other link-local addresses that do not match normal baseline behavior.
  • Tool server or remote agent configuration entries whose connection address targets loopback, private, or metadata ranges.
  • Unexpected use of the Loom container's IAM role credentials from source IP addresses outside the task's normal operating region or account.

Detection Strategies

  • Review Loom application logs for register, update, and test operations against tool servers and remote agents, flagging any with non-public destination hosts.
  • Correlate AWS CloudTrail events for the Loom task role with the task's expected API usage pattern; investigate any divergence as potential credential theft.
  • Inspect VPC Flow Logs for traffic from Loom task ENIs to internal services the application should not reach.

Monitoring Recommendations

  • Enable IMDSv2 session-token enforcement to raise the bar for SSRF-based credential theft.
  • Alert on any AWS STS GetCallerIdentity or credential-use events from Loom's role originating outside the task's known network path.
  • Monitor configuration changes to the Loom tool server registry and require review for new remote agent endpoints.

How to Mitigate CVE-2026-103958

Immediate Actions Required

  • Upgrade AWS Loom to version 1.7.0 or later using the GitHub Loom Release v1.7.0 artifacts.
  • Rotate the IAM credentials associated with the Loom container role to invalidate any credentials that may have been exfiltrated.
  • Audit existing tool server and remote agent registrations and remove any entries referencing internal or metadata addresses.

Patch Information

The vendor fix is included in AWS Loom 1.7.0. The release notes and advisory are published at the GitHub Loom Release v1.7.0 page and the GitHub Loom Security Advisory GHSA-w6g6-h8pv-6mc7. Operators running managed deployments should also follow the AWS Security Bulletin 2026-124 for environment-specific remediation steps.

Workarounds

  • Enforce IMDSv2 on the host or task and set http-put-response-hop-limit to 1 to block container-level SSRF against the metadata service.
  • Restrict the Loom task's egress with security groups or a network policy so it can reach only approved tool server and agent endpoints.
  • Limit the privileges of users permitted to register, update, or test tool servers and remote agents until the upgrade is deployed.
bash
# Example: enforce IMDSv2 and a hop limit of 1 on an EC2 instance hosting Loom
aws ec2 modify-instance-metadata-options \
  --instance-id i-0123456789abcdef0 \
  --http-tokens required \
  --http-put-response-hop-limit 1 \
  --http-endpoint enabled

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.