PatchSiren cyber security CVE debrief
CVE-2026-82273 mastra-ai CVE debrief
CVE-2026-82273 is a high-severity vulnerability in Mastra, an AI-powered tool, that allows authenticated attackers to bypass authentication and enumerate all threads via the GET /api/memory/threads endpoint. This could potentially lead to unauthorized access to conversation history and metadata of other resource owners. The vulnerability exists when the mapUserToResourceId callback is omitted from configuration. Defenders should assess exposure and verify the presence of this callback in their configurations.
- Vendor
- mastra-ai
- Product
- mastra
- CVSS
- HIGH 7.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-28
- Original CVE updated
- 2026-09-23
- Advisory published
- 2026-08-28
- Advisory updated
- 2026-09-23
Who should care
Defenders responsible for Mastra deployments should assess exposure and verify the presence of the mapUserToResourceId callback in their configurations. They should also ensure proper authentication mechanisms are in place for the memory API and monitor for potential unauthorized access to conversation history and metadata.
Why it matters
CVE-2026-82273 is a high-severity vulnerability in Mastra that allows authenticated attackers to bypass authentication and potentially access sensitive information. Defenders should prioritize verifying the presence of the mapUserToResourceId callback in Mastra configurations and ensuring proper authentication mechanisms are in place.
- Potential unauthorized access to conversation history and metadata of other resource owners
- Enumeration of all threads via the GET /api/memory/threads endpoint
- Bypass of authentication mechanisms for the memory API
Technical summary
The vulnerability exists in the memory API thread ownership validation when the mapUserToResourceId callback is omitted from configuration. This allows authenticated attackers to enumerate all threads and potentially access conversation history and metadata of other resource owners. The vulnerability has a CVSS score of 7.1 and is considered high-severity. Defenders should prioritize verifying the presence of the mapUserToResourceId callback in Mastra configurations and ensuring proper authentication mechanisms are in place.
Defensive priority
Defenders should prioritize verifying the presence of the mapUserToResourceId callback in Mastra configurations and ensuring proper authentication mechanisms are in place.
Recommended defensive actions
- Verify the presence of the mapUserToResourceId callback in Mastra configurations
- Ensure proper authentication mechanisms are in place for the memory API
- Monitor for potential unauthorized access to conversation history and metadata
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description, CVSS score, and affected product information. The vulnerability allows authenticated attackers to bypass authentication and potentially access sensitive information. Evidence is limited to the CVE record and NVD entry. Defenders should verify the presence of the mapUserToResourceId callback in Mastra configurations and ensure proper authentication mechanisms are in place.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-82273 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-82273
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-82273 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-82273
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/mastra-ai/mastra
-
Source reference
Unverified legacy reference
URL: https://github.com/mastra-ai/mastra/blob/b7e66f0c478a227985e0062794ef058c3714fabf/packages/server/src/server/handlers/utils.ts
-
Source reference
Unverified legacy reference
URL: https://github.com/mastra-ai/mastra/issues/18911
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/mastra-memory-api-thread-ownership-check-is-a-no-op-when-mapusertoresourceid-is-unset
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.