gemini-cli fix patches auth bypass exposing five A2A server routes without credentials
freedom2132 · ghdev · 2026-11-24
PR #30449 in google-gemini/gemini-cli fixes an authentication bypass in the A2A server: five routes mounted directly on the express app (POST /tasks, POST /executeCommand, GET /listCommands, plus two metadata routes) were reachable without credentials after setupRoutes() wired auth only to SDK routes. The fix adds a requireAuthentication middleware reusing the same customUserBuilder, returning 401 for unauthenticated requests, with 7 new tests. A follow-up issue tracks replacing hardcoded demo credentials with env-supplied or startup-generated ones.
More from coding & agent
- Anthropic Duet burns $500 credits 5X faster than Grok, early user reports — MartinGTobias · 2026-11-26
- AI Engineering Landscape: an open/closed-source tool directory grouped by job — ghumare64 · 2026-11-26
- Screenshot Studio: crop, annotate, redact, and ask Claude right on the canvas — iamfakhrealam · 2026-11-26
- Porting Megaboss into a Claude artifact app with Spotify playback and haptics — iamfakhrealam · 2026-11-26
- A planet in one shader: Titan colony grows over 60 years, running as a Mac app — iamfakhrealam · 2026-11-26
- One PDF timetable, one prompt, one click — a desktop class reminder app — iamfakhrealam · 2026-11-26