You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Response above is returned with no auth token. Anyone can modify tags on any cell without credentials.
Environment
OS: WIndows
Affected file: backend/api/resources/cell_tags.py
Additional Context
This is a security issue — any unauthenticated user can wipe or reassign tags on any cell belonging to any user. Other endpoints like PUT /api/cell/<id> and DELETE /api/cell/<id> correctly use the @authenticate decorator. The tag assignment handler is missing it.
If this issue looks legit, then i would like to work on this
Describe the Bug
POST /api/cell/<id>/tagshas no authentication check. Any unauthenticated request can add or remove tags from any user's cell without being logged in./api/cell/<id>/tagswith noAuthorizationheader successfully modifies the cell's tags.401 Unauthorizedimmediately if no valid token is provided.To Reproduce
Expected Behavior
The endpoint should return
401 Unauthorizedfor any request missing a validAuthorization: Bearer <token>header.Screenshots
{"message": "Tags assigned successfully", "tags": []}bug2.1.mp4
Response above is returned with no auth token. Anyone can modify tags on any cell without credentials.
Environment
backend/api/resources/cell_tags.pyAdditional Context
This is a security issue — any unauthenticated user can wipe or reassign tags on any cell belonging to any user. Other endpoints like
PUT /api/cell/<id>andDELETE /api/cell/<id>correctly use the@authenticatedecorator. The tag assignment handler is missing it.If this issue looks legit, then i would like to work on this