CVE-2026-82273
Mastra Memory API Thread Ownership Check Is a No-op When mapUserToResourceId Is Unset
CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th
Mastra through 1.63.0 contains an authentication bypass vulnerability in the memory API thread ownership validation when mapUserToResourceId callback is omitted from configuration. Authenticated attackers can enumerate all threads via GET /api/memory/threads and read conversation history and metadata of other resource owners.
| CWE | CWE-862 |
| Vendor | mastra-ai |
| Product | mastra |
| Published | Aug 28, 2026 |
| Last Updated | Aug 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for mastra-ai mastra
Be the first to know when new medium vulnerabilities affecting mastra-ai mastra are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
mastra-ai / mastra
0 โค 1.63.0
References
github.com: https://github.com/mastra-ai/mastra/issues/18911 github.com: https://github.com/mastra-ai/mastra github.com: https://github.com/mastra-ai/mastra/blob/b7e66f0c478a227985e0062794ef058c3714fabf/packages/server/src/server/handlers/utils.ts vulncheck.com: https://www.vulncheck.com/advisories/mastra-memory-api-thread-ownership-check-is-a-no-op-when-mapusertoresourceid-is-unset
Credits
๐ George Chen