CVE-2026-142241: Mercury 3.0.1 before 3.2.12 Missing Authentication via /api/contents Notebook Handler

Published Dec 2, 2026
·
Updated

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

1 affected component
pypi/mljar-mercury>=3.0.1<3.2.12

Event History

Dec 2, 2026
CVE Published
via MITRE·04:50 PM
Data Sourced
via MITRE·04:50 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203