gemini-cli PR fixes hardcoded creds, trust bypass and path traversal in a2a-server
ugorla-dev · ghdev · 2026-11-23
PR #30417 on google-gemini/gemini-cli hardens the @google/gemini-cli-a2a-server against three vulnerabilities: it enforces Bearer-token auth (read from GEMINIIPCSECRET or CODERAGENTAUTHTOKEN before loadEnvironment() so workspace .env can't override it) plus localhost Host/Origin validation across all HTTP/JSON-RPC and REST endpoints, removing hardcoded credentials; it strips client-supplied isTrusted and normalizes workspacePath in createTask(); and it prevents path traversal in checkpoint restore via path.resolve. Roughly +242/−55 lines across 7 files.
More from coding & agent
- Mistral makes Vibe Pro free for a month in Europe after promo sells out in an hour — MistralAI · 2026-11-24
- Developer Praises Amp's Mac Satellites Feature via Spaces Projects — HankYeomans · 2026-11-24
- GTA 6 Xbox build leaks, and AI coding agents are about to work overtime — Angaisb_ · 2026-11-24
- Speculation swirls that Google may acquire Theo's T3 Code coding agent — weswinder · 2026-11-24
- NebuSec breaks out of Meta Muse sandbox with 0.5-click RCE, leaks agent memories — emmanuelvivier · 2026-11-24
- Code Isn't the Bottleneck Anymore: The Three-Phase Rise of the Software Factory — Pavan_Belagatti · 2026-11-24