SocWatch

CVE-2026-59163

Kritisch 9,1

Mnemosyne has JWT signature verification bypass sync server that allows authentication bypass

CVSS
9,1 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
0,25 % (höher als 17,7 % aller Lücken)
Veröffentlicht
18.09.2026
Zuletzt geändert
24.09.2026

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
PyPI mnemosyne-memory alle Versionen vor 3.10.1 3.10.1

Quellen

Weitere Kennungen

GHSA-xcw4-53cc-hv32 · PYSEC-2026-4106 · CWE-347

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.