CVE-2026-59163
CVE-2026-59163 · Mnemosyne has JWT signature verification bypass sync server that allows authentication bypass
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.1 · Critical · EPSS 0.3% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
mnemosyne
- Versions
- < 3.10.1: Affected
No fix published
mnemosyne-memory PyPI
- Versions
- 1.10.1
- 1.10.2
- 1.11.0
- 1.12.0
- 1.13.0
- 1.9.0
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.5.0
- 2.6.0
- 2.7.0
- 2.8.0
- 3.0.0
- 3.1.0
- 3.1.2
- 3.10.0
- 3.3.0
- 3.4.0
- 3.5.0
- 3.6.0
- 3.7.0
- 3.8.0
- 3.9.0
- Affected ranges
- ECOSYSTEM: < 3.10.1
Update to 3.10.1
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-59163