Skip to main content

Open Notebook CVE-2026-33587

| EUVDEUVD-2026-28346 CRITICAL
Improper Input Validation (CWE-20)
2026-05-07 ENISA GHSA-jqjr-j3vj-vwq3
9.2
CVSS 4.0 · Vendor: ENISA
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Open Notebook
  2. Delivery
    Access transformation creation interface
  3. Exploit
    Inject SSTI payload in transformation input
  4. Install
    Application processes template without sanitization
  5. C2
    Python interpreter executes malicious code
  6. Execute
    OS commands execute within container
  7. Impact
    Extract credentials or establish persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires the attacker to have local application access as an Open Notebook user with permissions to create custom transformations. The user-created transformation feature must be enabled and accessible in the deployment configuration. The vulnerability affects the Docker containerized deployment of Open Notebook v1.8.3 specifically. While CVSS indicates PR:N (no privileges required), this likely means no elevated privileges beyond standard user access are needed, not that the application itself is accessible without authentication. Exploitation is limited by Docker container isolation - the attacker gains code execution within the container boundary, not directly on the host system, though subsequent container escape attempts remain possible depending on Docker configuration, kernel version, and container runtime security settings.

Impact

The CVSS 4.0 score of 9.2 (Critical) reflects maximum impact across confidentiality, integrity, and availability within the vulnerable component, with cross-scope confidentiality impact to subsequent components. However, the local attack vector (AV:L) significantly constrains real-world exploitability compared to network-accessible vulnerabilities. This requires the attacker to already have application access as an authenticated user capable of creating transformations, limiting exposure to insider threats or compromised user accounts rather than internet-wide exploitation. No EPSS data provided, no CISA KEV listing, and no public POC indicated suggests limited observed exploitation activity. The CVSS vector shows PR:N which contradicts typical application access models - this likely indicates no additional privileges beyond normal user access are required, not true unauthenticated access. Real-world priority depends heavily on deployment context: high risk for multi-tenant environments where untrusted users can create transformations, lower risk for single-user or trusted-user deployments. The Docker isolation provides defense-in-depth but container escapes remain possible through volume mounts, privilege escalation, or kernel exploits.

Exploit ScenarioDerived

An authenticated Open Notebook user with access to create transformations crafts a malicious transformation containing template injection payloads such as {{''.__class__.__mro__[1].__subclasses__()}} to enumerate Python classes, then leverages subprocess or os modules to execute system commands. The attacker extracts sensitive data from the container filesystem including environment variables with credentials, reads mounted volume data, or establishes reverse shell access for persistent control within the Docker environment. From this foothold, the attacker may attempt container escape through kernel exploits, access cloud metadata services if running in cloud environments, or pivot to other containers on the same Docker network.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Server-Side Template Injection in Open Notebook v1.8.3 enables arbitrary Python code execution and OS command execution within the Docker container through unsanitized user input in transformation features. The vulnerability requires local access (CVSS AV:L) but no authentication or user interaction, making it exploitable by any application user with access to the transformation creation interface. No public exploit code identified at time of analysis, though the GitHub security advisory provides technical details for reproduction.

RemediationAI

Upgrade to a patched version of Open Notebook as specified in the GitHub security advisory at https://github.com/lfnovo/open-notebook/security/advisories/GHSA-f35w-wx37-26q7. Upstream fix available (PR/commit); released patched version not independently confirmed from provided data. If immediate patching is not feasible, implement compensating controls: disable or restrict access to the user-created transformation feature through application configuration or role-based access controls, limiting this functionality only to fully trusted administrative users. Deploy additional Docker security hardening including read-only root filesystem (--read-only flag), dropped capabilities (--cap-drop=ALL), user namespace remapping, and seccomp/AppArmor profiles to limit potential impact of code execution. Monitor container activity for suspicious Python process creation or unexpected outbound network connections. Note that disabling transformations may break existing workflows dependent on this feature, requiring alternative data processing methods.

Affected VersionsENISA

Open Notebook 0 ≤1.8.3

Affected Packages

euvd open_notebook no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Open Notebook is a Python-based application running in Docker containers. The vulnerability stems from CWE-20 (Improper Input Validation) where user-supplied input for custom data transformations is processed through a Python templating engine without sanitization. Server-Side Template Injection (SSTI) occurs when an application embeds user input into templates that are then evaluated server-side. In Python environments, this commonly involves Jinja2 or similar engines that allow template expressions to access Python built-ins, enabling attackers to break out of the template sandbox and execute arbitrary code. The Docker containerized deployment provides some isolation but does not prevent code execution within the container context, potentially allowing access to container filesystem, environment variables, mounted volumes, and network resources accessible to the container.

Know when Open Notebook gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ENISA) PRIMARY 9.2 CRITICAL
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N

Primary rating from Vendor (ENISA) · only source for this CVE.

CVSS VectorVendor: ENISA

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 07, 2026 - 11:22 NVD
9.2 (CRITICAL)
CVE Published
May 07, 2026 - 10:22 nvd
CRITICAL 9.2

DescriptionCVE.org

Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and subsequently OS commands) on the docker container via Server-Side Template Injection (SSTI) for user-created transformations.

Executive ViewAI

Why It Matters

Open Notebook v1.8.3 contains a critical server-side template injection vulnerability that allows any local user with access to transformation features to execute arbitrary Python code and operating system commands within the application's Docker container, compromising data integrity and enabling lateral movement to backend systems. Without authentication barriers on the transformation interface, this vulnerability poses immediate risk to all users of affected instances and requires urgent isolation pending vendor remediation.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or physically restrict access to transformation creation interface via RBAC or reverse-proxy rules; (2) Isolate Docker containers running Open Notebook on separate network segments with egress filtering to block command execution channels; (3) Implement real-time monitoring of transformation feature API calls and Python subprocess execution; (4) Run Open Notebook containers with minimal OS privileges and read-only filesystems where operationally feasible; (5) Require manual approval workflow for all transformation creation by security team until patch released.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy