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

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T17:54:26.000Z
- Modified: 2026-10-01T17:55:40.405Z
- Also known as: GHSA-xcw4-53cc-hv32, PYSEC-2026-4106
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- AxDSan mnemosyne: < 3.10.1
- mnemosyne-memory (PyPI): before 3.10.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/mnemosyne-oss/mnemosyne/security/advisories/GHSA-xcw4-53cc-hv32> (exploit)
- <https://github.com/mnemosyne-oss/mnemosyne/pull/373> (web)
- <https://github.com/mnemosyne-oss/mnemosyne/commit/a0b6b8711a1a485304971710dc3571e29ff9dbeb> (web)
- <https://github.com/mnemosyne-oss/mnemosyne/releases/tag/v3.10.1> (web)
- <https://github.com/AxDSan/mnemosyne/security/advisories/GHSA-xcw4-53cc-hv32> (web)
- <https://github.com/AxDSan/mnemosyne> (package)
- <https://pypi.org/project/mnemosyne-memory> (package)
- <https://github.com/advisories/GHSA-xcw4-53cc-hv32> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59163> (advisory)

## Sources

- CVE List: [CVE-2026-59163](https://www.cve.org/CVERecord?id=CVE-2026-59163), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-xcw4-53cc-hv32](https://github.com/advisories/GHSA-xcw4-53cc-hv32), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-59163](https://nvd.nist.gov/vuln/detail/CVE-2026-59163), Public domain, modified 2026-09-24
- PyPA Advisory Database: [PYSEC-2026-4106](https://osv.dev/vulnerability/PYSEC-2026-4106), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-59163 · Whole record: https://cve.day/CVE-2026-59163.json · Rebuilt by cve.day 2026-11-25T22:59:39.644Z
