Cloud security 2 min read · Updated 6 Dec 2026

CodeQL 2.27.5 and 2.27.6: review the threat model as well as the runner

On this page
  1. Separate query coverage from runtime maintenance
  2. Validate the complete analysis pipeline
  3. Account for your hosting arrangement

Conceptual CodeQL illustration highlighting the input validation boundary

Editorial illustration for this article; not a product screenshot.

Catch-up review. Original announcement: 2026-12-04. Prepared 6 December 2026; not breaking news.

A scanner can be current and still analyse the wrong trust boundary. The latest CodeQL updates are a useful prompt to review both the tooling used by the pipeline and the inputs the analysis treats as untrusted.

GitHub’s 4 December summary covers CodeQL 2.27.5 and 2.27.6. The underlying release notes date those versions to 19 November and 24 November respectively. This is a catch-up on those releases; the December summary is not the first release date of either CLI version.

Separate query coverage from runtime maintenance

The 2.27.5 notes add MCP-related data-flow modelling for supported JavaScript, TypeScript and Python frameworks under the relevant threat-model configuration. Check the exact SDK and configuration in the release notes before assuming an MCP server is covered.

For an illustrative tool handler, draw the path from an externally influenced argument to the operation it can trigger. Ask which values are trusted, which validation applies and whether the analysis is configured to represent that boundary. A server name or an MCP dependency in the manifest does not prove that the path is being analysed.

The 2.27.6 notes separately update the bundled JDK and Java extraction behaviour. That is a scanner-runtime maintenance concern. It should not be confused with patching the JDK used by the application you are scanning.

Validate the complete analysis pipeline

Record the CLI or action version, query packs, language configuration and build environment before comparing results. Keep those inputs with the scan evidence so that another engineer can reproduce the comparison.

Begin with a representative repository and verify database extraction, analysis completion and result upload. A pipeline that produces no new alerts may be healthy, misconfigured or analysing less code than expected. Confirm what actually ran.

Then review a sample of changed findings with the repository owner. A new alert can reflect better modelling rather than newly introduced vulnerable code; a disappearing alert may reflect a precision improvement rather than a fixed application. The comparison needs an explanation, not simply a count.

Account for your hosting arrangement

GitHub says new CodeQL versions are deployed automatically to GitHub.com code scanning, while Enterprise Server delivery follows its own release path. Self-managed CLI installations and pinned pipeline dependencies deserve a separate inventory. Verify the supported upgrade route for the environment in use.

Private-repository availability depends on the applicable GitHub security entitlement; do not assume public-repository terms apply to an internal estate. Include runner time and maintenance effort in the evaluation, especially for large compiled codebases.

No repository scan was performed for this article. The proposed next step is a small upgrade comparison with preserved configuration, reviewed findings and a rollback plan. The result should explain what changed in the analysis and why it improves coverage for that repository, rather than relying on a higher version number alone.

Cheers,

Marcos Nogueira

Connect with me on LinkedIn

Search