# CVE-2026-136625: ai-memory 2.6.0 before 3.3.2 Symlink Arbitrary File Overwrite via ai-memory-wikisync

- **Severity:** MEDIUM 5.2
- **CVSS:** 5.2 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: None; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-29)
- **CWE:** CWE-61
- **Published:** 2026-11-25T03:09:28.880Z
- **Modified:** 2026-11-25T03:17:35.480Z

## Who should check

- Anyone running akitaonrails ai-memory \>= 2.6.0, \< 3.3.2

## Description

ai-memory 2.6.0 before 3.3.2 contains a symlink following vulnerability in the ai-memory-wikisync companion that allows local attackers to overwrite arbitrary files by planting symlinks at predictable temporary names. Attackers can place a .wikisync-tmp-\<page\>.md symlink in a shared destination so atomic\_write() truncates and overwrites its target with the victim's privileges.

## Affected and fixed versions

- akitaonrails ai-memory: \>= 2.6.0, \< 3.3.2 (cvelist)

## Mitigation

- Upgrade ai-memory to 3.3.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-136625. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-136625.md
Affected: akitaonrails ai-memory >= 2.6.0, < 3.3.2
Fixed in: akitaonrails ai-memory 3.3.2

Steps:
1. Search this machine and project for akitaonrails ai-memory: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-136625 being exploited?

There is no confirmed exploitation: CVE-2026-136625 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-136625?

Medium: CVSS 5.2 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-136625?

akitaonrails ai-memory \>= 2.6.0, \< 3.3.2.

### Is there a fix for CVE-2026-136625?

Yes. Fixed in akitaonrails ai-memory 3.3.2. Upgrade ai-memory to 3.3.2 or later.

### How do I check if I'm affected by CVE-2026-136625?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/akitaonrails/ai-memory/security/advisories/GHSA-jr85-7366-xrm2>
- patch: <https://github.com/akitaonrails/ai-memory/commit/59616c6a37948afd273c1d416a698abad5a25b0a>
- article: <https://github.com/akitaonrails/ai-memory/blob/v3.3.1/companions/ai-memory-wikisync/src/sync.rs#L315-L340>
- other: <https://github.com/akitaonrails/ai-memory/releases/tag/v3.3.2>
- other: <https://www.vulncheck.com/advisories/ai-memory-2.6.0-before-3.3.2-symlink-arbitrary-file-overwrite-via-ai-memory-wikisync>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-136625>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-136625> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-136625>
