Skip to main content

memory-graph EUVDEUVD-2026-54785

| CVE-2026-19285 LOW
Path Traversal (CWE-22)
2026-08-08 VulDB GHSA-4297-h6wq-2qm5
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access to host
  2. Delivery
    Invoke JsonMemoryStorage API (createDomain/getMemories/saveMemories)
  3. Exploit
    Supply path traversal sequences in domain or memory identifier
  4. Execution
    Bypass absent path validation in memoryTools.ts
  5. Impact
    Read or overwrite arbitrary files within process permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local system access with at minimum low-privilege credentials on the host running memory-graph (AV:L, PR:L) - remote unauthenticated exploitation is not possible per the CVSS vector. The attacker must be able to supply input to the JsonMemoryStorage API, either through direct interaction with the memory-graph process, through a shared AI agent session, or by influencing the domain or memory identifiers passed by an AI agent using the tool. No special non-default configuration is required; the flaw is present in the core storage layer for any default deployment. Exploitation is bounded by the filesystem permissions of the process owner - files not readable or writable by that account cannot be accessed via traversal. Containerized deployments with restricted volume mounts significantly limit impact.

Impact

The CVSS 4.0 score of 4.8 (Medium) is consistent with the constrained attack surface: local vector (AV:L) and low-privilege requirement (PR:L) mean an attacker must already hold a foothold on the target host. All three impact dimensions - confidentiality, integrity, availability - are rated low with no scope change to subsequent systems (SC:N/SI:N/SA:N), correctly reflecting that traversal is bounded by the OS-level permissions of the memory-graph process. The E:P metric confirms a POC exists, which modestly elevates practical risk above a purely theoretical finding. No EPSS probability data was provided in the available intelligence, so exploitation likelihood cannot be quantified numerically. KEV absence indicates no confirmed widespread exploitation. Real-world priority is low for isolated or single-user deployments; it rises in multi-tenant environments or where the memory-graph process runs under an over-privileged account with broad filesystem read/write access.

Exploit ScenarioDerived

A local attacker with a low-privilege shell on the host invokes memory-graph's storage API with a crafted domain or memory identifier containing traversal sequences, such as '../../home/admin/.ssh/authorized_keys', passed to getMemories or saveMemories. Because JsonMemoryStorage constructs the target file path without sanitizing the input, the function reads or overwrites the file at the traversed location using the process's own filesystem permissions. A proof-of-concept demonstrating this traversal is publicly available per the CVSS 4.0 E:P supplemental metric.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 08, 2026

Path traversal in aaronsb memory-graph affects three JsonMemoryStorage functions - createDomain, getMemories, and saveMemories - in src/tools/memoryTools.ts, enabling local low-privilege attackers to escape the intended storage directory and read or write arbitrary files accessible to the process. All rolling-release versions through commit 5cfd238 are affected with no vendor patch issued; the project was notified via GitHub issue #14 but has not responded. A proof-of-concept exploit is publicly available (CVSS 4.0 E:P), and no confirmed active exploitation is listed in CISA KEV.

RemediationAI

No vendor-released patch has been identified at time of analysis - the maintainer was informed via GitHub issue #14 but has not responded. Until an upstream fix is committed, administrators should restrict the OS-level filesystem permissions of the account running memory-graph to only the intended storage directory, preventing traversal from reaching sensitive paths. Deploying memory-graph inside a container (e.g., Docker) with volume mounts limited to the storage directory is a higher-assurance workaround, though it may affect integrations that rely on broader filesystem access. Developers can manually patch src/tools/memoryTools.ts by canonicalizing all input paths with Node.js path.resolve() before file operations and asserting the resolved path begins with the configured base directory - throwing an error on violation. Monitor https://github.com/aaronsb/memory-graph/ for upstream commits addressing this issue.

Affected VersionsENISA

memory-graph 5cfd2382778837b9f6399080956eee670d00452c

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

memory-graph is a TypeScript-based AI agent memory utility, likely functioning as a Model Context Protocol (MCP) server or local memory backend for AI assistants. Its JsonMemoryStorage class in src/tools/memoryTools.ts handles file I/O for storing memory domains as JSON files on the host filesystem. CWE-22 (Path Traversal) arises when caller-controlled domain names or memory identifiers are used to construct file paths without canonicalization - allowing sequences such as '../../' to escape the configured base storage directory. CPE cpe:2.3:a:aaronsb:memory-graph:*:*:*:*:*:*:*:* confirms all releases are affected; because the project uses a rolling release model, there is no version boundary separating vulnerable from patched code.

Know when Memory Graph gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Local attack vector with low privileges to invoke the storage API; all impacts are low and scope is unchanged - no lateral effect on other systems.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Aug 08, 2026 - 13:22 NVD
MEDIUM LOW
CVSS changed
Aug 08, 2026 - 13:22 NVD
4.8 (MEDIUM) 1.9 (LOW)

DescriptionCVE.org

A vulnerability was detected in aaronsb memory-graph up to 5cfd2382778837b9f6399080956eee670d00452c. Affected by this vulnerability is the function JsonMemoryStorage.createDomain/JsonMemoryStorage.getMemories/JsonMemoryStorage.saveMemories of the file src/tools/memoryTools.ts. The manipulation results in path traversal. The attack must be initiated from a local position. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
niche AI agent memory utility, minimal enterprise deployment footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy