CodeQL 2.25.3 adds Swift 6.3 support

Published: (May 8, 2026 at 05:02 AM EDT)
3 min read

Source: GitHub Changelog

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.25.3, which adds support for Swift 6.3, promotes five C/C++ queries to the default code‑scanning query suite, and includes various accuracy improvements across languages.

Language and framework support

Swift

  • CodeQL now supports analysis of apps built with Swift 6.3.

Python

  • The Python extractor now supports the new lazy import … and lazy from … import … syntax defined in PEP‑810, which is part of Python 3.15.

Java/Kotlin

  • The java/xxe and java/xxe-local queries now detect sinks in the Woodstox StAX library, including direct uses of com.ctc.wstx.stax.WstxInputFactory and org.codehaus.stax2.XMLInputFactory2.

C/C++

  • Added AllocationFunction models for aligned_alloc, std::aligned_alloc, and bsl::aligned_alloc.

Query changes

C/C++

We’ve promoted five queries to high precision and added them to the default code‑scanning query suite:

C#

  • Updated cs/useless-tostring-call to avoid false positives in calls to StringBuilder.AppendLine and in calls of the form base.ToString(), and refined the alert message.

JavaScript/TypeScript

  • js/missing-rate-limiting now accounts for Fastify per‑route rate limiting.

Python

  • py/bind-socket-all-network-interfaces now uses the global data‑flow library, improving precision and yielding more results. The query also recognizes wrappers of socket.socket in the eventlet and gevent libraries as socket‑binding operations.

GitHub Actions

  • Improved alert messages and source locations for actions/artifact-poisoning/critical and actions/artifact-poisoning/medium, making alerts easier to understand and aligning them with similar queries that report on potentially untrusted artifacts.
  • actions/missing-workflow-permissions no longer produces false positives on reusable workflows where all callers set permissions.
  • Removed false‑positive injection sink models for the context input of docker/build-push-action and the allowed-endpoints input of step-security/harden-runner.

For a full list of changes, please refer to the complete changelog for version 2.25.3. Every new version of CodeQL is automatically deployed to users of GitHub code scanning on github.com. The new functionality in CodeQL 2.25.3 will also be included in GitHub Enterprise Server (GHES) 3.22 release. If you use an older version of GHES, you can manually upgrade your CodeQL version.

0 views
Back to Blog

Related posts

Read more »