AWSLambda_FullAccess

Last Modified

Mar 12, 2026

March 12, 2026 at 09:26 PM UTC

Version

v7

Total Versions

4

Created

Feb 12, 2026

Actions

30

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 3 documented escalation paths on any resource with no condition.

    • lambda-003lambda:UpdateFunctionCodeunrestricted
    • lambda-004lambda:UpdateFunctionCode + lambda:InvokeFunctionunrestricted
    • lambda-005lambda:UpdateFunctionCode + lambda:AddPermissionunrestricted

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

  • Medium

    Can launch resources that run as a more privileged role

    Grants the actions of 3 documented escalation paths, but only on named resources or under a condition. Review that scope before trusting it.

    • lambda-001iam:PassRole + lambda:CreateFunction + lambda:InvokeFunctionscoped
      • iam:PassRole: condition iam:PassedToService
    • lambda-002iam:PassRole + lambda:CreateFunction + lambda:CreateEventSourceMappingscoped
      • iam:PassRole: condition iam:PassedToService
    • lambda-006iam:PassRole + lambda:CreateFunction + lambda:AddPermissionscoped
      • iam:PassRole: condition iam:PassedToService

    Use with caution: Check which roles, users or policies fall inside the scope shown above. Within it the escalation works as documented, so keep privileged principals out of it.

  • Medium

    Can read secrets

    Reads Lambda environment variables, where credentials often live, on any resource with no condition.

    lambda:GetFunctionConfiguration (via lambda:*)

    Use with caution: Where the holder needs only some secrets, write your own policy scoped to their ARNs or tags, and limit decryption in the KMS key policies.

  • Medium

    Can rewrite resource policies and sharing

    Grants 6 permissions management actions across 1 service (lambda) on any resource, enough to share resources outside the account.

    lambda:addlayerversionpermissionlambda:addpermissionlambda:deleteresourcepolicylambda:putresourcepolicylambda:removelayerversionpermissionlambda:removepermission

    Use with caution: Turn on IAM Access Analyzer external access findings, and keep account-level guards like S3 Block Public Access enabled.

  • Medium

    Full lambda access on every resource

    Uses lambda:* with Resource "*" and no condition, so every action AWS adds to that service later is granted too.

    lambda:*

    Use with caution: The grant grows every time the service does. For long-lived access, prefer a policy that lists the actions you actually need.

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "cloudformation:DescribeStacks",
            "cloudformation:ListStackResources",
            "cloudwatch:ListMetrics",
            "cloudwatch:GetMetricData",
            "ec2:DescribeSecurityGroups",
            "ec2:DescribeSubnets",
            "ec2:DescribeVpcs",
            "kms:DescribeKey",
            "kms:ListAliases",
            "iam:GetPolicy",
            "iam:GetPolicyVersion",
            "iam:GetRole",
            "iam:GetRolePolicy",
            "iam:ListAttachedRolePolicies",
            "iam:ListRolePolicies",
            "iam:ListRoles",
            "lambda:*",
            "logs:DescribeLogGroups",
            "states:DescribeStateMachine",
            "states:ListStateMachines",
            "tag:GetResources",
            "xray:GetTraceSummaries",
            "xray:BatchGetTraces"
          ],
          "Resource": "*"
        },
        {
          "Effect": "Allow",
          "Action": "iam:PassRole",
          "Resource": "*",
          "Condition": {
            "StringEquals": {
              "iam:PassedToService": "lambda.amazonaws.com"
            }
          }
        },
        {
          "Effect": "Allow",
          "Action": [
            "logs:DescribeLogStreams",
            "logs:GetLogEvents",
            "logs:FilterLogEvents",
            "logs:StartLiveTail",
            "logs:StopLiveTail"
          ],
          "Resource": "arn:aws:logs:*:*:log-group:/aws/lambda/*"
        },
        {
          "Effect": "Allow",
          "Action": "iam:CreateServiceLinkedRole",
          "Resource": "arn:aws:iam::*:role/aws-service-role/lambda.amazonaws.com/AWSServiceRoleForLambda",
          "Condition": {
            "StringEquals": {
              "iam:AWSServiceName": "lambda.amazonaws.com"
            }
          }
        }
      ]
    },
    "VersionId": "v7",
    "IsDefaultVersion": true,
    "CreateDate": "2026-02-12T18:00:51+00:00"
  }
}

Version History (9 recorded)

Raw history

AWSLambda_FullAccess - Policy Version v7

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

Mar 12, 2026

8085d58

AWSLambda_FullAccess - Policy Version v7

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

Feb 12, 2026

6f98b0d

AWSLambda_FullAccess - Policy Version v5

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

Feb 12, 2026

0b46f07

AWSLambda_FullAccess - Policy Version v3

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

Dec 1, 2025

90bf376

AWSLambda_FullAccess - Policy Version v2

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

Dec 1, 2025

8bda23a

Update detected

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

Mar 17, 2025

2aba338

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.

Nov 17, 2020

b72486f