AWS SageMaker Notebook instances have root access enabled which may cause unauthorized access.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-root-access.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/sagemaker_notebook_instance#root_access