Skip to content

fix(sec): require authMiddleware on POST /api/uploads route and add unit test (#11634) - #11645

Open
jihadMo wants to merge 4 commits into
SecureBananaLabs:mainfrom
jihadMo:fix/upload-route-require-auth-middleware
Open

fix(sec): require authMiddleware on POST /api/uploads route and add unit test (#11634)#11645
jihadMo wants to merge 4 commits into
SecureBananaLabs:mainfrom
jihadMo:fix/upload-route-require-auth-middleware

Conversation

@jihadMo

@jihadMo jihadMo commented Aug 7, 2026

Copy link
Copy Markdown

Resolves #11634.

Applies authMiddleware on POST /api/uploads in apps/api/src/routes/authenticatedUploadRoutes.js and dedicated unit test in apps/api/src/tests/authenticatedUpload.test.js.

github-actions Bot added a commit that referenced this pull request Aug 7, 2026
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.

[Bug] Upload route accepts unauthenticated requests

1 participant