-
v6.9.4
StableAll checks were successfulAuto Tag Release / Tag release from pyproject.toml version (push) Successful in 3sDocker Build & Push / Test (fresh dependencies) (push) Successful in 1m28sDocker Build & Push / Build mcp_server (push) Successful in 10m56sDocker Build & Push / Build web_ui (push) Successful in 6m29sDocker Build & Push / Build rss_worker (push) Successful in 8m38sDocker Build & Push / Create Forgejo Release (push) Successful in 3sreleased this
2026-11-02 19:23:32 +00:00 | 18 commits to main since this releaseSecurity
Found by reviewing the areas the upstream 7.0.3 release notes say were hardened (OAuth, RSS fetching, skill bundles) against this code. Four weaknesses were real.
- RSS worker: server-side request forgery. A feed URL, any redirect it followed, and every article link inside a feed was fetched without checking where it pointed, so a hostile feed could make the worker connect to Valkey, a cloud metadata address or anything else on the internal network (the page text would then be summarised and stored). The worker now downloads feeds and pages through
rss_worker/safe_fetch.py, which refuses private, loopback, link-local, carrier-grade NAT, multicast and IPv4-mapped equivalents, checks the address at connection time (so every redirect hop and DNS answer is covered), allows only http and https, and follows at most 5 redirects. feedparser now receives the downloaded bytes, never the URL, so afile:URL or local path infeeds.ymlcan no longer be read. Feeds are capped atRSS_MAX_FEED_BYTES(10 MB). Behaviour change: feeds on an internal network needRSS_ALLOW_PRIVATE_HOSTS=true, andhttp_proxysettings are no longer used by the worker. - Skill import: zip bomb. The size check read the declared size from the zip headers, but
ZipFile.read()inflates the whole stream whatever the header says: a 200 KB bundle declaring 10 bytes made the importer allocate over 450 MB before the CRC mismatch was noticed, and a bundle at the 20 MB cap could ask for tens of GB. Entries are now read with a hard cap of 1 MB, and the web upload route reads at most 20 MB + 1 byte. - OAuth: redirect URIs of dynamically registered clients were not validated. After a successful login the browser is redirected to the registered URI, so a client registering
javascript:,data:or similar could turn the login into script execution. Registration now accepts https, http on loopback only, and custom app schemes; it refuses executing schemes, fragments, embedded credentials and URIs over 2000 characters, and caps redirect URIs at 10 and the client name at 200 characters. - OAuth: the pending-login table grew without bound. Every unauthenticated
/authorizecall parked a session in memory. Expired sessions are now pruned on each call and the table is capped at 1000 (oldest dropped).
Reviewed, no change needed
- PKCE (S256 only) and exact redirect matching at the authorise and token endpoints are enforced by the MCP SDK; login attempts were already rate limited; refresh tokens rotate with a bounded grace window; skill bundle entry names are matched against an allowlist, so no path traversal.
- Access and refresh tokens are stored in Valkey as plain values (upstream stores SHA-256 hashes). Valkey requires a password and the keys are never exported in backups, so this is defence in depth only and was left alone: hashing would sign out every connected client on upgrade.
- Dynamic client registration stays open (claude.ai needs it) and registered clients have no TTL, so a flood of registrations can still fill Valkey slowly; each is now small and bounded, but there is no rate limit on
/register.
Container images
docker pull git.timstoop.nl/tim/omnimem-mcp:6.9.4 docker pull git.timstoop.nl/tim/omnimem-web:6.9.4 docker pull git.timstoop.nl/tim/omnimem-rss:6.9.4Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- RSS worker: server-side request forgery. A feed URL, any redirect it followed, and every article link inside a feed was fetched without checking where it pointed, so a hostile feed could make the worker connect to Valkey, a cloud metadata address or anything else on the internal network (the page text would then be summarised and stored). The worker now downloads feeds and pages through