Repository navigation
Security fixes & hardening
This release includes comprehensive security boundary hardening and resolves multiple tracked security advisories across authentication, authorization, webhook handling, import processing, and reporting:
-
Reporting & Tenant Scoping:
- Enforced organization-level scoping across all reporting queries, allocations, exports, timelogs, and time-sheets using reusable batch verification middleware (
verifyReportingScope), mitigating cross-tenant IDOR (GHSA-8xrq-xx3v-h76c, GHSA-j8cg-pp8m-3v25, GHSA-vvxw-55fj-728m).
- Enforced organization-level scoping across all reporting queries, allocations, exports, timelogs, and time-sheets using reusable batch verification middleware (
-
Task Templates & Bulk Operations:
- Enforced
CREATE_TASKSand non-guest project access validation on task template imports (POST /api/v1/task-templates/import/:id), backed by database-level permission enforcement inimport_tasks_from_template(GHSA-fmxh-4fr5-fpmw, GHSA-2hgc-rp3m-8h4x). - Restricted bulk task updates and deletions to non-guest members with HTTP 403 (GHSA-fm6x-h77h-9pqq).
- Enforced team ownership and non-guest write access on custom template phase mutations and deletions (GHSA-hm22-6cjj-948w, GHSA-fx8q-mv6w-p26j).
- Secured real-time socket template renames to active, non-guest team members (GHSA-w3xx-j285-mrqf).
- Fixed in PR #1018.
- Enforced
-
Webhooks & SSRF Protections:
- Hardened SES/SNS webhook handling: fail-closed topic allowlist, SSRF defenses on certificate fetching, and retried deliveries on failed subscription confirmations (GHSA-vmqh-2p76-h3hj).
- Secured Jira and attachment import processing against SSRF with private IP blocking and sanitized 303 redirects (GHSA-cf2p-jh24-967v, GHSA-9xcr-c2wr-9pw2).
- Scoped import jobs strictly to the owning user to prevent cross-project IDOR (GHSA-3mcg-f6qr-6ffq, GHSA-pg75-fvgr-6p9j).
-
Access Controls & Database Safety:
- Strengthened team invitation verification and prevented unauthorized team seat claims (GHSA-64c9-jqhx-hg4x, GHSA-2wgw-gh8f-r327).
- Enforced identifier validation and column allowlists on sort and pagination parameters (GHSA-3v9f-xqrw-7f4v).
- Secured project links, attachment listings, task labels, activity logs, and roadmap endpoints against cross-tenant access.
- Hardened database initialization and migration safety (GHSA-v59q-rv4r-vchx).
- Fixed in PR #1004.
Database migrations
This release includes database migration 1794260005000_secure_template_task_import.js, which hardens the import_tasks_from_template PL/pgSQL function to verify that the executing user has active, non-guest access to the destination project. Deployments should execute npm run migrate:up when updating.
Dependency updates
- Bump
nanoidin/worklenz-client-portalto 3.3.20 (PR #1008). - Bump
browserslistin/worklenz-client-portalto 4.29.6 (PR #1009). - Upgraded dependencies and hardened SSL certificate handling (PR #980).
Full changelog: v3.4.2...v3.4.3