<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem" -->

---
title: CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support
description: CodeQL 2.27.1 ships new queries and data flow model improvements across multiple languages. C/C++ gains taint flow models for Boost.Asio, Bloomberg's BDE Blob...
canonical: https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support | daily.dev
og:description: CodeQL 2.27.1 ships new queries and data flow model improvements across multiple languages. C/C++ gains taint flow models for Boost.Asio, Bloomberg's BDE Blob...
og:url: https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem
og:image: https://api.daily.dev/og/posts/4XuqmRUeM.png
og:image:alt: CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support

**[GitHub Changelog](https://daily.dev/sources/github_updates)** · 3 min read · 0 upvotes · 0 comments

## Summary

CodeQL 2.27.1 ships new queries and data flow model improvements across multiple languages. C/C++ gains taint flow models for Boost.Asio, Bloomberg's BDE Blob buffer, and Protocol Buffers, plus a new query detecting ambiguous comparison-to-assignment expressions. Go gains data flow models for Go 1.27 standard-library APIs including the new encoding/json/jsontext package. CodeQL now supports Kotlin 2.4.20, with a fix for Foo::class.java extraction under the K2 compiler that reduces false positives in Android PendingIntent queries. JavaScript/TypeScript analysis now recognizes Fastify servers configured via chainable methods, improving route attribution for rate-limiting queries. Rust gets fixed path resolution for trait self-paths, new data flow models for core::fmt::Write, and an updated rust-analyzer (0.0.347) requiring migration attention. New C# queries flag foreach loops replaceable by LINQ FirstOrDefault, and the GitHub Actions unpinned-tag query no longer flags actions pinned via actions.lock or self-repository references. GitHub automatically deploys this version to github.com code scanning users; GHES 3.24 will include it.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.blog/changelog/2026-09-25-codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support>

## Questions this post answers

### Does CodeQL support Kotlin 2.4.20?

Yes, CodeQL 2.27.1 adds support for Kotlin 2.4.20. This release also fixes extraction of Foo::class.java arguments when using the Kotlin K2 compiler, which reduces false positives in queries such as java/android/implicit-pendingintents.

_Teams tracking Kotlin and CodeQL compatibility can follow release changes like this on daily.dev._

### Why does the rust-analyzer version matter for CodeQL's Rust extractor in version 2.27.1?

CodeQL 2.27.1's Rust extractor now uses rust-analyzer version 0.0.347, which updates the Rust library AST with new node types and accessor APIs. Anyone maintaining custom Rust queries or extensions built on the previous AST should check the CodeQL 2.27.1 changelog for migration details before upgrading.

_Developers migrating custom Rust CodeQL queries can track extractor changes like this on daily.dev._

### What does the new cpp/ambiguous-assignment-of-comparison CodeQL query detect?

It detects potentially ambiguous C/C++ expressions that assign the result of a comparison to a variable and then use that assignment as a truth value, a common source of logic bugs from missing double-equals. This query was added in CodeQL 2.27.1 alongside other C/C++ taint flow model improvements.

_Developers hardening C/C++ code scanning rules can follow query additions like this on daily.dev._

## Similar posts on daily.dev

- [CodeQL 2.26.1 improves analysis accuracy and framework coverage](https://daily.dev/posts/codeql-2-26-1-improves-analysis-accuracy-and-framework-coverage-wwknpo6q8) · GitHub Changelog · 0 upvotes · 0 comments
- [CodeQL 2.25.4 adds Swift 6.3.1 support, improvements to C\# and Java, and more](https://daily.dev/posts/codeql-2-25-4-adds-swift-6-3-1-support-improvements-to-c-and-java-and-more-4p6kf42jw) · GitHub Changelog · 0 upvotes · 0 comments
- [CodeQL 2.27.4 improves accuracy and query metadata](https://daily.dev/posts/codeql-2-27-4-improves-accuracy-and-query-metadata-8ler5than) · GitHub Changelog · 0 upvotes · 0 comments
- [CodeQL 2.25.2 adds Kotlin 2.3.20 support and other updates](https://daily.dev/posts/codeql-2-25-2-adds-kotlin-2-3-20-support-and-other-updates-ortwd96jn) · GitHub Changelog · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#kotlin](https://daily.dev/tags/kotlin), [#codeql](https://daily.dev/tags/codeql), [#code-scanning](https://daily.dev/tags/code-scanning)

[View this post on daily.dev](https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support","url":"https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem"},"datePublished":"2026-09-25T11:21:05.114Z","dateModified":"2026-09-25T11:21:30.391Z","description":"CodeQL 2.27.1 ships new queries and data flow model improvements across multiple languages. C/C++ gains taint flow models for Boost.Asio, Bloomberg's BDE Blob...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/46414073d5db69b4653ef1758ce00506?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/46414073d5db69b4653ef1758ce00506?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitHub Changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitHub Changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/15004b7835da4d89b02b115871f0f6dc","url":"https://daily.dev/sources/github_updates"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,kotlin,codeql,code-scanning","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitHub Changelog","item":"https://daily.dev/sources/github_updates"},{"@type":"ListItem","position":3,"name":"CodeQL 2.27.1 adds C and C++ query and Kotlin 2.4.20 support"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/codeql-2-27-1-adds-c-and-c-query-and-kotlin-2-4-20-support-4xuqmruem#faq","mainEntity":[{"@type":"Question","name":"Does CodeQL support Kotlin 2.4.20?","acceptedAnswer":{"@type":"Answer","text":"Yes, CodeQL 2.27.1 adds support for Kotlin 2.4.20. This release also fixes extraction of Foo::class.java arguments when using the Kotlin K2 compiler, which reduces false positives in queries such as java/android/implicit-pendingintents. Teams tracking Kotlin and CodeQL compatibility can follow release changes like this on daily.dev."}},{"@type":"Question","name":"Why does the rust-analyzer version matter for CodeQL's Rust extractor in version 2.27.1?","acceptedAnswer":{"@type":"Answer","text":"CodeQL 2.27.1's Rust extractor now uses rust-analyzer version 0.0.347, which updates the Rust library AST with new node types and accessor APIs. Anyone maintaining custom Rust queries or extensions built on the previous AST should check the CodeQL 2.27.1 changelog for migration details before upgrading. Developers migrating custom Rust CodeQL queries can track extractor changes like this on daily.dev."}},{"@type":"Question","name":"What does the new cpp/ambiguous-assignment-of-comparison CodeQL query detect?","acceptedAnswer":{"@type":"Answer","text":"It detects potentially ambiguous C/C++ expressions that assign the result of a comparison to a variable and then use that assignment as a truth value, a common source of logic bugs from missing double-equals. This query was added in CodeQL 2.27.1 alongside other C/C++ taint flow model improvements. Developers hardening C/C++ code scanning rules can follow query additions like this on daily.dev."}}]}
```

