Skip to content

0.8.5#183

Merged
Polliog merged 12 commits intomainfrom
develop
Mar 28, 2026
Merged

0.8.5#183
Polliog merged 12 commits intomainfrom
develop

Conversation

@Polliog
Copy link
Copy Markdown
Collaborator

@Polliog Polliog commented Mar 27, 2026

This pull request releases version 0.8.5, bringing significant security fixes, bug fixes, Docker deployment improvements, and dependency updates to the LogTide platform. The update also introduces enhanced environment configuration options, improved documentation for Docker setups (including lightweight and optional service profiles), and a more robust initial admin bootstrap process.

Security and Bug Fixes

  • Multiple critical security issues were addressed, including cross-organization data isolation in SIEM, authentication bypasses, SSRF protection, and prevention of disabled user logins. Numerous bugs impacting stability, memory usage, and correctness (such as SSE authentication, incident grouping, and pagination) were also fixed. [1] [2]

Docker and Deployment Improvements

  • The Docker Compose files (docker-compose.build.yml, .env.example) were updated to support MongoDB and Fluent Bit metrics as optional profiles, added missing environment variables for backend and worker services, and improved compatibility with lightweight and multi-engine setups. A new lightweight Docker Compose option is documented for resource-constrained environments. [1] [2] [3] [4] [5] [6] [7] [8]

Documentation and Version Updates

  • The README.md and CHANGELOG.md were updated for v0.8.5, reflecting new features, Docker usage instructions, and highlighting the new lightweight and profile-based deployment options. Version numbers were incremented across relevant files. [1] [2] [3] [4] [5]

Initial Admin Bootstrap Enhancement

  • The backend bootstrap service now generates a random admin password if none is provided via environment variables, and prints credentials in a clear, secure format, improving the out-of-the-box experience for new deployments. [1] [2] [3]

Dependency Updates

  • Security-related dependency bumps for picomatch, brace-expansion, and fast-xml-parser were made, along with other package updates. [1] [2]

References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]

Polliog added 11 commits March 27, 2026 20:01
- fix SSE auth using wrong localStorage key (session_token -> getAuthToken)
- fix incidentsTotal never updated in siem store
- fix authStore.subscribe memory leaks (20+ components missing onDestroy cleanup)
- fix offset=0 dropped in API calls (falsy check on 0)
- fix search debounce timer not cleared on destroy
- fix escapeHtml using DOM nodes instead of pure string replace
- fix SSE stream re-emitting duplicate logs on same timestamp
- fix verifyProjectAccess called twice for array projectId
- fix getInvitationByToken returning expired invitations
- fix time_bucket missing ::interval cast in siem dashboard
- fix login creating session for disabled users
- fix severity ordering using alphabetical MAX instead of severity rank
- fix updateIncident silently skipping falsy title/severity/status
- rebuild shared package to fix stale dist types
- scope linkDetectionEventsToIncident to organization_id
- scope getIncidentDetections to organization_id
- add missing organization_id and project_id to sigma notification payload
- guard markAsNotified from null historyId (sigma rules have no history entry)
- add SSRF protection to legacy webhook notification path
- fix Math.max(...[]) crash when no orgs exist in retention job
- fix empty webhook error messages for HTTP/2 responses
- validate webhook custom headers JSON before saving channel
verify org membership before allowing pattern updates and deletes,
same as GET/POST handlers already do
- add NODE_ENV: production to backend in docker-compose.yml
- sync docker-compose.build.yml with main compose (add TRUST_PROXY,
  FRONTEND_URL, INTERNAL_DSN, DOCKER_CONTAINER, MongoDB vars,
  MongoDB service, fluent-bit-metrics service, frontend DSN vars)
- add storage engine, clickhouse, mongodb sections to docker/.env.example
- picomatch 4.0.3 -> 4.0.4 (fix ReDoS + method injection)
- brace-expansion 5.0.2 -> 5.0.5 (fix zero-step sequence DoS)
- fast-xml-parser 5.5.6 -> 5.5.9 (fix entity expansion bypass)
- pattern PUT/DELETE: keep 400 for missing organizationId, add org
  membership check after
- revert expires_at filter on getInvitationByToken (intentional:
  frontend shows expiry message to user)
ensureInitialAdmin now creates a system@logtide.internal admin when
no env vars are set, test was still expecting 0 users
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 23 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/backend/src/modules/query/routes.ts 33.33% 14 Missing ⚠️
...kages/backend/src/queue/jobs/alert-notification.ts 75.67% 9 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Polliog Polliog merged commit 5139b0c into main Mar 28, 2026
10 checks passed
@Polliog Polliog mentioned this pull request Mar 28, 2026
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant