AWS API MCP Server custom security policy bypass through incorrect operation-name normalization

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-125271?

CVE-2026-125271 is a vulnerability classified as Comparison Using Wrong Factors and Incorrect Authorization, affecting aws-api-mcp-server (affected versions: 0.2.13 – < 1.5.1). This vulnerability is rated High, with a CVSS score of 8.5. There is not enough data to determine whether this vulnerability has been exploited.

Overview

Original source data

Incorrect normalization of operation names in the custom security policy enforcement in awslabs aws-api-mcp-server before 1.5.1 might allow an actor to execute AWS API operations across AWS services that the operator's security policy was configured to deny or require elicitation for, via calls to operations whose names contain consecutive capital letters. To remediate this issue, users should upgrade to version 1.5.1.

Affected products and scope

  • AWS aws-api-mcp-server: affected at >= 0.2.13 and < 1.5.1.
  • The confirmed patched version is 1.5.1.
  • The AWS advisory states that the remote AWS API MCP Server offering is not affected, and that READ_OPERATIONS_ONLY and REQUIRE_MUTATION_CONSENT are not affected.
  • The normalized record marks the default status as unaffected outside the listed affected range, but it does not independently establish the status of every later or parallel branch.

Technical details

The affected component is custom security policy enforcement in awslabs.aws-api-mcp-server. Before comparing a requested operation name with policy entries, the server normalizes the name incorrectly. For operations whose names contain consecutive capital letters, correctly written denyList or elicitList entries may fail to match, so the intended deny or elicitation requirement is not enforced. The triggering input is an AWS API operation name supplied in a call to a locally run server. Preconditions include a local server deployment, a custom security policy that lists an affected operation, and user interaction with the AI assistant. The flaw can reach AWS APIs across services that the server is configured to call. The specific normalization rule and the implementation change used to fix it are not established by the available evidence.

Exploitability

  • Reachability: The issue applies to a locally run server; the vendor advisory states that the remote AWS API MCP Server offering is not affected.
  • Preconditions: The deployment must use a custom security policy containing relevant entries, and a user must interact with the AI assistant.
  • Authentication and complexity: The supplied scoring metadata describes no privileges required and low attack complexity. The call nevertheless depends on interaction with the AI assistant in the affected deployment.
  • Exploitation status: The available evidence does not establish active exploitation or a public exploit; the record leaves known_exploited and public_exploit unspecified.

Technical impact

The flaw breaks the authorization boundary enforced by the custom security policy and may allow an operation that the operator configured to deny or require elicitation to execute. Depending on the operation and the AWS permissions granted to the server, the consequences may affect the confidentiality, integrity, or availability of AWS resources. Examples in the advisory include changing identity configuration, deactivating an MFA device, and deleting a database cluster. The affected scope is constrained by the deployment conditions: a locally run server, a custom policy listing an affected operation, and interaction with the AI assistant. There is no evidence that the remote offering or the READ_OPERATIONS_ONLY and REQUIRE_MUTATION_CONSENT modes are affected.

Business impact

If an operation that the policy was intended to block is executed, the organization may lose an important guardrail over AWS accounts and services managed through the MCP server. Potential consequences include unintended data access, changes to resources or identity controls, and service disruption, depending on the operation and the AWS permissions available to the server. The advisory gives examples including creating a federated identity provider, deactivating an MFA device, and deleting database clusters. The available record does not establish a specific breach or business loss.

Remediation

  1. Upgrade awslabs.aws-api-mcp-server to version 1.5.1.
  2. For forks or derivative code, incorporate the same fix rather than assuming that a package upgrade covers source-based deployments.
  3. After updating, verify that the effective runtime loads the patched release and that an older vulnerable copy is not still used by another virtual environment, container, or process manager.
  4. The vendor states that there is no workaround other than upgrading. Policy settings should not be treated as a substitute for the patch.

Detection

  1. Inventory deployments running awslabs.aws-api-mcp-server, including source-based deployments and forks, then compare the running release with the affected and fixed boundaries stated in affected_summary.
  2. Identify locally run servers that use a custom security policy and inspect their denyList and elicitList entries.
  3. Review AWS API operation names in those policies, especially names containing consecutive capital letters.
  4. Record whether a deployment uses the remote offering or the READ_OPERATIONS_ONLY or REQUIRE_MUTATION_CONSENT settings; the advisory states that these cases are not affected by this issue.
  5. Review available AWS API audit logs for operations performed by the MCP server even though the local policy was intended to deny them or require elicitation. This is a precautionary review, not a confirmed indicator of compromise.
  6. Do not treat the absence of suspicious log events as proof that a deployment is safe.
Sources (16)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.