CVE-2026-142241: Mercury 3.0.1 before 3.2.12 Missing Authentication via /api/contents Notebook Handler
Mljar Mercury from 3.0.1 before 3.2.12 contains a missing authentication vulnerability in MercuryContentsHandler that allows unauthenticated attackers to read notebooks via the /api/contents route. Attackers can send GET or PUT requests for any .ipynb file under the contents root to retrieve full notebook JSON, including cell source and saved outputs, despite token or password authentication.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Mljar Mercury versions from 3.0.1 up to, but not including, 3.2.12 are affected. Exposure applies to notebook files ending in .ipynb that are located under the configured contents root.
Does an attacker need credentials or user interaction?
No. An unauthenticated remote attacker can issue GET or PUT requests to the /api/contents route; token or password authentication does not prevent the notebook read described by this vulnerability.
What information can be disclosed?
An attacker can retrieve the complete notebook JSON for targeted .ipynb files, including cell source code and saved cell outputs. This may expose any sensitive data embedded in notebook code or retained in outputs.
How can I determine whether an instance is affected?
Check the installed Mljar Mercury version and whether the instance serves notebooks through the /api/contents route. Versions earlier than 3.2.12 within the affected range should be treated as vulnerable.