# CodeQL 2.27.4 improves accuracy and query metadata

DevFeed: [CodeQL 2.27.4 improves accuracy and query metadata](<https://devfeed.tech/articles/codeql-2-27-4-improves-accuracy-and-query-metadata-117762.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2026-11-04-codeql-2-27-4-improves-accuracy-and-query-metadata>)

Author: Allison

Published: 2026-11-04T20:04:52Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [Static code analysis](<https://devfeed.tech/topics/static-code-analysis.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [blog](<https://devfeed.tech/tags/blog.md>), [c](<https://devfeed.tech/tags/c.md>), [c-c-plus-plus](<https://devfeed.tech/tags/c-c-plus-plus.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [changelog](<https://devfeed.tech/tags/changelog.md>), [changes](<https://devfeed.tech/tags/changes.md>), [code-scanning](<https://devfeed.tech/tags/code-scanning.md>), [codeql](<https://devfeed.tech/tags/codeql.md>), [engine](<https://devfeed.tech/tags/engine.md>), [github](<https://devfeed.tech/tags/github.md>), [improvement](<https://devfeed.tech/tags/improvement.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [metadata](<https://devfeed.tech/tags/metadata.md>), [post](<https://devfeed.tech/tags/post.md>), [query](<https://devfeed.tech/tags/query.md>), [security](<https://devfeed.tech/tags/security.md>), [static](<https://devfeed.tech/tags/static.md>), [static-analysis](<https://devfeed.tech/tags/static-analysis.md>)

## AI overview

CodeQL 2.27.4 improves analysis accuracy across several languages: Java/Kotlin queries recognize more sanitizers and path guards; Rust queries have fewer false positives; and C/C++ queries suppress reports for intentional `std::byte*` pointer arithmetic and variables marked `[[maybe_unused]]`. It also removes CWE-730 metadata from specified regex-related queries across C#, Java/Kotlin, JavaScript/TypeScript, Python, Ruby, and Swift. The CLI sends JVM warnings and initialization errors to stderr, preserving machine-readable output. When bundling or publishing packs, it omits files whose resolved symbolic links point outside the pack root and warns about them. GitHub deploys new CodeQL versions automatically for code scanning on github.com; this release is slated for GHES 3.24, while older GHES versions can be upgraded manually.

## Source excerpt

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.4 with query accuracy improvements across several... The post CodeQL 2.27.4 improves accuracy and query metadata appeared first on The GitHub Blog.