· rangkumin.tech

GitHub releases CodeQL 2.27.5 and 2.27.6, adding MCP tool-input tracking and a bundled JDK update for Java4Shell

GitHub has released CodeQL 2.27.5 and 2.27.6. The first adds a Rust unsafe-deserialization query and tracks model-generated input to MCP server handlers in JavaScript, TypeScript and Python; the second updates the bundled JDK to mitigate the Java4Shell vulnerability, CVE-2026-114938.

Why it matters

The MCP tracking applies when teams enable CodeQL's ai threat model: the engine then follows model-generated arguments into tool, resource and prompt handlers in the official MCP SDKs and fastmcp. The remote threat model now tracks request headers and bearer tokens separately. Other changes follow data through Zod's parse and safeParse, Reactor's Mono in Java and Kotlin, and property patterns in C#.

Several queries also change. JavaScript and TypeScript command-injection queries now flag untrusted arguments to spawn or execFile when a shell is enabled, Python's tarslip query now covers keyword arguments to TarFile.extract, and Java weak-cryptography checks ignore capitalization.

GitHub deploys new CodeQL versions automatically to code scanning users on github.com. GitHub Enterprise Server users get them in a future 3.24 release or can upgrade CodeQL manually. Teams running MCP servers can enable the ai threat model to see the new findings.

Sources

Choose English or Indonesian. Up to two editions a day. Unsubscribe anytime.