Ensure that your AWS CodeBuild build project environment has privileged mode disabled.
Enabling privileged mode for CodeBuild project environments allows the build container to have elevated permissions on the host machine, which can potentially lead to security vulnerabilities and unauthorized access.
Modify CodeBuild build project and disable environment privileged mode.