CodeQL 2.26.2 adds Swift 6.3.3 and Kotlin 2.4.10 support
CodeQL, the static analysis engine for GitHub code scanning, now supports Swift 6.3.3 and Kotlin 2.4.10. This expands the language coverage for finding and remediating security issues in your code.
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.26.2, which adds support for Swift 6.3.3 and Kotlin 2.4.10, and improves the accuracy of path injection, URL redirection, and GitHub Actions queries.
Language and framework support
Swift: CodeQL now supports analysis of apps built with Swift 6.3.3.
Java/Kotlin: CodeQL now supports Kotlin versions up to 2.4.10.
Query changes
C#
System.Web.HttpRequest.RawUrlis no longer a sanitizer forcs/web/unvalidated-url-redirection, since it contains the unnormalized request line. This may lead to more results.- We’ve removed the
cs/useless-assignment-to-localquery from thecode-qualitysuite. It remains in thecode-quality-extendedsuite.
Go
path/filepath.Relis no longer a sanitizer forgo/path-injectionandgo/zipslip, which may lead to more results.
Java/Kotlin
java.io.File.getName()is no longer a complete sanitizer forjava/path-injection, since it doesn’t remove a..path component. This may lead to more results.
C/C++
- We’ve updated the
cpp/new-free-mismatchquery to use theexternal/cwe/cwe-762tag instead ofexternal/cwe/cwe-401, which better matches the query’s behavior.
GitHub Actions
- We’ve changed the
EnvironmentChecklogic so it only protects against non-TOCTOU scenarios, which surfaces more results in the untrusted checkout queries.
Breaking change
- CodeQL no longer parses
[[-style links in alert messages. This undocumented legacy feature let query authors embed links inline inselectclause message strings. Use$@placeholder pairs instead.
For a full list of changes, please refer to the complete changelog for version 2.26.2. Every new version of CodeQL is automatically deployed to users of GitHub code scanning on github.com. The new functionality in CodeQL 2.26.2 will also be included in a future GitHub Enterprise Server (GHES) release. If you use an older version of GHES, you can manually upgrade your CodeQL version.
The post CodeQL 2.26.2 adds Swift 6.3.3 and Kotlin 2.4.10 support appeared first on The GitHub Blog.
Source: original entry ↗
More from GitHub
Follow GitHub to get its new changes in your feed and email digest.
Copilot model policy API for enterprise, orgs, and teams
REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.
GitHub Copilot models deprecated
GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.
Some Git over HTTPS may temporarily require authentication
GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.