LightMem icon indicating copy to clipboard operation
LightMem copied to clipboard

Security report (responsible disclosure): cross-user memory poisoning in shared FluxMem / LightMem memory — requesting a private channel

Open xiaoxiaohg8d opened this issue 2 months ago • 0 comments

Dear zjunlp / LightMem maintainers,

We are a security research team from Beijing University of Posts and Telecommunications. We are reporting a security-relevant behavior via this issue because the repository does not currently have a "Report a vulnerability" form or a SECURITY.md. We are deliberately keeping this public post high-level (no PoC, no reproduction details), and would like to continue via a private channel.

What we found (high level): When one FluxMemAgent (or LightMemory) instance is shared by multiple users of the same agent — a natural "shared agent memory" deployment — we observed that ordinary natural-language content contributed by one unprivileged user can be persisted into the shared memory graph and later retrieved for a different user as the top-ranked context, outcompeting previously stored trusted knowledge on the same topic. In our controlled experiment (self-hosted, fictional healthcare scenario), the retrieved poisoned memory also flipped a downstream assistant's recommendation, and the model treated the previously trusted, contradictory note as the "conflicting" one.

In short: knowledge provenance (the source of added knowledge) is visible but not enforced, and retrieval does not distinguish between trusted and untrusted contributors, so a normal user interaction can override what other users' agents later "remember" and act on.

What we are NOT including here (on purpose): reproduction steps, payloads, logs, and the PoC script — to allow coordinated disclosure before any technical details become public.

What we ask:

  1. A private channel to share the full technical report, PoC script, execution log, and suggested mitigations — we can send them by email immediately. Please reply here or email us directly: [email protected] (cc: [email protected], [email protected]).
  2. (Optional) Consider enabling GitHub's private vulnerability reporting (Security → Report a vulnerability) so future reports have a standard channel.

We have not tested this against any production deployment; everything ran locally with fictional data. We are happy to coordinate a disclosure timeline and plan to publish related academic work after coordination with affected vendors.

Thank you for your work on LightMem/FluxMem!

Best regards, Yang

xiaoxiaohg8d avatar Sep 22 '26 17:09 xiaoxiaohg8d