BACK TO THE WIRE
SW-000092AMAZON WEB SERVICES · AWS SECURITY AGENT · AWS-AGENTS-FOR-DEVSECOPS PLUGIN AND AWS SECURITY AGENT MCP SERVER · S3 BUCKET OWNERSHIP VERIFICATION FOR SCAN-INPUT STORAGE BUCKETHIGHACTION REQUIRED

AWS discloses S3 bucket ownership flaw in Security Agent plugin and MCP server

AWS published bulletin 2026-105-AWS describing two vulnerabilities, CVE-2026-87912 and CVE-2026-87913, affecting the AWS Security Agent plugin in aws-agents-for-devsecops (<=1.0.0) and the AWS Security Agent MCP server (>=0.1.0 and <=0.1.5). Both stem from missing S3 bucket ownership verification, allowing a remote attacker to pre-register a predictably named storage bucket derived from a public account identifier and obtain a scanned workspace's private source archive, including embedded credentials and infrastructure state. Fixes are available in version 0.2.0 of agent-toolkit-for-aws and awslabs.security-agent-mcp-server.

SECURITY · CLOUD · STORAGE · DEVOPS · AI · VULNERABILITY · SECURITY ADVISORY

PUBLISHED OCT 22, 2026 15:03 UTC

WHAT CHANGED

AWS identified that its Security Agent plugin (used within aws-agents-for-devsecops) and the separate AWS Security Agent MCP server did not verify ownership of the S3 bucket used to store scan-input source archives. The bucket name follows a predictable pattern (security-agent-scans-<account-id>-<region>) derived from a publicly knowable account identifier, allowing an attacker to pre-register that bucket name in their own account and capture uploaded scan archives containing source code, credentials, and infrastructure state. The issue is tracked as CVE-2026-87912 (plugin, versions <=1.0.0) and CVE-2026-87913 (MCP server, versions >=0.1.0 and <=0.1.5). AWS has released fixed versions (0.2.0) of both components.

WHY IT MATTERS

Because upgrading does not reclaim a bucket name already registered by a third party, customers who used earlier versions before AWS released the fix may already have private source archives, credentials, and infrastructure state exposed to an attacker-controlled bucket. Administrators must confirm bucket ownership in their own account and apply the vendor's workaround in addition to upgrading, since patching alone does not remediate any prior exposure or an already-squatted bucket name.

WHO IS AFFECTED

ROLES
AWS security administratorsDevSecOps engineersCloud infrastructure teams
PRODUCTS
AWS Security Agentaws-agents-for-devsecops (agent-toolkit-for-aws)AWS Security Agent MCP Server (awslabs.security-agent-mcp-server)
FEATURES
S3 bucket ownership verification for scan-input storage buckets
CONFIGURATIONS
Scan-input bucket naming pattern security-agent-scans-<account-id>-<region>
ENVIRONMENTS
AWS accounts using AWS Security Agent plugin or MCP Server for code scanning

WHAT TO DO

  1. 01
    HIGHAUTOMATABLE

    Upgrade aws-agents-for-devsecops (agent-toolkit-for-aws) to version 1.1.0 or later to remediate CVE-2026-87912.

    DOCUMENTATION
  2. 02
    HIGHAUTOMATABLE

    Upgrade AWS Security Agent MCP Server (awslabs.security-agent-mcp-server) to version 0.2.0 or later to remediate CVE-2026-87913.

    DOCUMENTATION
  3. 03
    CRITICALAUTOMATABLE

    Verify that the scan-input bucket named security-agent-scans-<account-id>-<region> in your account is owned by your own AWS account, since upgrading does not reclaim a bucket name already registered by a third party.

    DOCUMENTATION
  4. 04
    HIGHAUTOMATABLE

    As a precaution, pre-create the predictable scan-input bucket in your own account before first use to prevent registration by another account.

    DOCUMENTATION
  5. 05
    MEDIUM

    Patch any forked or derivative code that incorporates the affected plugin or MCP server logic.

    DOCUMENTATION

TIMELINE

ANNOUNCED
SEP 10, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES, INC.

    CVE-2026-87912 and CVE-2026-87913: Missing S3 bucket ownership verification in the AWS Security Agent plugin for aws-agents-for-devsecops and MCP Server

    PUBLISHED SEP 10, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 22, 2026 15:03 UTCREVISION 2

ShiftWire summarizes and analyzes changes from the cited sources. Always review the primary source before implementing material changes.

WAS THIS USEFUL?