<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>AWS SageMaker - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/aws-sagemaker/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 31 Jul 2026 09:23:25 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/aws-sagemaker/feed.xml" rel="self" type="application/rss+xml"/><item><title>AWS SageMaker Execution Role Privilege Escalation via PassRole</title><link>https://feed.craftedsignal.io/briefs/2026-07-aws-sagemaker-privesc/</link><pubDate>Fri, 31 Jul 2026 09:23:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-aws-sagemaker-privesc/</guid><description>An adversary with SageMaker resource-creation rights and broad iam:PassRole permissions can escalate privileges by passing highly privileged IAM roles to SageMaker notebook instances, training, processing, or pipeline jobs.</description><content:encoded><![CDATA[<p>Adversaries targeting AWS environments can leverage Amazon SageMaker to escalate privileges by exploiting the interaction between SageMaker resource creation actions and IAM role assignment. When creating resources like Notebook Instances, Training Jobs, Processing Jobs, AutoML Jobs, or Pipelines, a caller must possess the <code>iam:PassRole</code> permission to associate an execution role with the new resource.</p>
<p>If an attacker has sufficient permissions to initiate these SageMaker resources and holds a broad <code>iam:PassRole</code> grant, they can pass a more privileged role - or a role from a different account - to the resource. The resulting SageMaker resource then executes code under the context of the assigned role, effectively allowing the attacker to perform actions that the original caller could not. This technique is particularly dangerous as it utilizes legitimate, expected functionality to bridge security boundaries. Monitoring for unusual associations between IAM principals and execution roles is essential for detecting potential credential abuse or unauthorized privilege escalation within AWS MLOps workflows.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an attacker to achieve code execution as a more privileged IAM role, leading to unauthorized data access, persistence, or broader administrative control within the AWS account. This risk is especially critical in production MLOps environments where high-privilege service roles are frequently utilized for legitimate automated data processing.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Implement the detection logic to identify the first time an IAM principal uses a specific <code>roleArn</code> for SageMaker resource creation within a 7-day window.</li>
<li>Review the <code>aws.cloudtrail.user_identity.arn</code> of the principal performing the action and investigate the <code>roleArn</code> passed in <code>aws.cloudtrail.request_parameters</code> for unauthorized privilege escalation.</li>
<li>Constrain <code>iam:PassRole</code> permissions using IAM policy conditions (such as <code>iam:PassedToService</code>) to ensure that principals can only pass narrowly scoped, approved execution roles to SageMaker.</li>
<li>Rotate or restrict credentials for any principal identified using an unexpected or overly privileged execution role.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>cloud</category><category>aws</category><category>privilege-escalation</category><category>sagemaker</category></item></channel></rss>