release: 6.9.4 #27

Merged
tim merged 7 commits from develop into main 2026-11-02 19:23:33 +00:00
Owner

Release 6.9.4: security fixes from the upstream hardening review (#24, merged in #26).

  • RSS worker SSRF guard (private/loopback addresses, redirects, file: feeds)
  • Skill import zip bomb (bounded inflation)
  • OAuth redirect URI validation and bounded pending-login table

Version 6.9.4 in pyproject.toml and mcp_server/memory/version.py, ## [6.9.4] section in CHANGELOG. auto-tag creates v6.9.4 on merge.

Behaviour changes: internal-network feeds need RSS_ALLOW_PRIVATE_HOSTS=true; the worker ignores http_proxy; non-loopback http:// OAuth redirect URIs are refused.

🤖 Generated with Claude Code

Release 6.9.4: security fixes from the upstream hardening review (#24, merged in #26). - RSS worker SSRF guard (private/loopback addresses, redirects, `file:` feeds) - Skill import zip bomb (bounded inflation) - OAuth redirect URI validation and bounded pending-login table Version 6.9.4 in `pyproject.toml` and `mcp_server/memory/version.py`, `## [6.9.4]` section in CHANGELOG. `auto-tag` creates `v6.9.4` on merge. Behaviour changes: internal-network feeds need `RSS_ALLOW_PRIVATE_HOSTS=true`; the worker ignores `http_proxy`; non-loopback `http://` OAuth redirect URIs are refused. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
tooling: ruff 0.17.3
All checks were successful
Lint / Ruff (pull_request) Successful in 9s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m36s
Security Scans / Test Coverage (pull_request) Successful in 1m14s
79453829d6
Patch releases. Checked locally: ruff check and ruff format --check pass on the
whole repository with 0.17.3. Keeps the pinned version in sync between the
pre-commit config and the shared python-test action default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ZipFile.read() inflates the whole stream whatever the header declares,
so the declared-size check did not stop a zip bomb: a 200 KB bundle
declaring 10 bytes allocated over 450 MB before the CRC check failed.
Read entries through open() with a hard cap, and read at most the bundle
cap plus one byte from the web upload.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Feeds, redirects and article links were fetched without checking where
they point, so a hostile feed could reach Valkey or internal services.
Fetch through safe_fetch, which checks the address at connect time (all
redirect hops, no DNS rebinding gap), allows http(s) only and caps
redirects. feedparser now gets bytes instead of a URL, which also closes
file: URLs and local paths. RSS_ALLOW_PRIVATE_HOSTS opts out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Registered redirect URIs were never checked, and the login handler
redirects the browser to them. Accept https, loopback http and custom app
schemes only, and cap URI count and length and the client name. Prune
expired pending sessions on each /authorize and cap the table.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
release 6.9.4: security fixes from the upstream hardening review
All checks were successful
Lint / Ruff (pull_request) Successful in 9s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m38s
Security Scans / Test Coverage (pull_request) Successful in 1m23s
633c013fc7
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Merge pull request 'security: fixes from the upstream hardening review, release 6.9.4' (#26) from security/hardening-review-24 into develop
All checks were successful
Lint / Ruff (pull_request) Successful in 9s
Lint / ASCII only (pull_request) Successful in 2s
Security Scans / Bandit, dependency audit, secret scan (pull_request) Successful in 1m33s
Security Scans / Test Coverage (pull_request) Successful in 1m20s
f1e747f4f7
tim merged commit b788fe62eb into main 2026-11-02 19:23:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
tim/omnimem!27
No description provided.