Skip to content

Commit 284f42b

Browse files
authored
Merge pull request #21945 from github/codeql-spark-run-26947645690
Update changelog documentation site for codeql-cli-2.25.6
2 parents cd2398a + 2f3524d commit 284f42b

2 files changed

Lines changed: 140 additions & 0 deletions

File tree

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
.. _codeql-cli-2.25.6:
2+
3+
==========================
4+
CodeQL 2.25.6 (2026-06-04)
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.25.6 runs a total of 496 security queries when configured with the Default suite (covering 169 CWE). The Extended suite enables an additional 131 queries (covering 32 more CWE).
18+
19+
CodeQL CLI
20+
----------
21+
22+
Improvements
23+
~~~~~~~~~~~~
24+
25+
* When the :code:`git` executable is available, CodeQL can now obtain configuration and queries from SHA-256 Git repositories, and infer Git metadata about them.
26+
27+
Miscellaneous
28+
~~~~~~~~~~~~~
29+
30+
* The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.11.
31+
32+
Query Packs
33+
-----------
34+
35+
Bug Fixes
36+
~~~~~~~~~
37+
38+
GitHub Actions
39+
""""""""""""""
40+
41+
* Adjusted (minor) help file descriptions for queries: :code:`actions/untrusted-checkout/critical`, :code:`actions/untrusted-checkout/high`, :code:`actions/untrusted-checkout/medium`. Clarified wording on in minor point, added one more listed resource and added one more recommendation for things to check.
42+
43+
Major Analysis Improvements
44+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
45+
46+
GitHub Actions
47+
""""""""""""""
48+
49+
* Adjusted :code:`actions/untrusted-checkout/critical` to align more with other untrusted resource queries, where the alert location is the location where the artifact is obtained from (the checkout point). This aligns with the other 2 related queries. This will cause the same alerts to re-open for closed alerts of this query.
50+
51+
Minor Analysis Improvements
52+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
53+
54+
GitHub Actions
55+
""""""""""""""
56+
57+
* Altered the alert message for clarity for queries: :code:`actions/untrusted-checkout/critical`, :code:`actions/untrusted-checkout/high`.
58+
* The :code:`actions/unpinned-tag` query now recognizes 64-character SHA-256 commit hashes as properly pinned references, in addition to 40-character SHA-1 hashes.
59+
60+
Query Metadata Changes
61+
~~~~~~~~~~~~~~~~~~~~~~
62+
63+
GitHub Actions
64+
""""""""""""""
65+
66+
* Reversed adjustment of the name of :code:`actions/untrusted-checkout/high`, but kept the portion of the previous change for the word "trusted" to "privileged". Added a missing "a" to phrasing in :code:`actions/untrusted-checkout/high` and :code:`actions/untrusted-checkout/medium`.
67+
68+
Language Libraries
69+
------------------
70+
71+
Major Analysis Improvements
72+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
73+
74+
Swift
75+
"""""
76+
77+
* Upgraded to allow analysis of Swift 6.3.2.
78+
79+
Minor Analysis Improvements
80+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
81+
82+
C/C++
83+
"""""
84+
85+
* Added flow source models for :code:`scanf_s` and related functions.
86+
* Added a :code:`Call` column to :code:`LocalFlowSourceFunction::hasLocalFlowSource` and :code:`RemoteFlowSourceFunction::hasRemoteFlowSource`. The old predicates without a :code:`Call` column continue to be supported.
87+
88+
C#
89+
""
90+
91+
* Full support for C# 14 / .NET 10. All new language features are now supported by the extractor. The QL library and data flow analysis now support the new C# 14 language constructs and include generated Models as Data (MaD) models for the .NET 10 runtime.
92+
* C# 14: Added support for user-defined instance increment/decrement operators.
93+
94+
Java/Kotlin
95+
"""""""""""
96+
97+
* Added LLM-generated source and sink models for :code:`org.apache.avro`.
98+
99+
JavaScript/TypeScript
100+
"""""""""""""""""""""
101+
102+
* The sensitive data heuristics used to identify code that handles passwords and private data have been improved. Most of the changes permit more variations of established patterns, thereby finding more sensitive data. Queries that use the sensitive data library (for example :code:`js/clear-text-logging`) may find more correct results and fewer false positive results after these changes.
103+
104+
Python
105+
""""""
106+
107+
* The sensitive data heuristics used to identify code that handles passwords and private data have been improved. Most of the changes permit more variations of established patterns, thereby finding more sensitive data. Queries that use the sensitive data library (for example :code:`py/clear-text-logging-sensitive-data`) may find more correct results and less fewer positive results after these changes.
108+
109+
Swift
110+
"""""
111+
112+
* The sensitive data heuristics used to identify code that handles passwords and private data have been improved. Most of the changes permit more variations of established patterns, thereby finding more sensitive data. Queries that use the sensitive data library (for example :code:`swift/cleartext-logging`) may find more correct results and fewer false positive results after these changes.
113+
114+
GitHub Actions
115+
""""""""""""""
116+
117+
* The GitHub Actions analysis now recognizes more Bash regex checks that restrict a value to alphanumeric characters, include regexes like :code:`^[0-9a-zA-Z]{40}([0-9a-zA-Z]{24})?$` which check for a sha1 or sha256 hash. This may reduce false positive results where command output is validated with grouped or optional alphanumeric patterns before being used.
118+
119+
Rust
120+
""""
121+
122+
* The sensitive data heuristics used to identify code that handles passwords and private data have been improved. Most of the changes permit more variations of established patterns, thereby finding more sensitive data. Queries that use the sensitive data library (for example :code:`rust/cleartext-logging`) may find more correct results and fewer false positive results after these changes.
123+
124+
Deprecated APIs
125+
~~~~~~~~~~~~~~~
126+
127+
C/C++
128+
"""""
129+
130+
* The :code:`UsingAliasTypedefType` class has been deprecated. Use :code:`TypeAliasType` instead.
131+
132+
New Features
133+
~~~~~~~~~~~~
134+
135+
C/C++
136+
"""""
137+
138+
* Added a :code:`getOriginalTemplate` predicate to :code:`TemplateClass`, :code:`TemplateFunction`, :code:`TemplateVariable`, and :code:`AliasTemplateType`, which yields the class member template the template was generated from. The predicates only have results for templates that are members of class template instantiations.
139+
* Added :code:`AliasTemplateType` and :code:`AliasTemplateInstantiationType` classes, representing C++ alias templates and their instantiations.

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.25.6
1415
codeql-cli-2.25.5
1516
codeql-cli-2.25.4
1617
codeql-cli-2.25.3

0 commit comments

Comments
 (0)