CyberSIXT Search
Original
Image: GBHackers

GBHackersDivya

Jupyter Misconfiguration Exposes Systems to Root Privilege Escalation

Security researchers have identified a vulnerability in commonly misconfigured Jupyter notebook servers that can give attackers root-level access on Linux systems. The flaw stems from deployment choices rather than a Jupyter bug, with running a Jupyter server as root and without authentication creating a pathway to complete compromise. The attack uses Jupyter’s built-in terminal API, accessed via the unsecured /api/terminals endpoint and WebSocket connections, to open shell sessions without authentication.

In tests, commands such as id returned uid=0, confirming root access, and attackers can reach runtime configuration files stored in /root/.local/share/jupyter/runtime/ containing kernel ports, HMAC keys, and session information.

The researchers demonstrated a persistent backdoor by launching a reverse shell through the terminal, highlighting that this remains a deployment anti-pattern rather than an inherent Jupyter flaw. organisations should disable the terminal API when not needed, run Jupyter as an unprivileged user, implement strong authentication, and audit deployments immediately to remediate the dangerous configuration pattern.

Sources

On this device

Following

Intel

VendorsThreat actorsResearch reports

Settings

CyberSIXT summarises security news every 30 minutes.

↑↓ move↵ open⌘C copy CVE IDEsc close

Keyboard shortcuts

Everything works with a mouse or touch. Shortcuts are a faster path.

Search ⌘K
Search /
Next item J
Previous item K
Go to Today GT
Go to News GN
Go to CVEs GC
Go to Briefing GB
Reduce motion on this device