AIFeed

CodeQL 2.27.5/6 improves precision and updates bundled JDK

Summary

CodeQL is the static analysis engine behind GitHub code scanning , which finds and remediates security issues in your code. We've recently released CodeQL 2.27.5 and 2.27.6. CodeQL 2.27.5 brings detection for unsafe deserialization in Rust and tracks input to Model Context Protocol (MCP) servers in JavaScript, TypeScript, and Python. CodeQL 2.27.6 updates the bundled JDK to Temurin jdk-25.0.5.1+2 to mitigate Java4Shell ( CVE-2026-114938 ). The Java extractor also disables HotSpot Base64 intrinsics when it uses the bundled JDK. Language and framework support JavaScript/TypeScript and Python: If you enable the ai threat model, CodeQL now tracks model-generated arguments to tool, resource, and prompt handlers in the official MCP SDKs and fastmcp . The remote threat model tracks request headers and bearer tokens separately. JavaScript/TypeScript: CodeQL now follows data from the input of Zod's parse , safeParse , and their asynchronous variants to the parsed result. Java/Kotlin: CodeQL now…

Original text(via GitHub Changelog)

CodeQL is the static analysis engine behind GitHub code scanning, which finds and remediates security issues in your code. We've recently released CodeQL 2.27.5 and 2.27.6. CodeQL 2.27.5 brings detection for unsafe deserialization in Rust and tracks input to Model Context Protocol (MCP) servers in JavaScript, TypeScript, and Python. CodeQL 2.27.6 updates the bundled JDK to Temurin jdk-25.0.5.1+2 to mitigate Java4Shell (CVE-2026-114938). The Java extractor also disables HotSpot Base64 intrinsics when it uses the bundled JDK.

Language and framework support

  • JavaScript/TypeScript and Python: If you enable the ai threat model, CodeQL now tracks model-generated arguments to tool, resource, and prompt handlers in the official MCP SDKs and fastmcp. The remote threat model tracks request headers and bearer tokens separately.
  • JavaScript/TypeScript: CodeQL now follows data from the input of Zod's parse, safeParse, and their asynchronous variants to the parsed result.
  • Java/Kotlin: CodeQL now tracks untrusted data through Reactor's Mono<T>.
  • C#: CodeQL now follows data through property patterns in is expressions and switch cases.
  • Go: CodeQL now tracks values through maps functions that don't use iter.

Query changes

  • Rust: The new rust/unsafe-deserialization query detects code that deserializes user-controlled data. The rust/access-after-lifetime-ended query also detects more invalid accesses through pointers to struct fields.
  • JavaScript/TypeScript: Command injection queries now flag untrusted arguments passed to spawn or execFile when the call enables a shell.
  • Java/Kotlin: Weak cryptography queries now recognize algorithm names and modes regardless of capitalization. The server-side request forgery and URL redirection queries also recognize checks against a fixed collection of allowed hosts, even when code converts the hostname to upper or lower case.
  • Python: py/tarslip now flags untrusted archive members passed by keyword to TarFile.extract. It no longer flags TarFile.extractall(path, members) when the caller has sanitized members.
  • C/C++: cpp/cleartext-transmission and cpp/cleartext-storage-file now track sensitive data through character types, so they can detect more cases of cleartext transmission and storage.

For full details, see the CodeQL 2.27.5 changelog and the CodeQL 2.27.6 changelog. GitHub automatically deploys every new CodeQL version to users of GitHub code scanning on github.com. A future GitHub Enterprise Server (GHES) 3.24 release will also include this functionality. If you use an older version of GHES, you can manually upgrade your CodeQL version.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by GitHub Changelog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗