Skip to content

Commit 5613a25

Browse files
author
github-actions[bot]
committed
update codeql documentation
1 parent 9410163 commit 5613a25

2 files changed

Lines changed: 80 additions & 0 deletions

File tree

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
.. _codeql-cli-2.26.2:
2+
3+
==========================
4+
CodeQL 2.26.2 (2026-07-23)
5+
==========================
6+
7+
.. contents:: Contents
8+
:depth: 2
9+
:local:
10+
:backlinks: none
11+
12+
This is an overview of changes in the CodeQL CLI and relevant CodeQL query and library packs. For additional updates on changes to the CodeQL code scanning experience, check out the `code scanning section on the GitHub blog <https://github.blog/tag/code-scanning/>`__, `relevant GitHub Changelog updates <https://github.blog/changelog/label/application-security/>`__, `changes in the CodeQL extension for Visual Studio Code <https://marketplace.visualstudio.com/items/GitHub.vscode-codeql/changelog>`__, and the `CodeQL Action changelog <https://github.com/github/codeql-action/blob/main/CHANGELOG.md>`__.
13+
14+
Security Coverage
15+
-----------------
16+
17+
CodeQL 2.26.2 runs a total of 497 security queries when configured with the Default suite (covering 170 CWE). The Extended suite enables an additional 131 queries (covering 32 more CWE).
18+
19+
CodeQL CLI
20+
----------
21+
22+
Breaking Changes
23+
~~~~~~~~~~~~~~~~
24+
25+
* Removed support for parsing :code:`[[`\ -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 :code:`[["text"|"url"]]` syntax. Queries should use :code:`$@` placeholder pairs instead.
26+
27+
Query Packs
28+
-----------
29+
30+
Minor Analysis Improvements
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
C#
34+
""
35+
36+
* :code:`System.Web.HttpRequest.RawUrl` is no longer treated as a sanitizer for :code:`cs/web/unvalidated-url-redirection`, since it contains the un-normalized request line. This may lead to more results.
37+
38+
Query Metadata Changes
39+
~~~~~~~~~~~~~~~~~~~~~~
40+
41+
C/C++
42+
"""""
43+
44+
* Added the tag :code:`external/cwe/cwe-762` to :code:`cpp/new-free-mismatch`, and removed the tag :code:`external/cwe/cwe-401`. This better matches the behavior of the query.
45+
46+
C#
47+
""
48+
49+
* The query :code:`cs/useless-assignment-to-local` has been removed from the :code:`code-quality` suite, but it remains in the :code:`code-quality-extended` suite.
50+
51+
Language Libraries
52+
------------------
53+
54+
Major Analysis Improvements
55+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
56+
57+
Swift
58+
"""""
59+
60+
* Upgraded to allow analysis of Swift 6.3.3.
61+
62+
Minor Analysis Improvements
63+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
64+
65+
Golang
66+
""""""
67+
68+
* The function :code:`Rel` in :code:`path/filepath` was incorrectly considered a sanitizer for :code:`go/path-injection` and :code:`go/zipslip`. This has now been fixed, which may lead to more results for those queries.
69+
70+
Java/Kotlin
71+
"""""""""""
72+
73+
* Kotlin versions up to 2.4.10 are now supported.
74+
* :code:`java.io.File.getName()` is no longer treated as a complete sanitizer for :code:`java/path-injection`, since it does not remove a :code:`..` path component (for example :code:`new File("..").getName()` returns :code:`".."`). It is now only recognized as a sanitizer when combined with a subsequent check for :code:`..` components, which may result in new alerts.
75+
76+
GitHub Actions
77+
""""""""""""""
78+
79+
* Altered the logic of :code:`EnvironmentCheck` to make sure it is a check that protects only for non-toctou. This change will result in more results being found by the queries: :code:`actions/untrusted-checkout-toctou/high` and :code:`actions/untrusted-checkout-toctou/critical`.

docs/codeql/codeql-overview/codeql-changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ A list of queries for each suite and language `is available here <https://docs.g
1111
.. toctree::
1212
:maxdepth: 1
1313

14+
codeql-cli-2.26.2
1415
codeql-cli-2.26.1
1516
codeql-cli-2.26.0
1617
codeql-cli-2.25.6

0 commit comments

Comments
 (0)