Skip to content

CodeQL Release Notes

GitHub, Inc. ยท Create code-analysis databases, run semantic security queries and export findings with GitHubโ€™s CodeQL command-line tools.

CaskDeveloper Toolsย 1K
Install command
brew install --cask codeql
30-day installs
989
#302 in App
1-year installs
6.4K
Last 365 days
Latest version
2.27.6
Download size
984MB
zip
Release cadence
Every 2 weeks
3 releases in 30 days
  1. 2.27.6

    LatestPatch

    OpenNavo editorial Added to Homebrew

    CodeQL CLI 2.27.6 updates the bundled JDK to mitigate Java4Shell (CVE-2026-114938).

    Security
    Bundled JDK is now Temurin jdk-25.0.5.1+2.The Java extractor disables HotSpot Base64 intrinsics.

    CodeQL CLI 2.27.6, published 24 November 2026, updates the bundled JDK so people running CodeQL analyses are not exposed to Java4Shell (CVE-2026-114938). Source: https://github.com/github/codeql-cli-binaries/releases/tag/v2.27.6

    • Bundled JDK is now Temurin jdk-25.0.5.1+2.
    • The Java extractor disables HotSpot Base64 intrinsics.
  2. 2.27.5

    Patch

    OpenNavo editorial Added to Homebrew

    CodeQL CLI 2.27.5 drops Brotli extraction and adds string predicates.

    Breaking
    The C/C++ extractor drops Brotli compression; use zstd.
    Security
    XML, YAML, and properties test extraction no longer follows links.
    QL
    Strings gain startsWith, endsWith, and contains.

    CodeQL CLI 2.27.5 is for people who run CodeQL analyses and tests. It stops following symbolic links in some test extractors and adds string predicates. Published 2026-11-19. Source: https://github.com/github/codeql-cli-binaries/releases/tag/v2.27.5

    • The C/C++ extractor no longer accepts Brotli compression; use zstd instead.
    • XML, YAML, and Java properties test extraction no longer follows symbolic links.
    • QL strings gain startsWith, endsWith, and contains. The generic codeql.zip is deprecated.
  3. 2.27.4

    Patch

    OpenNavo editorial Added to Homebrew

    Adds a pack archive security check and writes Java virtual machine messages to standard error.

    CodeQL 2.27.4 was released on 2026-11-02. This update adds a pack archive security check and writes Java virtual machine messages to standard error.

    Security Fixes

    • codeql pack bundle and codeql pack publish now check that each file added to the pack archive is still inside the pack root after symbolic links are resolved. Files that resolve outside the pack root are omitted from the archive with a warning.

    Bug Fixes

    • The CodeQL CLI now writes messages from the Java virtual machine, such as warnings and initialization errors, to standard error instead of standard output, so commands that print JSON or other machine-readable output are no longer corrupted.
  4. 2.27.3

    Expand

    OpenNavo editorial Added to Homebrew

    Documents macOS traced-build limitations, adds JSON data extensions, and fixes database downgrades.

    Compatibility

    • Traced analysis with autobuild or manual build mode is not supported for compiled languages on macOS 27 with any Xcode version, or on macOS 26 with Xcode 27 selected, because required multi-architecture binaries are no longer shipped.

    Improvements and fixes

    • Data extensions support JSON syntax and Java-style comments. JSON extensions use .json; other files remain YAML.
    • codeql test run also automatically loads matching .ext.json files.
    • Fixes failed database downgrades for GitHub Actions databases.

    Official release

  5. 2.27.2

    Expand

    OpenNavo editorial Added to Homebrew

    Clarifies message severity and fixes query-suite and data-extension errors.

    Changed
    Prefixes stderr error and warning messages with their severity.Adds --dil-constants for compiled-query DIL output.Warns on unmatched data extensions only when no patterns match files.
    Fixed
    Fixes crashes from invalid QL pack names in query suites.Rejects all data-extension integers outside the signed 32-bit range.

    CodeQL 2.27.2

    Clarifies message severity and fixes query-suite and data-extension errors.

    Changed

    • Prefixes stderr error and warning messages with their severity.
    • Adds --dil-constants for compiled-query DIL output.
    • Warns on unmatched data extensions only when no patterns match files.

    Fixed

    • Fixes crashes from invalid QL pack names in query suites.
    • Rejects all data-extension integers outside the signed 32-bit range.

    Linux ARM64 distribution changes are upstream platform changes, not a new Mac architecture requirement. Java runtime regressions can be handled with an explicitly selected compatible JDK.

    Source: Official release notes.

  6. 2.27.1

    Expand

    OpenNavo editorial Added to Homebrew

    Updates the bundled Eclipse Temurin Java runtime.

    Changed
    Updates bundled Eclipse Temurin OpenJDK to 25.0.4.1.Documents alternative JDK selection through CODEQL_JAVA_HOME.

    CodeQL 2.27.1

    Updates the bundled Eclipse Temurin Java runtime.

    Changed

    • Updates bundled Eclipse Temurin OpenJDK to 25.0.4.1.
    • Documents alternative JDK selection through CODEQL_JAVA_HOME.

    Linux ARM64 distribution changes are upstream platform changes, not a new Mac architecture requirement. Java runtime regressions can be handled with an explicitly selected compatible JDK.

    Source: Official release notes.

  7. 2.27.0

    Expand

    OpenNavo editorial Added to Homebrew

    Adds Linux ARM64 packages and private-registry configuration support.

    Added
    Adds native Linux ARM64 per-platform CLI and bundle distributions.Uses organization private-registry settings in code-scanning setup.
    Deprecated
    Deprecates Java 9 and 10 support, with removal planned for January 2027.Deprecates the generic combined-platform codeql.zip distribution.

    CodeQL 2.27.0

    Adds Linux ARM64 packages and private-registry configuration support.

    Added

    • Adds native Linux ARM64 per-platform CLI and bundle distributions.
    • Uses organization private-registry settings in code-scanning setup.

    Deprecated

    • Deprecates Java 9 and 10 support, with removal planned for January 2027.
    • Deprecates the generic combined-platform codeql.zip distribution.

    Linux ARM64 distribution changes are upstream platform changes, not a new Mac architecture requirement. Java runtime regressions can be handled with an explicitly selected compatible JDK.

    Source: Official release notes.

  8. 2.26.4

    Expand

    GitHub Release Added to Homebrew

    New Features

    • codeql test run now supports the --reuse-dataset option, which reuses an existing test database from a previous run when available, skipping database extraction. This can speed up repeated test runs when only the query under test has changed. The option implies --keep-databases.

    Bug Fixes

    • The Java Autobuilder now expands project properties, such as ${maven.version}, when determining Maven version requirements specified by the Maven Enforcer Plugin. The Java Autobuilder now also supports Maven versions through 3.9.16.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported x86-64 platforms (Linux, Windows and macOS). Arm64 binaries are available as a per-platform codeql-PLATFORM.zip only. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.4.

  9. 2.26.3

    Expand

    GitHub Release Added to Homebrew

    Improvements

    • Commands that accept a --ram option now report a clear error when given a value that is far too large to be a sensible amount of memory in megabytes (for example, a number of bytes passed by mistake), instead of failing with a cryptic "is not an int" message.

    Bug Fixes

    • Fixed the pack upload format to comply with the OCI-image-manifest specification, by ensuring that all required fields are present/valid, and that no extraneous/non-compliant fields are included.
    • Fixed path canonicalization on Windows so that paths located on substed drives are always resolved to their underlying target paths. Previously, substed drives were not handled consistently by the CodeQL CLI and the language-specific extractors.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported x86-64 platforms (Linux, Windows and macOS). Arm64 binaries are available as a per-platform codeql-PLATFORM.zip only. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.3.

  10. 2.26.2

    Expand

    GitHub Release Added to Homebrew

    Release 2.26.2 (2026-07-23)

    Breaking Changes

    • Removed support for parsing [[-style links in alert messages. This was an undocumented legacy feature that allowed query authors to embed links inline in select clause message strings using [["text"|"url"]] syntax. Queries should use $@ placeholder pairs instead.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.2.

  11. 2.26.1

    Expand

    GitHub Release Added to Homebrew

    Release 2.26.1 (2026-07-15)

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.1.

  12. 2.26.0

    Expand

    GitHub Release Added to Homebrew

    Improvements

    • Improved the performance of commands that interact with Git repositories by checking whether the git command-line tool is available at most once per CodeQL CLI invocation.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.0.

  13. 2.25.6

    Expand

    GitHub Release Added to Homebrew

    Improvements

    • When the git executable is available, CodeQL can now obtain configuration and queries from SHA-256 Git repositories, and infer Git metadata about them.

    Miscellaneous

    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.11.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.6.

  14. 2.25.5

    Expand

    GitHub Release Added to Homebrew

    Release 2.25.5 (2026-05-21)

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.5.

  15. 2.25.4

    Expand

    GitHub Release Added to Homebrew

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.4.

  16. 2.25.3

    Expand

    GitHub Release Added to Homebrew

    Improvements

    • The codeql database finalize command now accepts the --working-dir flag. When specified, any extractor pre-finalize scripts will be run in that directory. If the flag is not used, the scripts will run in the source root directory (maintaining existing behavior). The flag will also be automatically passed through when running the higher-level codeql database create command.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.3.

  17. 2.25.2

    Expand

    GitHub Release Added to Homebrew

    Miscellaneous

    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.10.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.2.

  18. 2.25.1

    Expand

    GitHub Release Added to Homebrew

    Release 2.25.1 (2026-03-27)

    Bug Fixes

    • Fixed a bug where extraction could fail on YAML files containing emoji.

    Miscellaneous

    • Upgraded snakeyaml (which is a dependency of jackson-dataformat-yaml) from 2.3 to 2.6.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.1.

  19. 2.25.0

    Expand

    GitHub Release Added to Homebrew

    Release 2.25.0 (2026-03-19)

    Breaking Changes

    • codeql database interpret-results and codeql database analyze no longer attempt to reconstruct file baseline information from databases created with CLI versions before 2.11.2.

    Bug Fixes

    • Upgraded Jackson library from 2.16.1 to 2.18.6 to address a high-severity denial of service vulnerability (GHSA-72hv-8253-57qq) in jackson-core's async JSON parser.
    • Upgraded snakeyaml (which is a dependency of jackson-dataformat-yaml) from 2.2 to 2.3.

    Release 2.24.4 (2026-03-16)

    This release was skipped.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.0.

  20. 2.24.3

    Expand

    GitHub Release Added to Homebrew

    Release 2.24.3 (2026-03-05)

    Bug Fixes

    • Fixed a race condition that could cause flaky failures in overlay CodeQL tests. Test extraction now skips *.testproj directories by name, preventing interference from concurrently cleaned-up test databases.
    • Fixed spurious "OOPS" warnings that could appear in help output for commands using mutually exclusive option groups, such as codeql query run.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.3.

  21. 2.24.2

    Expand

    GitHub Release Added to Homebrew

    Bug Fixes

    • Fixed SARIF output to generate RFC 1738 compatible file URIs. File URIs now always use the file:/// format instead of file:/ for better interoperability with SARIF consumers.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.2.

  22. 2.24.1

    Expand

    GitHub Release Added to Homebrew

    Miscellaneous

    • The vulnerable xwork-core 2.3.37 test dependency (CVE-2025-68493) has been removed. The CodeQL Java library has been updated to support both legacy Struts 2.x-6.x package names and Struts 7.x package names for analyzing user code.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.1.

  23. 2.24.0

    Expand

    GitHub Release Added to Homebrew

    Release 2.24.0 (2026-01-26)

    Miscellaneous

    • The OWASP Java HTML Sanitizer library used by the CodeQL CLI for internal documentation generation commands has been updated to version 20260102.1.
    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.9.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.0.

  24. 2.23.9

    Expand

    GitHub Release Added to Homebrew

    Release 2.23.9 (2026-01-09)

    Deprecations

    • Support for Kotlin version 1.6 and 1.7 has been deprecated and will be removed from CodeQL version 2.24.1. Starting with version 2.24.1, users will need to use Kotlin version >= 1.8 to extract Kotlin databases.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.23.9.