Skip to content

fix: Check ownership of uploaded files before confirming/sending#39010

Merged
tassoevan merged 3 commits intodevelopfrom
fix/fileowner
Feb 26, 2026
Merged

fix: Check ownership of uploaded files before confirming/sending#39010
tassoevan merged 3 commits intodevelopfrom
fix/fileowner

Conversation

@KevLehman
Copy link
Copy Markdown
Member

@KevLehman KevLehman commented Feb 24, 2026

Proposed changes (including videos or screenshots)

Issue(s)

Should close #38892

Steps to test or reproduce

https://rocketchat.atlassian.net/browse/CORE-1846

Further comments

Summary by CodeRabbit

  • Bug Fixes

    • Tightened file access so file confirmations and sends require the original uploader and the correct room, preventing unauthorized or cross-room confirmations.
  • Tests

    • Added cross-user and cross-room test scenarios to validate permission and confirmation behavior.
  • Chores

    • Updated type/interface surface and release metadata to support the stricter upload lookup and validation.

Note for reviewer: initially i wanted to filter by pending uploads only (so we could only confirm pending ones)

However, there's a flow with the pdf transcript that uploads the files as "confirmed" and then sends the message with the file attached. This would fail, but i'm still unsure if pdf should upload the transcripts as pending and then confirm, or if we should leave it like that. Anyways, i'll create another task for investigating and fixing that behavior specifically

@dionisio-bot
Copy link
Copy Markdown
Contributor

dionisio-bot bot commented Feb 24, 2026

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 17488e1 and 5ac4d68.

📒 Files selected for processing (2)
  • .changeset/blue-seals-leave.md
  • apps/meteor/tests/data/uploads.helper.ts
✅ Files skipped from review due to trivial changes (1)
  • .changeset/blue-seals-leave.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/meteor/tests/data/uploads.helper.ts

Walkthrough

Replaces generic upload lookups with a new access-scoped method findOneByIdAndUserIdAndRoomId and uses it in the rooms.mediaConfirm endpoint and sendFileMessage flow; tests were extended to exercise cross-user and cross-room authorization scenarios. (46 words)

Changes

Cohort / File(s) Summary
Uploads model typings & implementation
packages/model-typings/src/models/IBaseUploadsModel.ts, packages/models/src/models/BaseUploadModel.ts
Added findOneByIdAndUserIdAndRoomId(fileId, userId, rid, options?) to the uploads model interface and implementation for composite id/user/room lookups.
Server API / methods
apps/meteor/app/api/server/v1/rooms.ts, apps/meteor/app/file-upload/server/methods/sendFileMessage.ts
Replaced loose findOneById lookups with findOneByIdAndUserIdAndRoomId to enforce that the upload belongs to the requesting user and room; now returns error-invalid-file when not found/authorized.
Tests / test helpers
apps/meteor/tests/data/uploads.helper.ts
Expanded tests with cross-user and cross-room scenarios; added helpers for adding users to rooms and logging in to validate authorization behavior.
Release metadata
.changeset/blue-seals-leave.md
Added changeset documenting a patch bump and describing the authorization fix.
Manifest
package.json
Single-line change (metadata/bump) noted in manifest.

Sequence Diagram(s)

mermaid
sequenceDiagram
participant Client as Client
participant API as Server API
participant Uploads as Uploads Model
participant DB as Database
Client->>API: request sendFileMessage / mediaConfirm (fileId, rid)
API->>Uploads: findOneByIdAndUserIdAndRoomId(fileId, userId, rid)
Uploads->>DB: query {_id: fileId, userId, rid}
DB-->>Uploads: record or null
Uploads-->>API: upload or null
API->>API: if null -> throw error-invalid-file
API->>Uploads: updateFileComplete(...) (when upload found)
API-->>Client: success / failure

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Suggested labels

type: bug

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The PR partially addresses linked issues but has incomplete implementation: it adds findOneByIdAndUserIdAndRoomId and uses it in sendFileMessage flow, but does not address E2EE updateFileContentById validation or findByIds ownership checks from CORE-1846. Add ownership validation to updateFileContentById for E2EE flows and ensure findByIds includes userId filtering as required by CORE-1846.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately and concisely describes the main change: adding ownership verification for uploaded files before confirmation/sending operations.
Out of Scope Changes check ✅ Passed Changes are scope-appropriate: new database helper method, sendFileMessage ownership check, rooms.mediaConfirm/:rid/:fileId authorization tightening, and test scaffolding for multi-user scenarios all align with file ownership verification objectives.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: 5ac4d68

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 41 packages
Name Type
@rocket.chat/meteor Patch
@rocket.chat/model-typings Patch
@rocket.chat/models Patch
@rocket.chat/apps Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/omnichannel-services Patch
rocketchat-services Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/instance-status Patch
@rocket.chat/omni-core Patch
@rocket.chat/server-fetch Patch
@rocket.chat/ui-client Patch
@rocket.chat/abac Patch
@rocket.chat/federation-matrix Patch
@rocket.chat/media-calls Patch
@rocket.chat/omni-core-ee Patch
@rocket.chat/presence Patch
@rocket.chat/network-broker Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/ddp-client Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/http-router Patch
@rocket.chat/livechat Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/ui-voip Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/license Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/mock-providers Patch
@rocket.chat/ui-video-conf Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@KevLehman
Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 24, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/meteor/tests/data/uploads.helper.ts`:
- Around line 324-329: Remove the inline comment preceding the addUserToRoom
call: delete the "// add user to room so they can upload files to it" comment
and leave the surrounding code as-is (the conditional on roomType, the
addUserToRoom({...}) invocation referencing testRoom._id and
anotherUser.username). This keeps the implementation comment-free while
preserving behavior.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4c0244d and 17488e1.

📒 Files selected for processing (5)
  • apps/meteor/app/api/server/v1/rooms.ts
  • apps/meteor/app/file-upload/server/methods/sendFileMessage.ts
  • apps/meteor/tests/data/uploads.helper.ts
  • packages/model-typings/src/models/IBaseUploadsModel.ts
  • packages/models/src/models/BaseUploadModel.ts
📜 Review details
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,js}

📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)

**/*.{ts,tsx,js}: Write concise, technical TypeScript/JavaScript with accurate typing in Playwright tests
Avoid code comments in the implementation

Files:

  • apps/meteor/app/file-upload/server/methods/sendFileMessage.ts
  • packages/model-typings/src/models/IBaseUploadsModel.ts
  • apps/meteor/app/api/server/v1/rooms.ts
  • packages/models/src/models/BaseUploadModel.ts
  • apps/meteor/tests/data/uploads.helper.ts
🧠 Learnings (21)
📓 Common learnings
Learnt from: ggazzo
Repo: RocketChat/Rocket.Chat PR: 35995
File: apps/meteor/app/api/server/v1/rooms.ts:1107-1112
Timestamp: 2026-02-23T17:53:06.802Z
Learning: In Rocket.Chat PR reviews, maintain strict scope boundaries—when a PR is focused on a specific endpoint (e.g., rooms.favorite), avoid reviewing or suggesting changes to other endpoints that were incidentally refactored (e.g., rooms.invite) unless explicitly requested by maintainers.
📚 Learning: 2026-02-12T15:39:28.416Z
Learnt from: dougfabris
Repo: RocketChat/Rocket.Chat PR: 32703
File: apps/meteor/client/lib/chats/flows/uploadFiles.ts:52-58
Timestamp: 2026-02-12T15:39:28.416Z
Learning: In `apps/meteor/client/lib/chats/flows/uploadFiles.ts`, when E2E encryption is required but not allowed (e.g., `E2E_Enable_Encrypt_Files` setting is disabled), the function intentionally abandons the entire upload queue and displays a toast error. This fail-fast behavior prevents partial uploads when encryption requirements cannot be met and is the expected behavior, not a bug.

Applied to files:

  • apps/meteor/app/file-upload/server/methods/sendFileMessage.ts
📚 Learning: 2026-01-15T22:03:35.587Z
Learnt from: d-gubert
Repo: RocketChat/Rocket.Chat PR: 38071
File: apps/meteor/app/apps/server/bridges/listeners.ts:257-271
Timestamp: 2026-01-15T22:03:35.587Z
Learning: In the file upload pipeline (apps/meteor/app/apps/server/bridges/listeners.ts), temporary files are created by the server in the same filesystem, so symlinks between temp files are safe and don't require cross-filesystem fallbacks.

Applied to files:

  • apps/meteor/app/file-upload/server/methods/sendFileMessage.ts
📚 Learning: 2025-10-28T16:53:42.761Z
Learnt from: ricardogarim
Repo: RocketChat/Rocket.Chat PR: 37205
File: ee/packages/federation-matrix/src/FederationMatrix.ts:296-301
Timestamp: 2025-10-28T16:53:42.761Z
Learning: In the Rocket.Chat federation-matrix integration (ee/packages/federation-matrix/), the createRoom method from rocket.chat/federation-sdk will support a 4-argument signature (userId, roomName, visibility, displayName) in newer versions. Code using this 4-argument call is forward-compatible with planned library updates and should not be flagged as an error.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2025-09-25T09:59:26.461Z
Learnt from: Dnouv
Repo: RocketChat/Rocket.Chat PR: 37057
File: packages/apps-engine/src/definition/accessors/IUserRead.ts:23-27
Timestamp: 2025-09-25T09:59:26.461Z
Learning: UserBridge.doGetUserRoomIds in packages/apps-engine/src/server/bridges/UserBridge.ts has a bug where it implicitly returns undefined when the app lacks read permission (missing return statement in the else case of the permission check).

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2025-09-25T09:59:26.461Z
Learnt from: Dnouv
Repo: RocketChat/Rocket.Chat PR: 37057
File: packages/apps-engine/src/definition/accessors/IUserRead.ts:23-27
Timestamp: 2025-09-25T09:59:26.461Z
Learning: AppUserBridge.getUserRoomIds in apps/meteor/app/apps/server/bridges/users.ts always returns an array of strings (mapping subscription documents to room IDs), never undefined, even when user has no room subscriptions.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2025-09-25T09:59:26.461Z
Learnt from: Dnouv
Repo: RocketChat/Rocket.Chat PR: 37057
File: packages/apps-engine/src/definition/accessors/IUserRead.ts:23-27
Timestamp: 2025-09-25T09:59:26.461Z
Learning: AppUserBridge.getUserRoomIds in apps/meteor/app/apps/server/bridges/users.ts always returns an array of strings by mapping subscription documents to room IDs, never undefined, even when user has no room subscriptions.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2025-11-27T17:56:26.050Z
Learnt from: MartinSchoeler
Repo: RocketChat/Rocket.Chat PR: 37557
File: apps/meteor/client/views/admin/ABAC/AdminABACRooms.tsx:115-116
Timestamp: 2025-11-27T17:56:26.050Z
Learning: In Rocket.Chat, the GET /v1/abac/rooms endpoint (implemented in ee/packages/abac/src/index.ts) only returns rooms where abacAttributes exists and is not an empty array (query: { abacAttributes: { $exists: true, $ne: [] } }). Therefore, in components consuming this endpoint (like AdminABACRooms.tsx), room.abacAttributes is guaranteed to be defined for all returned rooms, and optional chaining before calling array methods like .join() is sufficient without additional null coalescing.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2026-02-23T17:53:06.802Z
Learnt from: ggazzo
Repo: RocketChat/Rocket.Chat PR: 35995
File: apps/meteor/app/api/server/v1/rooms.ts:1107-1112
Timestamp: 2026-02-23T17:53:06.802Z
Learning: During PR reviews that touch endpoint files under apps/meteor/app/api/server/v1, enforce strict scope: if a PR targets a specific endpoint (e.g., rooms.favorite), do not propose changes to unrelated endpoints (e.g., rooms.invite) unless maintainers explicitly request them. Focus feedback on the touched endpoint's behavior, API surface, and related tests; avoid broad cross-endpoint changes in the same PR unless requested.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2026-02-24T19:09:01.522Z
Learnt from: ahmed-n-abdeltwab
Repo: RocketChat/Rocket.Chat PR: 38974
File: apps/meteor/app/api/server/v1/im.ts:220-221
Timestamp: 2026-02-24T19:09:01.522Z
Learning: In Rocket.Chat OpenAPI migration PRs for endpoints under apps/meteor/app/api/server/v1, avoid introducing logic changes. Only perform scope-tight changes that preserve behavior; style-only cleanups (e.g., removing inline comments) may be deferred to follow-ups to keep the migration PR focused.

Applied to files:

  • apps/meteor/app/api/server/v1/rooms.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Ensure tests run reliably in parallel without shared state conflicts

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Utilize Playwright fixtures (`test`, `page`, `expect`) for consistency in test files

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Group related tests in the same file

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/page-objects/**/*.ts : Utilize existing page objects pattern from `apps/meteor/tests/e2e/page-objects/`

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-09-16T13:33:49.237Z
Learnt from: cardoso
Repo: RocketChat/Rocket.Chat PR: 36890
File: apps/meteor/tests/e2e/e2e-encryption/e2ee-otr.spec.ts:21-26
Timestamp: 2025-09-16T13:33:49.237Z
Learning: In Rocket.Chat test files, the im.delete API endpoint accepts either a `roomId` parameter (requiring the actual DM room _id) or a `username` parameter (for the DM partner's username). It does not accept slug-like constructions such as concatenating usernames together.

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-12-10T21:00:54.909Z
Learnt from: KevLehman
Repo: RocketChat/Rocket.Chat PR: 37091
File: ee/packages/abac/jest.config.ts:4-7
Timestamp: 2025-12-10T21:00:54.909Z
Learning: Rocket.Chat monorepo: Jest testMatch pattern '<rootDir>/src/**/*.spec.(ts|js|mjs)' is valid in this repo and used across multiple packages (e.g., packages/tools, ee/packages/omnichannel-services). Do not flag it as invalid in future reviews.

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-12-16T17:29:45.163Z
Learnt from: gabriellsh
Repo: RocketChat/Rocket.Chat PR: 37834
File: apps/meteor/tests/e2e/page-objects/fragments/admin-flextab-emoji.ts:12-22
Timestamp: 2025-12-16T17:29:45.163Z
Learning: In page object files under `apps/meteor/tests/e2e/page-objects/`, always import `expect` from `../../utils/test` (Playwright's async expect), not from Jest. Jest's `expect` has a synchronous signature and will cause TypeScript errors when used with web-first assertions like `toBeVisible()`.

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Maintain test isolation between test cases in Playwright tests

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Use `test.beforeAll()` and `test.afterAll()` for setup/teardown in Playwright tests

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Ensure clean state for each test execution in Playwright tests

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
📚 Learning: 2025-11-24T17:08:17.065Z
Learnt from: CR
Repo: RocketChat/Rocket.Chat PR: 0
File: .cursor/rules/playwright.mdc:0-0
Timestamp: 2025-11-24T17:08:17.065Z
Learning: Applies to apps/meteor/tests/e2e/**/*.spec.ts : Use `test.step()` for complex test scenarios to improve organization in Playwright tests

Applied to files:

  • apps/meteor/tests/data/uploads.helper.ts
🧬 Code graph analysis (3)
packages/model-typings/src/models/IBaseUploadsModel.ts (1)
packages/ui-contexts/src/index.ts (1)
  • FindOptions (110-110)
apps/meteor/app/api/server/v1/rooms.ts (1)
apps/meteor/app/file-upload/server/lib/FileUpload.ts (1)
  • Uploads (55-76)
packages/models/src/models/BaseUploadModel.ts (1)
packages/ui-contexts/src/index.ts (1)
  • FindOptions (110-110)
🔇 Additional comments (5)
apps/meteor/app/file-upload/server/methods/sendFileMessage.ts (1)

41-46: Scoped upload lookup before completion is solid.
Line 41-46 ensures the upload belongs to the user and room before proceeding, aligning with the access-control goal.

packages/model-typings/src/models/IBaseUploadsModel.ts (1)

25-26: Interface addition is consistent with new lookup usage.
The new method signature cleanly exposes the scoped upload lookup.

packages/models/src/models/BaseUploadModel.ts (1)

138-140: Implementation is straightforward and correct.
The composite filter matches the intended ownership scoping.

apps/meteor/app/api/server/v1/rooms.ts (1)

260-260: Scoped lookup in rooms.mediaConfirm is a good tightening.
Line 260 correctly limits confirmation to files owned by the requesting user in the specified room.

apps/meteor/tests/data/uploads.helper.ts (1)

1-12: Imports align with the new cross-user test setup.
No concerns with the updated helper/typing imports.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.65%. Comparing base (55bf071) to head (5ac4d68).
⚠️ Report is 43 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop   #39010   +/-   ##
========================================
  Coverage    70.64%   70.65%           
========================================
  Files         3189     3190    +1     
  Lines       112716   112732   +16     
  Branches     20413    20449   +36     
========================================
+ Hits         79632    79654   +22     
+ Misses       31040    31030   -10     
- Partials      2044     2048    +4     
Flag Coverage Δ
e2e 60.41% <ø> (+<0.01%) ⬆️
e2e-api 47.85% <ø> (-0.10%) ⬇️
unit 71.25% <ø> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Fixes an authorization issue that allowed users to confirm uploads from other users
@KevLehman KevLehman marked this pull request as ready for review February 25, 2026 18:28
@KevLehman KevLehman requested review from a team as code owners February 25, 2026 18:28
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

@KevLehman KevLehman added this to the 8.3.0 milestone Feb 25, 2026
@tassoevan tassoevan added this pull request to the merge queue Feb 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2026
@tassoevan tassoevan added this pull request to the merge queue Feb 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2026
@KevLehman KevLehman added the stat: QA assured Means it has been tested and approved by a company insider label Feb 26, 2026
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Feb 26, 2026
@dionisio-bot dionisio-bot bot added this pull request to the merge queue Feb 26, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 26, 2026
@tassoevan tassoevan added this pull request to the merge queue Feb 26, 2026
Merged via the queue into develop with commit 602b20a Feb 26, 2026
83 of 85 checks passed
@tassoevan tassoevan deleted the fix/fileowner branch February 26, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sendFileMessage trusts client upload _id and allows unauthorized file finalization

4 participants