Live threats

All CVEs / AxDSan

CVE-2026-59163AxDSan mnemosyne

JWT Signature Verification Bypass in Mnemosyne

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
—
Auth required
No
Published
Sep 18, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

Mnemosyne prior to v3.10.1 fails to properly verify JWT token signatures in the sync server, accepting any well-formed token including those with algorithm "none" or signed with incorrect keys. An unauthenticated attacker can access the sync endpoint and compromise data confidentiality and integrity.

Show the original NVD text

Mnemosyne is a memory layer for artificial intelligence agents. Prior to v3.10.1, the auth check in mnemosyne/core/sync_server.py parsed the JWT's header and payload using base64 decoding, then passed the token to a jwt library call with options that effectively disabled signature verification. The server accepted any well-formed token regardless of the signature, including tokens with alg: none and tokens signed with the wrong key. The fix in v3.10.1 replaces the broken decode with a from-scratch HS256 verifier using only the Python standard library. For users who cannot upgrade immediately, restrict network access to the sync server endpoint to trusted clients only. Firewall, reverse proxy with mTLS, or localhost bind with SSH tunnel are all viable. The vulnerability is not exploitable against an unreachable endpoint.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 3.10.1

Update mnemosyne-memory to version 3.10.1 or later. If you cannot upgrade immediately, restrict network access to the sync server endpoint using firewall, reverse proxy with mTLS, or SSH tunnel.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for mnemosyne.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mnemosyne-memory < 3.10.1 3.10.1 pip install "mnemosyne-memory>=3.10.1"
PyPI mnemosyne-memory < 3.10.1 3.10.1 pip install "mnemosyne-memory>=3.10.1"

Per OSV / GitHub Advisories (GHSA-xcw4-53cc-hv32, PYSEC-2026-4106). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.