CVE-2026-59163: CWE-347: Improper Verification of Cryptographic Signature in AxDSan mnemosyne
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.
AI Analysis
Technical Summary
Mnemosyne versions before 3.10.1 contain a flaw in the authentication check within mnemosyne/core/sync_server.py where JWT tokens are parsed using base64 decoding and then passed to a JWT library call with options that disable signature verification. This allows acceptance of any well-formed JWT token regardless of signature, including tokens with 'alg: none' or those signed with incorrect keys. The vulnerability is addressed in version 3.10.1 by implementing a from-scratch HS256 signature verifier using only the Python standard library. For users unable to upgrade immediately, network access to the sync server endpoint should be restricted to trusted clients via firewall rules, reverse proxy with mTLS, or localhost binding with SSH tunneling. Exploitation is not possible if the endpoint is not reachable.
Potential Impact
An attacker can bypass authentication by presenting any well-formed JWT token, including those with no signature or invalid signatures, potentially gaining unauthorized access to the sync server. This leads to a complete compromise of confidentiality and integrity of the affected service. Availability is not impacted. The CVSS v3.1 score is 9.1 (critical), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available in mnemosyne version 3.10.1 which implements proper JWT signature verification. Users should upgrade to version 3.10.1 or later. For those unable to upgrade immediately, restrict network access to the sync server endpoint to trusted clients only using firewall rules, reverse proxy with mutual TLS authentication, or binding the service to localhost with SSH tunneling. The vulnerability is not exploitable if the endpoint is unreachable.
CVE-2026-59163: CWE-347: Improper Verification of Cryptographic Signature in AxDSan mnemosyne
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.
CVSS v3.1
Score 9.1critical
Affected software
AxDSan
mnemosyne
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mnemosyne versions before 3.10.1 contain a flaw in the authentication check within mnemosyne/core/sync_server.py where JWT tokens are parsed using base64 decoding and then passed to a JWT library call with options that disable signature verification. This allows acceptance of any well-formed JWT token regardless of signature, including tokens with 'alg: none' or those signed with incorrect keys. The vulnerability is addressed in version 3.10.1 by implementing a from-scratch HS256 signature verifier using only the Python standard library. For users unable to upgrade immediately, network access to the sync server endpoint should be restricted to trusted clients via firewall rules, reverse proxy with mTLS, or localhost binding with SSH tunneling. Exploitation is not possible if the endpoint is not reachable.
Potential Impact
An attacker can bypass authentication by presenting any well-formed JWT token, including those with no signature or invalid signatures, potentially gaining unauthorized access to the sync server. This leads to a complete compromise of confidentiality and integrity of the affected service. Availability is not impacted. The CVSS v3.1 score is 9.1 (critical), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available in mnemosyne version 3.10.1 which implements proper JWT signature verification. Users should upgrade to version 3.10.1 or later. For those unable to upgrade immediately, restrict network access to the sync server endpoint to trusted clients only using firewall rules, reverse proxy with mutual TLS authentication, or binding the service to localhost with SSH tunneling. The vulnerability is not exploitable if the endpoint is unreachable.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-07-02T16:50:27.887Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aad7cac55bf5e2cf55a40af
Added to database: 09/18/2026, 18:02:20 UTC
Last enriched: 09/18/2026, 18:16:54 UTC
Last updated: 09/18/2026, 19:03:04 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.