All vulnerabilities

PyPI

CVE-2026-142241

Mercury 3.0.1 before 3.2.12 Missing Authentication via /api/contents Notebook Handler

Severity
High 8.7
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
3.2.12
Weakness
Missing authentication (CWE-306)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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.

From the CVE Program.

Affected software

SoftwareAffected versions
mercuryPyPI · osv:PyPI:mercury
  • From 3.0.1 before 3.2.12

About mercury

Weekly downloads (PyPI)
548PyPI Stats, 2 Dec 2026

This is the only vulnerability in mercury in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142241