AWSCloud9User

Last Modified

Mar 12, 2026

March 12, 2026 at 09:25 PM UTC

Version

v12

Total Versions

11

Created

Feb 12, 2026

Actions

18

Risk

High

An unrestricted escalation path, identity administration, secret reads or the power to switch off security monitoring. Read from this policy document alone: trust policies, boundaries and SCPs in your account still decide what actually succeeds. How this is assessed

  • High

    Can take over existing resources that run as another role

    Grants every action of 1 documented escalation path on any resource with no condition.

    • ssm-001ssm:StartSessionunrestricted

    Use with caution: List the roles attached to the functions, instances, pipelines or notebooks it can modify: the holder effectively has them too.

IAM Access Analyzer (1)

  • Suggestion / EQUIVALENT_TO_NULL_FALSE

    We recommend replacing the key ssm:resourceTag/aws:cloud9:environment in the condition block of StringLike with {ssm:resourceTag/aws:cloud9:environment: false} to ensure better enforcement of the condition. AWS docs

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "cloud9:UpdateUserSettings",
            "cloud9:GetUserSettings",
            "cloud9:GetMigrationExperiences",
            "iam:GetUser",
            "iam:ListUsers",
            "ec2:DescribeVpcs",
            "ec2:DescribeSubnets",
            "ec2:DescribeInstanceTypeOfferings",
            "ec2:DescribeRouteTables"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": [
            "cloud9:CreateEnvironmentEC2",
            "cloud9:CreateEnvironmentSSH"
          ],
          "Resource": "*",
          "Condition": {
            "Null": {
              "cloud9:OwnerArn": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "cloud9:GetUserPublicKey"
          ],
          "Resource": "*",
          "Condition": {
            "Null": {
              "cloud9:UserArn": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "cloud9:DescribeEnvironmentMemberships"
          ],
          "Resource": [
            "*"
          ],
          "Condition": {
            "Null": {
              "cloud9:UserArn": "true",
              "cloud9:EnvironmentId": "true"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "iam:CreateServiceLinkedRole"
          ],
          "Resource": "*",
          "Condition": {
            "StringLike": {
              "iam:AWSServiceName": "cloud9.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ssm:StartSession",
            "ssm:GetConnectionStatus"
          ],
          "Resource": "arn:aws:ec2:*:*:instance/*",
          "Condition": {
            "StringLike": {
              "ssm:resourceTag/aws:cloud9:environment": "*"
            },
            "StringEquals": {
              "aws:CalledViaFirst": "cloud9.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "ssm:StartSession"
          ],
          "Resource": [
            "arn:aws:ssm:*:*:document/*"
          ]
        },
        {
          "Effect": "Allow",
          "Action": [
            "ssmmessages:OpenDataChannel"
          ],
          "Resource": [
            "arn:aws:ssm:*:*:session/*"
          ]
        }
      ]
    },
    "VersionId": "v12",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:00:52+00:00"
  }
}

Version History (16 recorded)

Raw history

AWSCloud9User - Policy Version v12

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

adb2d5b

AWSCloud9User - Policy Version v12

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

ea32def

AWSCloud9User - Policy Version v10

No recorded action delta - this version predates the change index. View the raw diff.

Feb 12, 2026

0a8aff8

AWSCloud9User - Policy Version v8

No recorded action delta - this version predates the change index. View the raw diff.

Sep 25, 2025

76596f4

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jan 27, 2025

71e1363

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

May 13, 2024

1b36617

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Oct 11, 2023

e1f236d

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Aug 2, 2023

3b1e413

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Jul 29, 2020

ac243a8

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

49aa1d0

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

71619cf

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 16, 2019

8279033

`2019-08-29`

No recorded action delta - this version predates the change index. View the raw diff.

Aug 29, 2019

5016d52

I updated my CLI and it looks like it reordered everything and changed the white-space, so everything looks changed, but is not

No recorded action delta - this version predates the change index. View the raw diff.

Jul 12, 2019

9d2dff1

First commit

No recorded action delta - this version predates the change index. View the raw diff.

Feb 10, 2019

ad4c2e8