{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "59616c6a37948afd273c1d416a698abad5a25b0a"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v3.3.2",
                "range": [
                  {
                    "fixed": "4921bb93110a00602147a8024162f716c2e5d969"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "59616c6a37948afd273c1d416a698abad5a25b0a"
            },
            {
              "fixed": "4921bb93110a00602147a8024162f716c2e5d969"
            }
          ],
          "repo": "https://github.com/akitaonrails/ai-memory",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-jr85-7366-xrm2"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-61"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136625.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.6.0"
              },
              {
                "fixed": "3.3.2"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "2.6.0"
              },
              {
                "fixed": "3.3.2"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "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-\u003cpage\u003e.md symlink in a shared destination so atomic_write() truncates and overwrites its target with the victim's privileges.",
  "id": "CVE-2026-136625",
  "modified": "2026-11-25T05:45:35.635780799Z",
  "published": "2026-11-25T03:09:28.880Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136625.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/akitaonrails/ai-memory"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/akitaonrails/ai-memory/blob/v3.3.1/companions/ai-memory-wikisync/src/sync.rs#L315-L340"
    },
    {
      "type": "FIX",
      "url": "https://github.com/akitaonrails/ai-memory/commit/59616c6a37948afd273c1d416a698abad5a25b0a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/akitaonrails/ai-memory/releases/tag/v3.3.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/akitaonrails/ai-memory/security/advisories/GHSA-jr85-7366-xrm2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-136625"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ai-memory-2.6.0-before-3.3.2-symlink-arbitrary-file-overwrite-via-ai-memory-wikisync"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ai-memory 2.6.0 before 3.3.2 Symlink Arbitrary File Overwrite via ai-memory-wikisync"
}