Skip to content

context: reject access tokens passed via URL query parameters#8177

Merged
unknwon merged 4 commits intomainfrom
GHSA-x9p5-w45c-7ffc
Feb 13, 2026
Merged

context: reject access tokens passed via URL query parameters#8177
unknwon merged 4 commits intomainfrom
GHSA-x9p5-w45c-7ffc

Conversation

@unknwon
Copy link
Member

@unknwon unknwon commented Feb 13, 2026

Summary

  • Remove support for passing API access tokens via URL query parameters (token, access_token). Tokens must now be provided via the Authorization header.

GHSA: GHSA-x9p5-w45c-7ffc

Test plan

  • Verify API calls with Authorization: token <token> header still work.
  • Verify API calls with ?token=<token> or ?access_token=<token> query parameters are no longer authenticated.

🤖 Generated with Claude Code

unknwon and others added 3 commits February 12, 2026 21:46
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@unknwon unknwon force-pushed the GHSA-x9p5-w45c-7ffc branch from 409e53b to 816cddc Compare February 13, 2026 02:53
@unknwon unknwon added this to the 0.14.2 milestone Feb 13, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@unknwon unknwon force-pushed the GHSA-x9p5-w45c-7ffc branch from 816cddc to 76d7de3 Compare February 13, 2026 02:57
@unknwon unknwon merged commit 295bfba into main Feb 13, 2026
14 checks passed
@unknwon unknwon deleted the GHSA-x9p5-w45c-7ffc branch February 13, 2026 20:27
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