BACK TO THE WIRE
SW-000246AWS · AMAZON BEDROCK AGENTCORE · BEDROCK AGENTCORE PYTHON SDK (BEDROCK-AGENTCORE) · OPENTELEMETRY SPAN INSTRUMENTATIONHIGHACTION REQUIRED

CVE-2026-15737: AgentCore Python SDK leaked prompts via OpenTelemetry spans

AWS disclosed CVE-2026-15737 affecting the Bedrock AgentCore Python SDK (bedrock-agentcore) versions 1.4.8 and 1.5.0. The SDK's OpenTelemetry instrumentation wrote raw user prompts and full agent responses into span attributes on every invocation without filtering, exposing this data in the customer's aws/spans CloudWatch log group to any local authenticated user with CloudWatch Logs read access.

SECURITY · AI · CLOUD · VULNERABILITY · SECURITY ADVISORY

PUBLISHED OCT 12, 2026 16:34 UTC

WHAT CHANGED

Affected SDK versions recorded unfiltered, unmasked user prompts and complete agent responses as OpenTelemetry span attributes on each agent invocation. These spans were sent to the aws/spans CloudWatch log group, making sensitive conversational content readable by anyone with CloudWatch Logs read permissions in the account. The issue is fixed in version 1.5.1, which presumably filters or masks this content before it is emitted to spans.

WHY IT MATTERS

Any customer running bedrock-agentcore 1.4.8 or 1.5.0 may have inadvertently logged sensitive prompt and response content into CloudWatch, where it could be accessed by users or roles with log-read permissions but no legitimate need to see agent conversation content. This creates a data exposure risk for PII, credentials, or confidential business data that may appear in prompts or responses. There are no workarounds other than upgrading, and existing exposed logs must be manually reviewed and purged.

WHO IS AFFECTED

ROLES
Administrators with CloudWatch Logs read accessAgentCore developers
PRODUCTS
Bedrock AgentCore Python SDK (bedrock-agentcore)
FEATURES
OpenTelemetry instrumentationaws/spans CloudWatch log group
CONFIGURATIONS
Versions 1.4.8 and 1.5.0 of bedrock-agentcore
ENVIRONMENTS
AWS CloudWatch Logs

WHAT TO DO

  1. 01
    CRITICALAUTOMATABLE

    Upgrade Bedrock AgentCore Python SDK to version 1.5.1 or later.

    DOCUMENTATION
  2. 02
    HIGH

    Patch any forked or derivative code that incorporates the affected SDK logic.

  3. 03
    HIGHAUTOMATABLE

    Review and purge sensitive content from the aws/spans CloudWatch log group for environments that ran affected SDK versions.

  4. 04
    MEDIUM

    Audit which local authenticated users or roles have CloudWatch Logs read access to aws/spans and restrict as needed.

TIMELINE

ANNOUNCED
JUL 16, 2026

SOURCES

  • PRIMARY SOURCEAMAZON WEB SERVICES, INC.

    CVE-2026-15737 - Sensitive content disclosure via OpenTelemetry spans in AgentCore Python SDK

    PUBLISHED JUL 16, 2026VIEW SOURCE

VERIFICATION

HUMAN VERIFIEDLAST VERIFIED OCT 12, 2026 16:34 UTCREVISION 2

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

WAS THIS USEFUL?