A static-analysis gate is only as stable as the engine under it. Most teams treat the engine as furniture. Then a release lands, the alert count moves, and nobody can say whether the code got worse or the tool got different.
CodeQL 2.27.2 is a good example to read carefully, because its notes are specific. I read the official changelog and GitHub's announcement on 14 October 2026. I haven't run 2.27.2 against any codebase, so this is a reading of what the release says it changed, and a plan for finding out what it did to you.
What did CodeQL 2.27.2 change for C and C++?
CodeQL released 2.27.2 on 7 October 2026 and GitHub announced it on the 9th. For C and C++ the notes list three items:
- A parser for the ECMAScript regular-expression grammar used by
std::regex. - SQL-injection sinks for the Comdb2 C API, specifically
cdb2_run_statementandcdb2_run_statement_typed. - Flow summaries for the Bloomberg BDE codecs (balber, baljsn, balxml) and taint summaries for the BDE
bslxbyte-stream deserializers.
A parser is not a query. Parsing a regex gives queries something to reason about, and the changelog names no C++ query that uses it. So I wouldn't expect a flood of regex findings on day one. What you might see is existing alerts changing shape.
The other two items matter only if you use those libraries. If your code calls Comdb2 or Bloomberg's BDE, you may see new SQL-injection or deserialization paths where before the flow stopped at the library boundary. If it doesn't, they're invisible.
Why is the Go change the one that can break things?
It's the release's one breaking change. The Go control-flow graph was "completely rewritten" on CodeQL's shared CFG library, and it now includes only nodes reachable from the entry point.
For custom queries that's real work. BasicBlocks::Cfg is gone. ControlFlow::EntryNode and ExitNode are new. IfStmt.getCond is deprecated in favor of getCondition, the result types of IfStmt.getThen and LoopStmt.getBody widened to Stmt, and several IR instruction classes were removed or consolidated, among them ReadArgumentInstruction, InitResultInstruction, IncDecInstruction, SelectInstruction and SendInstruction.
If you only run the standard suites, none of this touches your code. If you wrote your own Go queries, compile them against 2.27.2 before the update reaches your pipeline. A query that still compiles with a deprecation warning will work today and stop working later, which is the worst kind of failure to discover in a gate.
The reachability change deserves one more thought. A graph that drops unreachable nodes can remove alerts that lived in dead code. That's mostly good. It's also an alert count falling for reasons unrelated to anyone's fix.
What does Rust get?
Smaller changes. The extractor moved to rust-analyzer 0.0.352, which adds AnyAttr and DocComment to the AST. Data flow through async blocks used with await improved. Flow summaries arrived for native-tls, async-native-tls and tokio-native-tls.
The async one is the most interesting. Taint that used to vanish at an .await boundary can now be followed, so a Rust service that passes user input through async handlers could report paths it couldn't before. That would be a true finding, new to the tool and old to the code.
Can a tool update change your alerts without a commit?
Yes, and here is the part that bites. GitHub says it deploys the new version to github.com code scanning automatically. The default setup moves when GitHub moves it. Your repository didn't change and your alerts might.
The same shape showed up in Ruff. Ruff 0.16 raised its default rules, from 59 to 413, and the findings on the same sixty files went from 30 to 129. That was an announced default change you could pin against. A hosted scanner that updates itself gives you less control, and a rule that stops running looks the same as a rule that passes.
When the scanner updates itself, a changed alert count is a question about the tool before it is a question about the code.
How do you tell drift from real findings?
Run both versions on one database. If you build your own CodeQL databases, the check is mechanical:
codeql --version
codeql database analyze db/ codeql/cpp-queries:codeql-suites/cpp-security-extended.qls \
--format=sarif-latest --output=before.sarif
# switch the CLI to 2.27.2, then rerun on the same database
codeql database analyze db/ codeql/cpp-queries:codeql-suites/cpp-security-extended.qls \
--format=sarif-latest --output=after.sarif
jq '[.runs[].results[]] | length' before.sarif after.sarif
One caveat on that: a database built by an older extractor may need rebuilding for a newer one, so rebuild with each version if the analyze step complains. Then diff the rule IDs and locations, not just the totals. A flat count can hide one alert gone and one new.
Sort what moved into three piles. New alerts on code nobody touched are either real findings the tool couldn't see before or false positives from a new model, so read them. Vanished alerts are fixed, unreachable, or lost to the Go graph change, so check the rule. Unchanged alerts are your baseline, and if you're gating legacy code, that baseline is the whole point.
Drift is one way a green scan misleads. The other is a bug class no query covers, and Semgrep and CodeQL on planted bugs shows where eight classes went quiet.
What about macOS builds?
One more line from the notes, and it will hit somebody. Autobuild and manual build modes no longer work for compiled languages on macOS 27, or on macOS 26 with Xcode 27 selected, because Apple stopped shipping the multi-architecture binaries traced analysis needs. The advice is to stay on macOS 26 with Xcode 26. A build-mode improvement is described as in progress.
If your runners are Macs and you update them on a rolling basis, pin the Xcode version now. A scan that can't build produces no alerts, and an empty report looks exactly like a clean one.
What would I do before Friday?
Pin the CodeQL CLI wherever you control it. Compile any custom Go queries against 2.27.2. Run the before-and-after diff on one representative repository per language. Write the alert count and the CLI version into the pull request that bumps them. Then decide, per pile, who owns the new findings.
My bet is that the quiet release hurts more than the loud one. Nobody schedules time for a point release, so the drift arrives unattended.