Skip to content

Commit 3719826

Browse files
authored
Merge pull request #22332 from github/codeql-spark-run-31692118709
Update changelog documentation site for codeql-cli-2.26.3
2 parents 78292f3 + 360f281 commit 3719826

2 files changed

Lines changed: 120 additions & 0 deletions

File tree

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
.. _codeql-cli-2.26.3:
2+
3+
==========================
4+
CodeQL 2.26.3 (2026-08-12)
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.3 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+
Bug Fixes
23+
~~~~~~~~~
24+
25+
* 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.
26+
* Fixed path canonicalization on Windows so that paths located on :code:`subst`\ ed drives are always resolved to their underlying target paths. Previously, :code:`subst`\ ed drives were not handled consistently by the CodeQL CLI and the language-specific extractors.
27+
28+
Improvements
29+
~~~~~~~~~~~~
30+
31+
* Commands that accept a :code:`--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.
32+
33+
Miscellaneous
34+
~~~~~~~~~~~~~
35+
36+
* Upgraded Jackson from 2.18.6 to 2.18.9.
37+
38+
Query Packs
39+
-----------
40+
41+
Bug Fixes
42+
~~~~~~~~~
43+
44+
GitHub Actions
45+
""""""""""""""
46+
47+
* The :code:`actions/output-clobbering/high` query now provides messages tailored to the affected output channel and includes expanded documentation and recommendations.
48+
* The :code:`actions/cache-poisoning/poisonable-step` and :code:`actions/untrusted-checkout/critical` queries now start paths at the expressions that control untrusted checkouts and link their alert messages to those expressions.
49+
* Fixed a performance issue in the :code:`actions/output-clobbering/high` query caused by using unescaped source-code input in a regular expression.
50+
51+
Minor Analysis Improvements
52+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
53+
54+
JavaScript/TypeScript
55+
"""""""""""""""""""""
56+
57+
* The :code:`js/missing-rate-limiting` query now recognizes the :code:`@fastify/rate-limit` package as a rate limiter.
58+
59+
GitHub Actions
60+
""""""""""""""
61+
62+
* The :code:`actions/output-clobbering/high` query no longer reports simple :code:`jq` path filters when their output remains JSON-encoded. Raw-output modes, complex filters, and unrecognized options remain reportable.
63+
* GitHub Actions queries now correctly classify the :code:`schedule` event when determining whether a workflow is externally triggerable.
64+
* The :code:`actions/envvar-injection/critical` query now requires the untrusted source and privileged context to originate from the same trigger event. The environment variable injection queries also no longer treat pull request head labels as injection-capable because they cannot contain newlines.
65+
* The :code:`actions/cache-poisoning/code-injection`, :code:`actions/cache-poisoning/direct-cache`, and :code:`actions/cache-poisoning/poisonable-step` queries now account for read-only cache access on low-trust triggers that run in the default branch scope. Results are retained for triggers that GitHub allows to write to that cache scope.
66+
67+
Query Metadata Changes
68+
~~~~~~~~~~~~~~~~~~~~~~
69+
70+
GitHub Actions
71+
""""""""""""""
72+
73+
* The name and alert message of the :code:`actions/cache-poisoning/code-injection` query have been reworded for clarity.
74+
75+
Language Libraries
76+
------------------
77+
78+
Breaking Changes
79+
~~~~~~~~~~~~~~~~
80+
81+
GitHub Actions
82+
""""""""""""""
83+
84+
* The :code:`codeql.actions.security.SelfHostedQuery` module has been removed because runner labels do not reliably distinguish self-hosted runners from managed runners.
85+
86+
Major Analysis Improvements
87+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
88+
89+
JavaScript/TypeScript
90+
"""""""""""""""""""""
91+
92+
* It is now possible for custom models to refer to specific files in the codebase, using a package name of form :code:`file:<path>`. The model should describe the public exports of that file. This can be used to derive sources and sinks in code that imports the file, but note that sources and sinks will not generally be placed within the file itself.
93+
For example, a source model :code:`['file:lib/service.js', 'Member[getData].ReturnValue', 'remote']` could identify :code:`require('../lib/service').getData()` as a source.
94+
95+
Minor Analysis Improvements
96+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
97+
98+
C/C++
99+
"""""
100+
101+
* Added flow source models for :code:`RegQueryValue` and related functions from the :code:`winreg.h` Windows header.
102+
103+
JavaScript/TypeScript
104+
"""""""""""""""""""""
105+
106+
* JavaScript security queries using the :code:`response` threat model now track promise-wrapped client response data into promise fulfillment values. This may improve results for queries such as :code:`js/xss` when response data is consumed through :code:`.then(...)` chains.
107+
* The route object returned by Vue Router's :code:`useRoute()` Composition API is now recognized as a client-side remote flow source, covering its :code:`query`, :code:`params`, :code:`path`, :code:`fullPath`, and :code:`hash` members. These members are additionally reported under the corresponding :code:`browser-url-query`, :code:`browser-url-path`, and :code:`browser-url-fragment` threat models.
108+
* Added flow models for Vue's :code:`ref`, :code:`shallowRef`, :code:`toRef`, :code:`reactive`, and :code:`computed` Composition API helpers.
109+
* Added support for treating declared :code:`inputs` properties in Sails Action2 controller files as remote flow sources. This may improve results for security queries such as :code:`js/path-injection`.
110+
111+
Ruby
112+
""""
113+
114+
* Removed library input to vendored gems from the set of taint sources. This should reduce false positives for :code:`rb/polynomial-redos`, :code:`rb/regex/badly-anchored-regexp`, :code:`rb/unsafe-code-construction`, :code:`rb/html-constructed-from-input`, and :code:`rb/shell-command-constructed-from-input` whenever vendoring is used.
115+
116+
GitHub Actions
117+
""""""""""""""
118+
119+
* GitHub Actions analysis now recognizes untrusted data in :code:`github.event.merge_group` for workflows triggered by the :code:`merge_group` event.

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.3
1415
codeql-cli-2.26.2
1516
codeql-cli-2.26.1
1617
codeql-cli-2.26.0

0 commit comments

Comments
 (0)