CVE-2026-82273: Mastra Memory API Thread Ownership Check Is a No-op When mapUserToResourceId Is Unset

Published Aug 28, 2026
·
Updated

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.

Affected Software

1 affected component
Mastra Memory API<=1.63.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Mastra to a version that resolves this vulnerability.

    Fixed in 1.63.0
  2. Configuration

    Ensure the mapUserToResourceId callback is set in configuration so Mastra memory API thread ownership validation is not a no-op.

    Mastra Memory API mapUserToResourceId callback = configured (not omitted)

Event History

Aug 28, 2026
CVE Published
via MITRE·04:18 PM
Data Sourced
via MITRE·04:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Mastra Memory API deployments through 1.63.0 are exposed when the mapUserToResourceId callback is omitted from configuration. The affected endpoint is GET /api/memory/threads.

2

What does an attacker need to exploit it?

An attacker needs to be authenticated with low-level privileges. No user interaction is required, and the issue is reachable over the network.

3

What data could be exposed?

An authenticated attacker can enumerate all threads and read conversation histories and metadata belonging to other resource owners.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203