Notebooks Are Unauthenticated Code Execution: Revisiting Interactive Compute Under the 2027 AI Threat Picture
Interactive notebooks predate the current AI wave, but they are now the standard workbench for experiments that touch models, data and credentials. The NCSC assessment of AI's impact on cyber threat to 2027 explains why that combination deserves attention:
Insufficient cyber security will almost certainly increase opportunity for capable state-linked actors and cyber criminals to misuse AI systems for cyber threat.
A notebook server with weak or absent authentication is a compact example of insufficient security around AI work. The service does not merely display a document. It executes code on the host on behalf of whoever can reach it.
The capabilities behind the page
When a notebook server is reachable, an unauthorised visitor inherits the environment the operator built.
- Arbitrary code execution with the notebook process's privileges.
- Access to any credentials stored in environment variables or configuration files.
- Read and write access to mounted datasets, model weights and shared storage.
- Ability to install packages, which extends into dependency and supply chain risk.
- A persistent session that can be used for further work from inside the network. There is no exploit required if authentication is absent. The documented interface does exactly what it promises for whoever connects.
What exposure measurement shows
Practitioners can see how many notebook services advertise themselves. The figures below were collected on 3 October 2026 through ZoomEye; each query returned a successful status and each value is the total matched count.
| Fingerprint query | Matches observed | Relevance |
| --- | ---: | --- |
| app="Jupyter Notebook" | 90,610 | Interactive compute, any port |
| app="Ollama" | 602,744 | Model runtime frequently co-deployed |
| app="TensorBoard" | 2,698 | Training telemetry dashboards |
| app="MLflow" | 17,619 | Experiment and model tracking |
👉 https://www.zoomeye.ai/searchResult?q=YXBwPSJKdXB5dGVyIE5vdGVib29rIg%3D%3D
The pattern is that tooling clusters. A team that runs one of these services usually runs several, on the same host or the same network segment, often with one token shared between them. That clustering is what makes a single exposed service more than a single problem.
Controls that address the actual risk
- Require authentication and put the server behind a network boundary, not on a public address.
- Run notebook processes as a low-privilege user with no access to production secrets.
- Keep credentials out of environment files and notebook cells; use short-lived tokens.
- Define what a container can reach, in terms of both network and filesystem.
- Log kernel starts, file writes and outbound connections, and alert on anomalies.
- Review who has an account, and delete accounts after projects end.
Limitations
A fingerprint match identifies a service, not a vulnerability, and reveals nothing about authentication configuration or version. The counts describe internet-facing advertisements observed on one day. The NCSC judgement is a likelihood assessment about the broader environment. No claim is made here that any specific deployment has been accessed without authorisation.
References
- NCSC, Impact of AI on cyber threat from now to 2027: https://www.ncsc.gov.uk/report/impact-ai-cyber-threat-now-2027
- ZoomEye: https://www.zoomeye.ai/
Top comments (0)