Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Categories:
Resource type:
sagemaker_notebook_instance_root_access_disabledProvider: AWS
Service:
sagemakerSeverity: MEDIUM
Categories:
identity-access, gen-aiResource type:
AwsSageMakerNotebookInstanceWhat this check verifies
Amazon SageMaker notebook instances with user root access disabled. The evaluation checks whether interactive users can obtain root privileges on the instance, highlighting notebooks whereRootAccess is not set to Disabled.
Risk
Allowing user root access enables full system control, risking integrity (tampering with code, packages, and kernels), confidentiality (reading secrets, credentials, data copies), and availability (disabling agents or breaking environments). Compromise of a notebook can lead to lateral movement via the instance role.Recommendation
Apply least privilege: setRootAccess to Disabled for notebook users. Provide needed software via managed images or lifecycle automation, not ad-hoc root installs. Limit the notebook IAM role, enforce defense in depth (network isolation and monitoring), and require controlled admin workflows for privileged changes.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
aws sagemaker update-notebook-instance —notebook-instance-name <example_resource_name> —root-access Disabled
References
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = sagemaker_notebook_instance_root_access_disabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks