Check ID: sagemaker_notebook_instance_root_access_disabled
Provider: AWS
Service: sagemaker
Severity: MEDIUM
Categories: identity-access, gen-ai
Resource type: AwsSageMakerNotebookInstance

What 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 where RootAccess 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: set RootAccess 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

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 by Check 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