Skip to content

chore(deps): update VS Code extensions across devcontainers - #1464

Open
philips-software-forest-releaser[bot] wants to merge 1 commit into
mainfrom
feature/amp-devcontainer/update-vscode-extensions
Open

philips-software-forest-releaser[bot] wants to merge 1 commit into
mainfrom
feature/amp-devcontainer/update-vscode-extensions

Conversation

@philips-software-forest-releaser

@philips-software-forest-releaser philips-software-forest-releaser Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Note

Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are limited automated tests for the VS Code Extension updates.

🍨 base — devcontainer.json

Updates usernamehw.errorlens from 3.28.0 to 3.29.0

Release notes

Updates sonarsource.sonarlint-vscode from 5.9.1 to 6.1.0

Release notes

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

Updates github.vscode-pull-request-github from 0.162.0 to 0.168.0

Release notes

0.162.0

Changes

  • Confirm before discarding pull request creation with unsaved changes. This can be disabled with the "githubPullRequests.showCreatePullRequestCancelConfirmation" setting.

Thank You

Changes

  • Added a "githubIssues.issueCompletionFormatEditor" setting to control the format of issue completions in the editor, mirroring the existing "githubIssues.issueCompletionFormatScm" setting. It defaults to ${issueNumberLabel}, which inserts only the issue number (e.g. #421) so that GitHub's auto-close references keep working.

Fixes

### 🍨 base — devcontainer-metadata.json

Updates usernamehw.errorlens from 3.28.0 to 3.29.0

Release notes
### 🍨 cpp — devcontainer.json

Updates usernamehw.errorlens from 3.28.0 to 3.29.0

Release notes

Updates sonarsource.sonarlint-vscode from 5.9.1 to 6.1.0

Release notes

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

Updates ms-vscode.cpptools from 1.33.8 to 1.34.4

Release notes

Updates ms-vscode.cmake-tools from 1.23.52 to 1.24.42

Release notes

Features:

  • Add support for the FASTBuild generator (CMake 4.2+). #4690
  • Add support for ${workspaceFolder}, ${workspaceFolder:name} variables and relative paths in cmake.exclude setting for multi-root workspaces. #4689
  • Add onConfigureResult event to the CMake Tools API that fires after every configure attempt (success or failure), allowing dependent extensions to detect and react to configure failures. #4021
  • Add cmake.preConfigureTask setting to execute a named VS Code task before every CMake configure. #2449 #4960 @erdemiru

Improvements:

  • Add ${testName} variable support for cmake.ctestArgs and cmake.ctestDefaultArgs, enabling per-test argument expansion (e.g., unique log file paths per test). #4416
  • Stop the CMake output channel from taking over the panel (hiding the terminal you're working in) during automatic configures (e.g. configure-on-open and automatic reconfigure) and programmatic builds or tests invoked through the CMake Tools API (e.g. by Copilot via the C/C++ DevTools companion). Failures are still always shown, explicit user-initiated builds/configures are unchanged, and cmake.revealLogOnAutomaticTrigger restores the old behavior. #4988
  • Add cmake.showTimestampsInOutput setting to display timestamps and log levels in the CMake output channel, useful for tracking build durations. #4057
  • When CMake is invoked prior to running tests, build targets required for the test rather than everything. #4515 @epistax
  • Allow building object library targets from the project outline. #4797
  • Add inline "Run" and "Debug" CodeLens buttons in source editors for tests discovered by CTest, allowing tests to be executed directly from their source locations. #4451
  • Improve responsiveness to CMake path changes made by vendor extensions during configure-on-open retry. #4908 Contributed by STMicroelectronics
  • Improve ergonomics of the test explorer UI by removing the project source directory, improving horizontal scrolling experience. #4562 @miss-programgamer
  • Pass mandatory compiler arguments from CMAKE_<LANG>_COMPILER to cpptools so it can properly determine system include paths and built-in preprocessor macro definitions. Requires CMake 4.3 or newer. #4627 @cwalther
  • Add support for a vsInstanceVersion vendor field in CMakePresets.json so Ninja configure presets can target a specific installed Visual Studio instance (by version) when bootstrapping the developer environment, instead of always using the latest. #4698
  • Use the CMake bundled with the Visual Studio instance selected by the vsInstanceVersion vendor field when resolving cmake.exe, instead of always falling back to the latest installed Visual Studio's CMake. Only applies on Windows for presets that pin an instance and when no explicit cmake.cmakePath or preset cmakeExecutable is set; otherwise CMake resolution is unchanged. #5052
  • Make the CMake Cache Editor ("Edit Cache (UI)") aware of cache variables defined by the active CMake configure preset: a new "Source" column shows where each variable comes from (project/user preset vs. the CMake cache) and whether it still matches the preset, and edits to preset-backed variables are now persisted as an override in CMakeUserPresets.json (and reconfigured with it) instead of being silently reverted by the preset on the next configure. #4884 @BilboBeutlin89
  • Load the bundled language-service data (command, variable, module, and policy descriptions) on first hover/completion instead of during activation, so activation no longer blocks on reading those assets. #5035
  • Replace the datalist/input control with a select control for enum-valued cache entries in the CMake Cache Editor, so allowed values are chosen from a proper dropdown instead of a free-text field. #4973

Bug Fixes:

  • Fix "Scan recursively for kits in specific directories" aborting with an unhandled EACCES/EPERM error (and adding no kits) when the chosen folder contains a subdirectory the current user cannot read (for example a root-only /opt/rh/.../root/root on a WSL/Linux host). Unreadable directories and un-stat-able entries are now skipped so the rest of the scan still completes. #5020
  • Fix the last compiler diagnostic of an IAR build being dropped from the Problems panel. The IAR output parser only emitted a diagnostic once a following line arrived, so the final one of each build (with no trailing line) was never flushed; parsers are now flushed when the build output ends. #5030
  • Fix a cmake build/configure task (a tasks.json entry with "type": "cmake") always operating on the first CMake project in a workspace folder that hosts several projects (for example multiple cmake.sourceDirectory entries) instead of the selected active folder. Such a task now honors the active project when it belongs to the task's workspace folder, and only falls back to the folder's project otherwise. #4512
  • Fix launch configurations that use ${cmake.testProgram} (and the related ${cmake.testArgs}, ${cmake.testWorkingDirectory} and ${cmake.testEnvironment} placeholders) failing with program '${cmake.testProgram}' does not exist when started from the Run and Debug view (F5) instead of the Test Explorer. Such a launch now prompts you to pick one of the discovered CTest tests and resolves the placeholders for it, so the same configuration works from both entry points. #4574
  • Fix disabled tests (for example GoogleTest DISABLED_ tests, which CTest reports as "Not Run (Disabled)") being shown in the Test Explorer as failed ("failed with completion status 'Disabled'") and dragging their group's status down. Such tests are intentionally not executed, so they are now reported as skipped and no longer taint the run result. #4267
  • Fix CMake syntax highlighting treating escaped $< sequences in quoted regex strings as generator expressions. #5028
  • Fix the Test Explorer reporting a test that crashed or timed out (for example one killed by a segmentation fault) as "failed with exit code 0". CTest records the cause in its Exit Code measurement (such as SEGFAULT or Timeout) while Exit Value stays 0, so the failure message now names that status instead of the misleading exit value. #5043
  • Fix the cmake version/capabilities probe, configure, build, and CMake script debugger intermittently failing (for example No version is set for shim: cmake) for users whose cmake comes from a directory-based version manager (mise, asdf, vfox, …). These CMake subprocesses now run in the project directory instead of inheriting the extension host's working directory, so the version-manager shim on PATH resolves the correct cmake for the project regardless of how the editor was launched. #5005 @danieleformichelli
  • Fix the auto-detected source directory notification showing a literal Change\u2026 on its button instead of Change... in packaged (Marketplace) builds. The label used a \u2026 JavaScript unicode escape, which vscode-nls-dev extracted verbatim into the localization bundle; it now uses plain .... #5003
  • Fix a test run that matched no tests being reported as success. When specific tests are requested (e.g. programmatically via the API/Copilot) but none match a discovered test — for example an agent passing a partial or non-existent test name — CTest exits 0 ("No tests were found!!!"), which callers could misread as "all tests passed". Such runs now return a failure with a clear message when tests exist but the requested ones weren't found. #4915
  • Stop showing "Adding a file without a valid code model" / "Deleting a file without a valid code model" warning notifications when a source file is automatically added or deleted and there is no valid CMake code model (for example when using clangd with the C/C++ IntelliSense engine disabled, or before the project has been configured). The automatic list-file update now stays silent in this case; the warning is only shown when the update is explicitly invoked via the "CMake: Add new source file" / "CMake: Remove deleted source file" commands. #5009
  • Fix running a single test from the inline Test CodeLens or the project outline building the default (or all) target instead of the test's own executable; single-test runs now build only that test's target.
  • Fix a single test's "Run" action in a multi-project workspace running all tests for that project instead of just the selected test, caused by test information from the most recently refreshed project overwriting the shared state used to compute the test filter. #4911
  • Fix test results showing a bare "The test case did not report any output." when a test did not actually run (for example when its executable was not built, so CTest reported it as "Not Run" or matched nothing). The test is now marked with an actionable message explaining that the executable may not have been built. CTest result parsing was also hardened so that compressed test output is decoded and a single test with missing or empty measurements no longer discards the results of the whole run. #4451
  • Fix test runs launched from the Test Explorer or the inline Test CodeLens appearing to run forever (the progress spinner never cleared) when a step in the run failed. The test run is now always finalized, even when building or running the tests throws, so the spinner stops and the failure is reported. Also, a single-test run no longer accidentally executes the entire suite when the full list of tests is not yet known. #4451
  • Fix a regression (since 1.23) where configure could appear to never finish — the progress indicator kept spinning and a second configure was rejected with "Configuration is already in progress" — after CMake had actually completed. Configure-time compiler version telemetry now reads the compiler id/version from the CMake File-API toolchains data instead of launching the compiler, so configure no longer depends on an extra compiler subprocess that could leave a descendant (e.g. mspdbsrv.exe/VCTIP.exe on Windows) holding its output pipes open. #4647
  • Fix CMake Tools not activating for projects whose CMakeLists.txt lives in a subdirectory (e.g. source/CMakeLists.txt) rather than the workspace root. Such projects now activate on open: a single nested CMakeLists.txt is detected and adopted automatically (with a notification to change the choice or opt out), and a picker is offered when there are multiple candidates. The new cmake.autoDetectSourceDirectory setting (default true) controls this behavior.
  • Fix switching the active editor to a file in a different root in a multi-root workspace clearing all C/C++ IntelliSense translation units (including for files still open in other panes). Changing the active project no longer tells cpptools that every file's configuration changed, so it no longer discards and rebuilds translation units for unrelated files. #4964
  • Fix the automatic "Select a Kit" prompt in a multi-root workspace being titled for, and applied to, the folder of the active editor instead of the folder whose configure-on-open actually triggered it. The kit is now selected for the correct project, so the intended folder gets configured and the prompt stops re-appearing on every window reload. #5011
  • Fix cmake.configureOnOpen performing a clean reconfigure (deleting CMakeCache.txt) instead of an incremental configure when using __unspec__ kit with CMake >= 3.15 and no explicit generator setting. #4956
  • Fix ${command:cmake.launchTargetPath} and related substitution commands (cmake.launchTargetDirectory, cmake.launchTargetFilename, cmake.launchTargetName, cmake.getLaunchTargetPath, etc.) showing an error instead of prompting kit or preset selection when none is active. These commands now behave consistently with the build/configure commands by displaying the quick pick dialog.
  • Fix intermittent Failed to parse cmake-tools-kits.json error caused by reading the kits file during a non-atomic write. readKitsFile now returns undefined when the file is empty or unparseable, and callers retain the previous kits in memory instead of clearing them. The file watcher will re-read once the write completes. #4833
  • Fix CMake: Compile Active File by unescaping compile_commands.json command strings into raw argv before spawning the compiler, so defines such as -DCMAKE_INTDIR=\"RelWithDebInfo\" are passed correctly. Originally surfaced on Ninja Multi-Config (Windows); also covers shell-escaped databases from bear, intercept-build, etc. #4935
  • Fix mirrored cursor in CMake control structure snippets. Completing a scoped command (e.g., function, if, foreach) no longer duplicates typed text into the end-statement. #4480
  • Fix CPack package preset inheritance so child variables maps now keep parent-defined -D values when the child adds its own package variables. #4924
  • Fix Windows presets auto-detection so Ninja configure presets without explicit compiler cache variables can still bootstrap the Visual Studio developer environment when appropriate.
  • Fix cmake-kits.json cmakeSettings rejecting boolean values. The JSON schema and the Kit.cmakeSettings TypeScript type now accept boolean (and number) again, so "BUILD_TESTING": true produces -DBUILD_TESTING:BOOL=TRUE and is shown as a checkbox in the CMake Cache Editor. #4927
  • Fix cmakeSettings (in cmake-kits.json) and cmake.configureSettings (workspace settings, including the settings block in CMake variants files) injecting \; into string values such as CMAKE_PREFIX_PATH. String values are now passed through verbatim so ; keeps its natural CMake list-separator semantics — matching how CMake Presets cacheVariables already behaves — completing the fix originally requested in #4503. #4934
  • Fix CMAKE_MAKE_PROGRAM and other cache variables using stale values when presets are edited without restarting VS Code. The onCodeModelChanged subscription is now established in startNewCMakeDriver so it applies to both initial creation and driver reloads. #4864
  • Fix Windows backslash handling in token splitting to preserve trailing backslashes before whitespace. This caused "Compile Active File" with MSVC + Ninja Multi-Config to merge adjacent flags (e.g., /Fd<dir>\ /FS) into a single malformed argument. #4902
  • Skip the automatic post-build CTest discovery when cmake.ctest.testExplorerIntegrationEnabled is false. #4909
  • Fix kit detection returning "unknown vendor" when using clang-cl compiler. #4638
  • Fix CMakeToolsApi.getProject() treating file URIs as source directories, which could log "sourceDirectory" is not a directory during normal API usage from dependent extensions. #4951
  • Fix CMake command-name completion no longer auto-triggering while typing, a regression since 1.23.51. A command word is tokenized as a string until () is added, and the completion provider relies on editor.quickSuggestions (which is off in strings by default), so suggestions stopped appearing. The extension now enables quick suggestions in strings for CMake files via configurationDefaults, restoring the previous behavior (overridable per user). #4959
  • Fix the Problems panel failing to open a file ("file was not found") for GCC C++ template errors. The GNU ld output parser no longer mis-captures a compiler file:line:column: required from here backtrace line as a diagnostic whose resource was file:line (with the source line appended to the path). #4954
  • Fix GNU LD diagnostic regex incorrectly matching CMake status lines (e.g., Zephyr build output) as linker errors in the Problems panel. #4910
  • Fix CTest discovery in the Test Explorer not applying environment variables from the selected test preset. #4313
  • Show the CMake Tools activity-bar view immediately with an "initializing" placeholder instead of hiding the entire sidebar until CMake, kit, preset, and Visual Studio developer-environment probing completes. On machines where those probes are intermittently slow (e.g. aggressive antivirus scanning of spawned processes, or extension-host file-handle exhaustion), the sidebar no longer disappears for minutes during activation. Project commands, menus, and status items remain gated on full readiness, so nothing runs against a partially-initialized project. #5027
  • Refresh the open CMake Cache Editor when configuration changes cache values externally. #3635
  • Avoid building the project multiple times when a single launch.json configuration uses several ${command:cmake.launchTargetPath}-style substitutions (e.g. cmake.launchTargetDirectory plus cmake.launchTargetPath). All such substitutions in one launch now share a single build; a later launch still rebuilds as needed. #5051
  • Preserve CMakeCache.txt on folder open with CMake Presets when the active configure preset specifies no generator, so cmake.configureOnOpen performs an incremental configure instead of deleting the cache and reconfiguring from scratch. #5049
  • Stop checking user kits for missing compilers on every activation, and no longer treat transient filesystem errors (such as file-handle exhaustion) as a missing compiler, which could prompt to remove valid kits. Stale kits are still detected during a kit/compiler scan. #5035
  • Avoid configuring a project twice during configure-on-open when a configure preset (or kit) has to be selected first. The selection no longer performs its own automatic reconfigure when the configure that requested the selection is about to run. #5050
  • Fix clicking "Run Test" (or build/launch) with an unsaved CMakeLists.txt failing with "Configuration is already in progress" and requiring a second click. The automatic reconfigure triggered by saving the file no longer races the command's own configure. #4794
  • Stop passing CMake configure diagnostic flags that CMake 4.4 deprecated (--no-warn-unused-cli, --warn-uninitialized, -Wdev/-Wno-dev, -Werror=dev/-Wno-error=dev), which caused a deprecation warning on every configure. On CMake 4.4 and newer these are emitted using the modern category-based spellings (-Wno-unused-cli, -Wuninitialized, -Wauthor/-Wno-author, -Werror=author/-Wno-error=author); older CMake versions continue to receive the legacy flags. #4999
  • Fix cmake.copyCompileCommands failing with "EISDIR: illegal operation on a directory" when set to a directory path, and emptying compile_commands.json when set to the source file itself. A directory destination now receives the file copied into it, and a destination that resolves to the source file is skipped. #4062

Updates github.vscode-pull-request-github from 0.162.0 to 0.168.0

Release notes

0.162.0

Changes

  • Confirm before discarding pull request creation with unsaved changes. This can be disabled with the "githubPullRequests.showCreatePullRequestCancelConfirmation" setting.

Thank You

Changes

  • Added a "githubIssues.issueCompletionFormatEditor" setting to control the format of issue completions in the editor, mirroring the existing "githubIssues.issueCompletionFormatScm" setting. It defaults to ${issueNumberLabel}, which inserts only the issue number (e.g. #421) so that GitHub's auto-close references keep working.

Fixes

Updates alexkrechik.cucumberautocomplete from 3.1.0 to 3.1.1

Release notes
### 🍨 cpp — devcontainer-metadata.json

Updates sonarsource.sonarlint-vscode from 5.9.1 to 6.1.0

Release notes

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

Updates ms-vscode.cpptools from 1.33.8 to 1.34.4

Release notes

Updates ms-vscode.cmake-tools from 1.23.52 to 1.24.42

Release notes

Features:

  • Add support for the FASTBuild generator (CMake 4.2+). #4690
  • Add support for ${workspaceFolder}, ${workspaceFolder:name} variables and relative paths in cmake.exclude setting for multi-root workspaces. #4689
  • Add onConfigureResult event to the CMake Tools API that fires after every configure attempt (success or failure), allowing dependent extensions to detect and react to configure failures. #4021
  • Add cmake.preConfigureTask setting to execute a named VS Code task before every CMake configure. #2449 #4960 @erdemiru

Improvements:

  • Add ${testName} variable support for cmake.ctestArgs and cmake.ctestDefaultArgs, enabling per-test argument expansion (e.g., unique log file paths per test). #4416
  • Stop the CMake output channel from taking over the panel (hiding the terminal you're working in) during automatic configures (e.g. configure-on-open and automatic reconfigure) and programmatic builds or tests invoked through the CMake Tools API (e.g. by Copilot via the C/C++ DevTools companion). Failures are still always shown, explicit user-initiated builds/configures are unchanged, and cmake.revealLogOnAutomaticTrigger restores the old behavior. #4988
  • Add cmake.showTimestampsInOutput setting to display timestamps and log levels in the CMake output channel, useful for tracking build durations. #4057
  • When CMake is invoked prior to running tests, build targets required for the test rather than everything. #4515 @epistax
  • Allow building object library targets from the project outline. #4797
  • Add inline "Run" and "Debug" CodeLens buttons in source editors for tests discovered by CTest, allowing tests to be executed directly from their source locations. #4451
  • Improve responsiveness to CMake path changes made by vendor extensions during configure-on-open retry. #4908 Contributed by STMicroelectronics
  • Improve ergonomics of the test explorer UI by removing the project source directory, improving horizontal scrolling experience. #4562 @miss-programgamer
  • Pass mandatory compiler arguments from CMAKE_<LANG>_COMPILER to cpptools so it can properly determine system include paths and built-in preprocessor macro definitions. Requires CMake 4.3 or newer. #4627 @cwalther
  • Add support for a vsInstanceVersion vendor field in CMakePresets.json so Ninja configure presets can target a specific installed Visual Studio instance (by version) when bootstrapping the developer environment, instead of always using the latest. #4698
  • Use the CMake bundled with the Visual Studio instance selected by the vsInstanceVersion vendor field when resolving cmake.exe, instead of always falling back to the latest installed Visual Studio's CMake. Only applies on Windows for presets that pin an instance and when no explicit cmake.cmakePath or preset cmakeExecutable is set; otherwise CMake resolution is unchanged. #5052
  • Make the CMake Cache Editor ("Edit Cache (UI)") aware of cache variables defined by the active CMake configure preset: a new "Source" column shows where each variable comes from (project/user preset vs. the CMake cache) and whether it still matches the preset, and edits to preset-backed variables are now persisted as an override in CMakeUserPresets.json (and reconfigured with it) instead of being silently reverted by the preset on the next configure. #4884 @BilboBeutlin89
  • Load the bundled language-service data (command, variable, module, and policy descriptions) on first hover/completion instead of during activation, so activation no longer blocks on reading those assets. #5035
  • Replace the datalist/input control with a select control for enum-valued cache entries in the CMake Cache Editor, so allowed values are chosen from a proper dropdown instead of a free-text field. #4973

Bug Fixes:

  • Fix "Scan recursively for kits in specific directories" aborting with an unhandled EACCES/EPERM error (and adding no kits) when the chosen folder contains a subdirectory the current user cannot read (for example a root-only /opt/rh/.../root/root on a WSL/Linux host). Unreadable directories and un-stat-able entries are now skipped so the rest of the scan still completes. #5020
  • Fix the last compiler diagnostic of an IAR build being dropped from the Problems panel. The IAR output parser only emitted a diagnostic once a following line arrived, so the final one of each build (with no trailing line) was never flushed; parsers are now flushed when the build output ends. #5030
  • Fix a cmake build/configure task (a tasks.json entry with "type": "cmake") always operating on the first CMake project in a workspace folder that hosts several projects (for example multiple cmake.sourceDirectory entries) instead of the selected active folder. Such a task now honors the active project when it belongs to the task's workspace folder, and only falls back to the folder's project otherwise. #4512
  • Fix launch configurations that use ${cmake.testProgram} (and the related ${cmake.testArgs}, ${cmake.testWorkingDirectory} and ${cmake.testEnvironment} placeholders) failing with program '${cmake.testProgram}' does not exist when started from the Run and Debug view (F5) instead of the Test Explorer. Such a launch now prompts you to pick one of the discovered CTest tests and resolves the placeholders for it, so the same configuration works from both entry points. #4574
  • Fix disabled tests (for example GoogleTest DISABLED_ tests, which CTest reports as "Not Run (Disabled)") being shown in the Test Explorer as failed ("failed with completion status 'Disabled'") and dragging their group's status down. Such tests are intentionally not executed, so they are now reported as skipped and no longer taint the run result. #4267
  • Fix CMake syntax highlighting treating escaped $< sequences in quoted regex strings as generator expressions. #5028
  • Fix the Test Explorer reporting a test that crashed or timed out (for example one killed by a segmentation fault) as "failed with exit code 0". CTest records the cause in its Exit Code measurement (such as SEGFAULT or Timeout) while Exit Value stays 0, so the failure message now names that status instead of the misleading exit value. #5043
  • Fix the cmake version/capabilities probe, configure, build, and CMake script debugger intermittently failing (for example No version is set for shim: cmake) for users whose cmake comes from a directory-based version manager (mise, asdf, vfox, …). These CMake subprocesses now run in the project directory instead of inheriting the extension host's working directory, so the version-manager shim on PATH resolves the correct cmake for the project regardless of how the editor was launched. #5005 @danieleformichelli
  • Fix the auto-detected source directory notification showing a literal Change\u2026 on its button instead of Change... in packaged (Marketplace) builds. The label used a \u2026 JavaScript unicode escape, which vscode-nls-dev extracted verbatim into the localization bundle; it now uses plain .... #5003
  • Fix a test run that matched no tests being reported as success. When specific tests are requested (e.g. programmatically via the API/Copilot) but none match a discovered test — for example an agent passing a partial or non-existent test name — CTest exits 0 ("No tests were found!!!"), which callers could misread as "all tests passed". Such runs now return a failure with a clear message when tests exist but the requested ones weren't found. #4915
  • Stop showing "Adding a file without a valid code model" / "Deleting a file without a valid code model" warning notifications when a source file is automatically added or deleted and there is no valid CMake code model (for example when using clangd with the C/C++ IntelliSense engine disabled, or before the project has been configured). The automatic list-file update now stays silent in this case; the warning is only shown when the update is explicitly invoked via the "CMake: Add new source file" / "CMake: Remove deleted source file" commands. #5009
  • Fix running a single test from the inline Test CodeLens or the project outline building the default (or all) target instead of the test's own executable; single-test runs now build only that test's target.
  • Fix a single test's "Run" action in a multi-project workspace running all tests for that project instead of just the selected test, caused by test information from the most recently refreshed project overwriting the shared state used to compute the test filter. #4911
  • Fix test results showing a bare "The test case did not report any output." when a test did not actually run (for example when its executable was not built, so CTest reported it as "Not Run" or matched nothing). The test is now marked with an actionable message explaining that the executable may not have been built. CTest result parsing was also hardened so that compressed test output is decoded and a single test with missing or empty measurements no longer discards the results of the whole run. #4451
  • Fix test runs launched from the Test Explorer or the inline Test CodeLens appearing to run forever (the progress spinner never cleared) when a step in the run failed. The test run is now always finalized, even when building or running the tests throws, so the spinner stops and the failure is reported. Also, a single-test run no longer accidentally executes the entire suite when the full list of tests is not yet known. #4451
  • Fix a regression (since 1.23) where configure could appear to never finish — the progress indicator kept spinning and a second configure was rejected with "Configuration is already in progress" — after CMake had actually completed. Configure-time compiler version telemetry now reads the compiler id/version from the CMake File-API toolchains data instead of launching the compiler, so configure no longer depends on an extra compiler subprocess that could leave a descendant (e.g. mspdbsrv.exe/VCTIP.exe on Windows) holding its output pipes open. #4647
  • Fix CMake Tools not activating for projects whose CMakeLists.txt lives in a subdirectory (e.g. source/CMakeLists.txt) rather than the workspace root. Such projects now activate on open: a single nested CMakeLists.txt is detected and adopted automatically (with a notification to change the choice or opt out), and a picker is offered when there are multiple candidates. The new cmake.autoDetectSourceDirectory setting (default true) controls this behavior.
  • Fix switching the active editor to a file in a different root in a multi-root workspace clearing all C/C++ IntelliSense translation units (including for files still open in other panes). Changing the active project no longer tells cpptools that every file's configuration changed, so it no longer discards and rebuilds translation units for unrelated files. #4964
  • Fix the automatic "Select a Kit" prompt in a multi-root workspace being titled for, and applied to, the folder of the active editor instead of the folder whose configure-on-open actually triggered it. The kit is now selected for the correct project, so the intended folder gets configured and the prompt stops re-appearing on every window reload. #5011
  • Fix cmake.configureOnOpen performing a clean reconfigure (deleting CMakeCache.txt) instead of an incremental configure when using __unspec__ kit with CMake >= 3.15 and no explicit generator setting. #4956
  • Fix ${command:cmake.launchTargetPath} and related substitution commands (cmake.launchTargetDirectory, cmake.launchTargetFilename, cmake.launchTargetName, cmake.getLaunchTargetPath, etc.) showing an error instead of prompting kit or preset selection when none is active. These commands now behave consistently with the build/configure commands by displaying the quick pick dialog.
  • Fix intermittent Failed to parse cmake-tools-kits.json error caused by reading the kits file during a non-atomic write. readKitsFile now returns undefined when the file is empty or unparseable, and callers retain the previous kits in memory instead of clearing them. The file watcher will re-read once the write completes. #4833
  • Fix CMake: Compile Active File by unescaping compile_commands.json command strings into raw argv before spawning the compiler, so defines such as -DCMAKE_INTDIR=\"RelWithDebInfo\" are passed correctly. Originally surfaced on Ninja Multi-Config (Windows); also covers shell-escaped databases from bear, intercept-build, etc. #4935
  • Fix mirrored cursor in CMake control structure snippets. Completing a scoped command (e.g., function, if, foreach) no longer duplicates typed text into the end-statement. #4480
  • Fix CPack package preset inheritance so child variables maps now keep parent-defined -D values when the child adds its own package variables. #4924
  • Fix Windows presets auto-detection so Ninja configure presets without explicit compiler cache variables can still bootstrap the Visual Studio developer environment when appropriate.
  • Fix cmake-kits.json cmakeSettings rejecting boolean values. The JSON schema and the Kit.cmakeSettings TypeScript type now accept boolean (and number) again, so "BUILD_TESTING": true produces -DBUILD_TESTING:BOOL=TRUE and is shown as a checkbox in the CMake Cache Editor. #4927
  • Fix cmakeSettings (in cmake-kits.json) and cmake.configureSettings (workspace settings, including the settings block in CMake variants files) injecting \; into string values such as CMAKE_PREFIX_PATH. String values are now passed through verbatim so ; keeps its natural CMake list-separator semantics — matching how CMake Presets cacheVariables already behaves — completing the fix originally requested in #4503. #4934
  • Fix CMAKE_MAKE_PROGRAM and other cache variables using stale values when presets are edited without restarting VS Code. The onCodeModelChanged subscription is now established in startNewCMakeDriver so it applies to both initial creation and driver reloads. #4864
  • Fix Windows backslash handling in token splitting to preserve trailing backslashes before whitespace. This caused "Compile Active File" with MSVC + Ninja Multi-Config to merge adjacent flags (e.g., /Fd<dir>\ /FS) into a single malformed argument. #4902
  • Skip the automatic post-build CTest discovery when cmake.ctest.testExplorerIntegrationEnabled is false. #4909
  • Fix kit detection returning "unknown vendor" when using clang-cl compiler. #4638
  • Fix CMakeToolsApi.getProject() treating file URIs as source directories, which could log "sourceDirectory" is not a directory during normal API usage from dependent extensions. #4951
  • Fix CMake command-name completion no longer auto-triggering while typing, a regression since 1.23.51. A command word is tokenized as a string until () is added, and the completion provider relies on editor.quickSuggestions (which is off in strings by default), so suggestions stopped appearing. The extension now enables quick suggestions in strings for CMake files via configurationDefaults, restoring the previous behavior (overridable per user). #4959
  • Fix the Problems panel failing to open a file ("file was not found") for GCC C++ template errors. The GNU ld output parser no longer mis-captures a compiler file:line:column: required from here backtrace line as a diagnostic whose resource was file:line (with the source line appended to the path). #4954
  • Fix GNU LD diagnostic regex incorrectly matching CMake status lines (e.g., Zephyr build output) as linker errors in the Problems panel. #4910
  • Fix CTest discovery in the Test Explorer not applying environment variables from the selected test preset. #4313
  • Show the CMake Tools activity-bar view immediately with an "initializing" placeholder instead of hiding the entire sidebar until CMake, kit, preset, and Visual Studio developer-environment probing completes. On machines where those probes are intermittently slow (e.g. aggressive antivirus scanning of spawned processes, or extension-host file-handle exhaustion), the sidebar no longer disappears for minutes during activation. Project commands, menus, and status items remain gated on full readiness, so nothing runs against a partially-initialized project. #5027
  • Refresh the open CMake Cache Editor when configuration changes cache values externally. #3635
  • Avoid building the project multiple times when a single launch.json configuration uses several ${command:cmake.launchTargetPath}-style substitutions (e.g. cmake.launchTargetDirectory plus cmake.launchTargetPath). All such substitutions in one launch now share a single build; a later launch still rebuilds as needed. #5051
  • Preserve CMakeCache.txt on folder open with CMake Presets when the active configure preset specifies no generator, so cmake.configureOnOpen performs an incremental configure instead of deleting the cache and reconfiguring from scratch. #5049
  • Stop checking user kits for missing compilers on every activation, and no longer treat transient filesystem errors (such as file-handle exhaustion) as a missing compiler, which could prompt to remove valid kits. Stale kits are still detected during a kit/compiler scan. #5035
  • Avoid configuring a project twice during configure-on-open when a configure preset (or kit) has to be selected first. The selection no longer performs its own automatic reconfigure when the configure that requested the selection is about to run. #5050
  • Fix clicking "Run Test" (or build/launch) with an unsaved CMakeLists.txt failing with "Configuration is already in progress" and requiring a second click. The automatic reconfigure triggered by saving the file no longer races the command's own configure. #4794
  • Stop passing CMake configure diagnostic flags that CMake 4.4 deprecated (--no-warn-unused-cli, --warn-uninitialized, -Wdev/-Wno-dev, -Werror=dev/-Wno-error=dev), which caused a deprecation warning on every configure. On CMake 4.4 and newer these are emitted using the modern category-based spellings (-Wno-unused-cli, -Wuninitialized, -Wauthor/-Wno-author, -Werror=author/-Wno-error=author); older CMake versions continue to receive the legacy flags. #4999
  • Fix cmake.copyCompileCommands failing with "EISDIR: illegal operation on a directory" when set to a directory path, and emptying compile_commands.json when set to the source file itself. A directory destination now receives the file copied into it, and a destination that resolves to the source file is skipped. #4062
### 🍨 docs — devcontainer.json

Updates usernamehw.errorlens from 3.28.0 to 3.29.0

Release notes

Updates github.vscode-pull-request-github from 0.162.0 to 0.168.0

Release notes

0.162.0

Changes

  • Confirm before discarding pull request creation with unsaved changes. This can be disabled with the "githubPullRequests.showCreatePullRequestCancelConfirmation" setting.

Thank You

Changes

  • Added a "githubIssues.issueCompletionFormatEditor" setting to control the format of issue completions in the editor, mirroring the existing "githubIssues.issueCompletionFormatScm" setting. It defaults to ${issueNumberLabel}, which inserts only the issue number (e.g. #421) so that GitHub's auto-close references keep working.

Fixes

### 🍨 docs — devcontainer-metadata.json

Updates sbdl.sbdl from 1.8.18 to 1.11.1### 🍨 embedded-cpp — devcontainer.json

Updates usernamehw.errorlens from 3.28.0 to 3.29.0

Release notes

Updates sonarsource.sonarlint-vscode from 5.9.1 to 6.1.0

Release notes

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

For full release notes, see JIRA

Updates ms-vscode.cpptools from 1.33.8 to 1.34.4

Release notes

Updates ms-vscode.cmake-tools from 1.23.52 to 1.24.42

Release notes

Features:

  • Add support for the FASTBuild generator (CMake 4.2+). #4690
  • Add support for ${workspaceFolder}, ${workspaceFolder:name} variables and relative paths in cmake.exclude setting for multi-root workspaces. #4689
  • Add onConfigureResult event to the CMake Tools API that fires after every configure attempt (success or failure), allowing dependent extensions to detect and react to configure failures. #4021
  • Add cmake.preConfigureTask setting to execute a named VS Code task before every CMake configure. #2449 #4960 @erdemiru

Improvements:

  • Add ${testName} variable support for cmake.ctestArgs and cmake.ctestDefaultArgs, enabling per-test argument expansion (e.g., unique log file paths per test). #4416
  • Stop the CMake output channel from taking over the panel (hiding the terminal you're working in) during automatic configures (e.g. configure-on-open and automatic reconfigure) and programmatic builds or tests invoked through the CMake Tools API (e.g. by Copilot via the C/C++ DevTools companion). Failures are still always shown, explicit user-initiated builds/configures are unchanged, and cmake.revealLogOnAutomaticTrigger restores the old behavior. #4988
  • Add cmake.showTimestampsInOutput setting to display timestamps and log levels in the CMake output channel, useful for tracking build durations. #4057
  • When CMake is invoked prior to running tests, build targets required for the test rather than everything. #4515 @epistax
  • Allow building object library targets from the project outline. #4797
  • Add inline "Run" and "Debug" CodeLens buttons in source editors for tests discovered by CTest, allowing tests to be executed directly from their source locations. #4451
  • Improve responsiveness to CMake path changes made by vendor extensions during configure-on-open retry. #4908 Contributed by STMicroelectronics
  • Improve ergonomics of the test explorer UI by removing the project source directory, improving horizontal scrolling experience. #4562 @miss-programgamer
  • Pass mandatory compiler arguments from CMAKE_<LANG>_COMPILER to cpptools so it can properly determine system include paths and built-in preprocessor macro definitions. Requires CMake 4.3 or newer. #4627 @cwalther
  • Add support for a vsInstanceVersion vendor field in CMakePresets.json so Ninja configure presets can target a specific installed Visual Studio instance (by version) when bootstrapping the developer environment, instead of always using the latest. #4698
  • Use the CMake bundled with the Visual Studio instance selected by the vsInstanceVersion vendor field when resolving cmake.exe, instead of always falling back to the latest installed Visual Studio's CMake. Only applies on Windows for presets that pin an instance and when no explicit cmake.cmakePath or preset cmakeExecutable is set; otherwise CMake resolution is unchanged. #5052
  • Make the CMake Cache Editor ("Edit Cache (UI)") aware of cache variables defined by the active CMake configure preset: a new "Source" column shows where each variable comes from (project/user preset vs. the CMake cache) and whether it still matches the preset, and edits to preset-backed variables are now persisted as an override in CMakeUserPresets.json (and reconfigured with it) instead of being silently reverted by the preset on the next configure. #4884 @BilboBeutlin89
  • Load the bundled language-service data (command, variable, module, and policy descriptions) on first hover/completion instead of during activation, so activation no longer blocks on reading those assets. #5035
  • Replace the datalist/input control with a select control for enum-valued cache entries in the CMake Cache Editor, so allowed values are chosen from a proper dropdown instead of a free-text field. #4973

Bug Fixes:

  • Fix "Scan recursively for kits in specific directories" aborting with an unhandled EACCES/EPERM error (and adding no kits) when the chosen folder contains a subdirectory the current user cannot read (for example a root-only /opt/rh/.../root/root on a WSL/Linux host). Unreadable directories and un-stat-able entries are now skipped so the rest of the scan still completes. #5020
  • Fix the last compiler diagnostic of an IAR build being dropped from the Problems panel. The IAR output parser only emitted a diagnostic once a following line arrived, so the final one of each build (with no trailing line) was never flushed; parsers are now flushed when the build output ends. #5030
  • Fix a cmake build/configure task (a tasks.json entry with "type": "cmake") always operating on the first CMake project in a workspace folder that hosts several projects (for example multiple cmake.sourceDirectory entries) instead of the selected active folder. Such a task now honors the active project when it belongs to the task's workspace folder, and only falls back to the folder's project otherwise. #4512
  • Fix launch configurations that use ${cmake.testProgram} (and the related ${cmake.testArgs}, ${cmake.testWorkingDirectory} and ${cmake.testEnvironment} placeholders) failing with program '${cmake.testProgram}' does not exist when started from the Run and Debug view (F5) instead of the Test Explorer. Such a launch now prompts you to pick one of the discovered CTest tests and resolves the placeholders for it, so the same configuration works from both entry points. #4574
  • Fix disabled tests (for example GoogleTest DISABLED_ tests, which CTest reports as "Not Run (Disabled)") being shown in the Test Explorer as failed ("failed with completion status 'Disabled'") and dragging their group's status down. Such tests are intentionally not executed, so they are now reported as skipped and no longer taint the run result. #4267
  • Fix CMake syntax highlighting treating escaped $< sequences in quoted regex strings as generator expressions. #5028
  • Fix the Test Explorer reporting a test that crashed or timed out (for example one killed by a segmentation fault) as "failed with exit code 0". CTest records the cause in its Exit Code measurement (such as SEGFAULT or Timeout) while Exit Value stays 0, so the failure message now names that status instead of the misleading exit value. #5043
  • Fix the cmake version/capabilities probe, configure, build, and CMake script debugger intermittently failing (for example No version is set for shim: cmake) for users whose cmake comes from a directory-based version manager (mise, asdf, vfox, …). These CMake subprocesses now run in the project directory instead of inheriting the extension host's working directory, so the version-manager shim on PATH resolves the correct cmake for the project regardless of how the editor was launched. #5005 @danieleformichelli
  • Fix the auto-detected source directory notification showing a literal Change\u2026 on its button instead of Change... in packaged (Marketplace) builds. The label used a \u2026 JavaScript unicode escape, which vscode-nls-dev extracted verbatim into the localization bundle; it now uses plain .... #5003
  • Fix a test run that matched no tests being reported as success. When specific tests are requested (e.g. programmatically via the API/Copilot) but none match a discovered test — for example an agent passing a partial or non-existent test name — CTest exits 0 ("No tests were found!!!"), which callers could misread as "all tests passed". Such runs now return a failure with a clear message when tests exist but the requested ones weren't found. #4915
  • Stop showing "Adding a file without a valid code model" / "Deleting a file without a valid code model" warning notifications when a source file is automatically added or deleted and there is no valid CMake code model (for example when using clangd with the C/C++ IntelliSense engine disabled, or before the project has been configured). The automatic list-file update now stays silent in this case; the warning is only shown when the update is explicitly invoked via the "CMake: Add new source file" / "CMake: Remove deleted source file" commands. #5009
  • Fix running a single test from the inline Test CodeLens or the project outline building the default (or all) target instead of the test's own executable; single-test runs now build only that test's target.
  • Fix a single test's "Run" action in a multi-project workspace running all tests for that project instead of just the selected test, caused by test information from the most recently refreshed project overwriting the shared state used to compute the test filter. #4911
  • Fix test results showing a bare "The test case did not report any output." when a test did not actually run (for example when its executable was not built, so CTest reported it as "Not Run" or matched nothing). The test is now marked with an actionable message explaining that the executable may not have been built. CTest result parsing was also hardened so that compressed test output is decoded and a single test with missing or empty measurements no longer discards the results of the whole run. [#4451](https://www.github.com/microsoft/vscode-cmake-tool

@philips-software-forest-releaser
philips-software-forest-releaser Bot requested a review from a team as a code owner September 13, 2026 02:43
@philips-software-forest-releaser philips-software-forest-releaser Bot added dependencies Pull requests that update a dependency file vscode-extensions labels Sep 13, 2026
@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-base:edge ➔ ghcr.io/philips-software/amp-devcontainer-base:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 83.76 MB 83.76 MB +334 B (+0%) 🔼
linux/arm64 82.5 MB 82.5 MB 576 B (0%) 🔽

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ ACTION actionlint 23 0 0 0.37s
✅ DOCKERFILE hadolint 4 0 0 0.49s
✅ JSON npm-package-json-lint yes no no 0.46s
✅ JSON prettier 50 8 0 0 1.08s
✅ JSON v8r 50 0 0 15.19s
✅ MARKDOWN markdownlint 13 0 0 0 0.88s
✅ MARKDOWN markdown-table-formatter 13 0 0 0 0.25s
✅ REPOSITORY betterleaks yes no no 1.15s
✅ REPOSITORY checkov yes no no 23.78s
✅ REPOSITORY git_diff yes no no 0.02s
✅ REPOSITORY grype yes no no 107.76s
⚠️ REPOSITORY osv-scanner yes 1 8 3.34s
✅ REPOSITORY secretlint yes no no 1.55s
✅ REPOSITORY syft yes no no 5.74s
✅ REPOSITORY trivy yes no no 13.93s
✅ REPOSITORY trivy-sbom yes no no 0.5s
✅ REPOSITORY trufflehog yes no no 5.65s
⚠️ SPELL lychee 123 1 0 160.75s
✅ YAML prettier 36 0 0 0 1.02s
✅ YAML v8r 36 0 0 11.83s
✅ YAML yamllint 36 0 0 1.07s

Detailed Issues

⚠️ SPELL / lychee - 1 error
📝 Summary
---------------------
🔍 Total..........154
🔗 Unique.........126
✅ Successful.....144
⏳ Timeouts.........4
🔀 Redirected......19
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........1
⛔ Unsupported......1

Errors in .github/TOOL_VERSION_ISSUE_TEMPLATE.md
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads (at 38:7) | Rejected status code: 403 Forbidden

Errors in test/cpp/features/security.feature
[TIMEOUT] https://slsa.dev/spec/v1.0/levels (at 20:30) | Request timed out
[TIMEOUT] https://slsa.dev/spec/v1.0/threats (at 28:19) | Request timed out
[TIMEOUT] https://slsa.dev/spec/v1.0/threats (at 42:44) | Request timed out
[TIMEOUT] https://slsa.dev/spec/v1.0/verifying-artifacts (at 24:25) | Request timed out

Hint: Followed 19 redirects. You might want to consider replacing redirecting URLs with the resolved URLs. Use verbose mode (`-v`/`-vv`) to see redirection details.
Hint: You can configure accepted/rejected response codes with `-a` or `--accept`
⚠️ REPOSITORY / osv-scanner - 1 error
warning: Package 'brace-expansion@5.0.9' is vulnerable to 'CVE-2026-102276' (also known as 'GHSA-6j4f-fj2g-mc7p').
 = CVE-2026-102276: brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
 = ### Summary
   
   `parseCommaParts()` can exhaust the native stack and crash the process. There are two distinct ways to trigger it, both reachable from a single untrusted pattern string.
   
   This is the parsing-side counterpart to CVE-2026-14257 / GHSA-mh99-v99m-4gvg. That fix made `expand_()` iterative and documented a constant-stack-depth guarantee, but `parseCommaParts()` was left recursive, so the guarantee only held for one of the two parsing paths.
   
   ### Vector 1 - unbounded recursion on `post`
   
   `parseCommaParts()` recursed on the remainder of the string once per brace group:
   
   ```js
   const postParts = parseCommaParts(post)   // unbounded

A brace group containing many comma-separated groups drives one recursion level per group:

expand('{' + '{a},'.repeat(7000) + 'b}')
// RangeError: Maximum call stack size exceeded

About 7,300 repetitions - roughly 29 KB of input - is enough on Node 24; roughly 6,300 (25 KB) on Node 18. The threshold is identical on every affected release line.

Vector 2 - push.apply with an unbounded array

Even with the recursion removed, parseCommaParts() spread whole arrays into an argument list:

p.push.apply(p, postParts)
parts.push.apply(parts, p)

Function.prototype.apply places one argument per element on the stack, so a single large array overflows it. This needs no recursion depth at all - the following reaches a recursion depth of exactly 1:

expand('{{x},' + 'a,'.repeat(125000) + 'b}')
// RangeError: Maximum call stack size exceeded

Threshold is about 124,300 repetitions (~249 KB). This vector was not part of the original report; it was found while verifying the fix. A patch that only de-recurses but keeps push.apply leaves a working denial of service behind.

Why max and maxLength do not help

Both crashes happen during parsing, before any expansion. The payloads produce one result per group, so output size grows linearly with input and is never the limiter. expand(payload, { max: 1, maxLength: 1 }) still overflows.

Impact

Any application that passes an untrusted string to expand() - directly, or through minimatch / glob where it is a user-supplied glob pattern - can be crashed. In Node, a RangeError that the application does not catch terminates the process, so a server that globs user input is exposed to remote unauthenticated denial of service.

minimatch's own MAX_PATTERN_LENGTH cap (65,536) does not help against vector 1: the overflow threshold sits well below it. Confirmed on minimatch 10.2.6 - a 64,003-byte pattern passes the length check and overflows both minimatch.braceExpand() and new minimatch.Minimatch().

This is an availability-only issue. No code execution and no data exposure.

Not a regression

5.0.8 and 5.0.9 overflow at the same repetition count, so the gap predates the recent advisories; those fixes simply did not reach it. Verified affected on 1.1.18, 2.1.4, 3.0.6, 5.0.8 and 5.0.9, all at an identical threshold.

Patch

parseCommaParts() is rewritten as a loop that carries the partial part across chunks, and every array append uses an element-by-element loop rather than push.apply. The redundant if (!str) return [''] guard is dropped - the loop returns [''] for the empty string on its own.

Equivalence of the old and new implementations was checked by differential testing: exhaustive over every string of {, }, ,, a up to length 7 plus 300,000 random inputs - 322,000 cases, zero mismatches.

Severity note

Scored 7.5 High under CVSS 3.1 for consistency with the other availability advisories on this package (GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895), which use the same vector. The reporter self-assessed 6.9 Medium under CVSS 4.0 (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N).

Credit

Reported by baeseungwon1010, with a working proof of concept and a proposed patch. Vector 2 was identified during maintainer verification.

warning: Package 'fast-uri@3.1.7' is vulnerable to 'CVE-2026-86472' (also known as 'GHSA-hrr3-gc8f-f4qj').
= CVE-2026-86472: fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets
= ### Impact

fast-uri folds the host to lowercase before it percent-decodes the host, so a percent-encoded uppercase unreserved octet such as %41 decodes to a literal A that is never folded. For a scheme-relative reference (//host) there is no scheme, so the host canonicalization that repairs this on a scheme-bearing URL does not run. As a result parse, normalize, and equal disagree on the same host: parse("//%41.com").host returns "A.com" while parse("//a.com").host and parse("//A.com").host return "a.com", and equal("//%41.com", "//a.com") is false even though equal("//A.com", "//a.com") is true. An application that makes a case-sensitive host decision on fast-uri output for a scheme-relative reference, for example a host allowlist or denylist that compares parse(url).host or uses fast-uri.equal, can be steered past the check with a percent-encoded uppercase octet. Because a hostname is case-insensitive in DNS and HTTP routing, the evading spelling reaches the same host the check meant to gate, so the effect is check evasion rather than reaching a different registrable host.

Patches

Upgrade to fast-uri 4.1.5, 3.1.8, or 2.4.7.

Workarounds

Compare hosts case-insensitively (lowercase the parsed host before any allowlist or denylist decision), or avoid making case-sensitive host decisions on scheme-relative input until upgrading.

warning: Package 'brace-expansion@5.0.9' is vulnerable to 'CVE-2026-102277' (also known as 'GHSA-q2hr-2g5m-vwhr').
= CVE-2026-102277: brace-expansion: Quadratic-time expansion of the {a},b} rewrite causes CPU denial of service
= ### Summary

Expanding {a},b}-shaped input takes time quadratic in the number of literal } characters, blocking the event loop.

Bash preserves a quirk where a brace group followed by a comma set still expands ({a},b}). The parser implements this by rewriting the string and restarting the scan. Each pass absorbs exactly one } and re-scans from the beginning, so n trailing braces cost n full passes.

Reproduction

const build = n => '{a}' + '}'.repeat(n) + ',z}'

for (const n of [8000, 16000, 32000, 64000, 128000]) {
  const t = Date.now()
  expand(build(n))
  console.log(n, Date.now() - t + 'ms')
}
n input time results
8,000 8 KB 110 ms 2
16,000 16 KB 446 ms 2
32,000 32 KB 1.7 s 2
64,000 64 KB 6.9 s 2
128,000 128 KB 27.7 s 2

ms/n^2 is flat at ~1.7 and each doubling of n costs exactly 4.0x - quadratic. 128 KB of input blocks the event loop for nearly half a minute to produce two results.

Mechanism

Instrumenting the rewrite branch confirms it runs exactly n + 1 times, once per literal }, each re-scanning the whole string.

There is a second multiplier. The rewrite replaces the group's closing } with the internal escClose sentinel, which is '\0CLOSE' + Math.random() + '\0' - about 25 characters. The working string therefore grows by ~25 characters on every pass:

n input length final string length
1,000 1,006 26,006
8,000 8,006 208,006

So the input is inflated roughly 26x, and that factor multiplies both the quadratic constant and peak memory. This makes it partly a memory-pressure issue as well as a CPU one.

Why max and maxLength do not help

The cost is in parsing, before the result set exists. The payload yields 2 results regardless of size, so neither bound is ever reached.

Impact

An application passing an untrusted pattern to expand(), directly or through minimatch / glob, can have its event loop blocked for tens of seconds by a payload well under minimatch's 65,536-character cap. For a single-threaded Node server that is a full stall, not just a slow request.

Degraded availability rather than a crash - the process recovers once the expansion completes.

Affected versions

Verified affected on 1.1.18, 2.1.4, 3.0.6 and 5.0.9, all within a few percent of each other (~460-490 ms at n=16,000).

Patch

The rewrite loop gets an iteration bound. Past the cap the remaining string is treated as non-expanding and returned literally, consistent with the existing max / maxLength caps, which truncate rather than throw.

Note this bounds the number of passes, not the cost of each: worst-case work remains proportional to cap x input length. The cap is set low enough that the residual is bounded in practice, and far above what any realistic {a},b} input needs.

Severity note

Scored 5.3 Medium (A:L) for consistency with GHSA-3jxr-9vmj-r5cp, the other algorithmic-complexity advisory on this package (CWE-407), which uses the same vector. The stack-exhaustion advisories on this package score A:H because they crash the process outright; this one stalls it.

warning: Package 'brace-expansion@5.0.9' is vulnerable to 'CVE-2026-102278' (also known as 'GHSA-qhr7-859c-m2p7').
= CVE-2026-102278: brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
= ### Summary

expand_() recurses once per level of brace nesting. Deeply nested input exhausts the native stack and crashes the process.

This is distinct from CVE-2026-14257 / GHSA-mh99-v99m-4gvg, which made the tail iterative (recursion on m.post, driven by how many groups are chained). Nesting depth drives a different recursion that the tail fix never touched, so the documented constant-stack-depth guarantee only ever covered chained input, not nested input.

It is also distinct from GHSA-6j4f-fj2g-mc7p, which fixed recursion in parseCommaParts(). Both payloads below still crash with that fix applied.

Two recursion sites

Comma members. Each alternative of a brace set is expanded by a recursive call, so nesting a set inside every alternative recurses once per level:

expand('{a,'.repeat(4000) + 'z' + '}'.repeat(4000))
// RangeError: Maximum call stack size exceeded

Crashes at depth 3,907 - about 15.6 KB of input.

Single set. A brace set whose body parses to a single part is expanded by a recursive call before being re-wrapped (x{{a,b}}y -> x{a}y x{b}y), which recurses once per nesting level:

expand('{'.repeat(3200) + 'a,b' + '}'.repeat(3200))
// RangeError: Maximum call stack size exceeded

Crashes at depth 3,125 - about 6.25 KB of input. This is the cheapest stack-exhaustion payload known against this package: roughly a quarter the input of GHSA-6j4f-fj2g-mc7p (29 KB), and about a tenth of minimatch's MAX_PATTERN_LENGTH (65,536).

Why max and maxLength do not help

Both crashes happen while recursing into sub-expansions, before the result set grows. The payloads produce almost no output - the single-set case yields 2 results - so neither bound is ever the limiter. expand(payload, { max: 1, maxLength: 1 }) still overflows.

Impact

Any application passing an untrusted string to expand(), directly or through minimatch / glob as a user-supplied glob pattern, can be crashed. In Node a RangeError the application does not catch terminates the process, so a server globbing user input is exposed to remote unauthenticated denial of service.

Availability only. No code execution, no data exposure.

Affected versions

Verified affected on 1.1.18, 2.1.4, 3.0.6 and 5.0.9, at near-identical depths on every line (single set: 3,125 on all four; comma members: 3,907-4,102). Not a regression from any recent fix - the gap predates them.

Patch

A maxDepth bound (default EXPANSION_MAX_DEPTH) is threaded through expand_(). Past the cap a group is treated as non-expanding and returned literally, which is how the parser already handles a group that cannot expand. This matches the existing max / maxLength caps, which truncate rather than throw, so expand() continues never to throw on any input.

The default sits far above any realistic nesting depth and well below the crash threshold.

warning: Package 'braces@3.0.3' is vulnerable to 'CVE-2026-93687' (also known as 'GHSA-vfj7-8cjw-p6xm').
= CVE-2026-93687: braces vulnerable to stack-exhaustion denial of service through deeply nested patterns
= braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards. Attackers can supply deeply nested brace patterns under the character limit to exhaust the call stack and terminate the Node.js process with an uncaught RangeError.

warning: Package 'braces@3.0.3' is vulnerable to 'CVE-2026-93687' (also known as 'GHSA-vfj7-8cjw-p6xm').
= CVE-2026-93687: braces vulnerable to stack-exhaustion denial of service through deeply nested patterns
= braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards. Attackers can supply deeply nested brace patterns under the character limit to exhaust the call stack and terminate the Node.js process with an uncaught RangeError.

warning: Package 'bare-metal@0.2.5' is vulnerable to 'RUSTSEC-2026-0110'.
= RUSTSEC-2026-0110: bare-metal is deprecated
= The bare-metal crate has been deprecated and archived.

For Mutex and CriticalSection, see the critical-section crate instead.

warning: Package 'bare-metal@0.2.5' is vulnerable to 'RUSTSEC-2026-0110'.
= RUSTSEC-2026-0110: bare-metal is deprecated
= The bare-metal crate has been deprecated and archived.

For Mutex and CriticalSection, see the critical-section crate instead.

warning: 8 warnings emitted


</details>

See detailed reports in [MegaLinter artifacts](https://github.com/philips-software/amp-devcontainer/actions/runs/39375379189)

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:
- [oxsecurity/megalinter/flavors/salesforce@v10.1.0](https://megalinter.io/10.1.0/flavors/salesforce/) (58 linters)


Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining `FLAVOR_SUGGESTIONS: false`)

  - Documentation: [Custom Flavors](https://megalinter.io/10.1.0/custom-flavors/)
  - Command: `npx mega-linter-runner@10.1.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_OSV_SCANNER,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R`

[![MegaLinter is provided by OX Security](https://raw.githubusercontent.com/oxsecurity/megalinter/main/docs/assets/images/ox-banner.png)](https://www.ox.security/?ref=megalinter)
Show us your support by [**starring ⭐ the repository**](https://github.com/oxsecurity/megalinter)

<!-- megalinter: github-comment-reporter workflow='Linting & Formatting' jobid='linter' -->

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-docs:edge ➔ ghcr.io/philips-software/amp-devcontainer-docs:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 215.23 MB 215.23 MB +490 B (+0%) 🔼
linux/arm64 212.19 MB 212.19 MB 476 B (0%) 🔽

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-rust:edge ➔ ghcr.io/philips-software/amp-devcontainer-rust:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 439.77 MB 439.77 MB 88 B (0%) 🔽
linux/arm64 381.53 MB 381.53 MB 68 B (0%) 🔽

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-embedded-rust:edge ➔ ghcr.io/philips-software/amp-devcontainer-embedded-rust:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 506.53 MB 506.53 MB 262 B (0%) 🔽
linux/arm64 448.36 MB 448.36 MB 147 B (0%) 🔽

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:edge ➔ ghcr.io/philips-software/amp-devcontainer-cpp:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 407.9 MB 407.9 MB 381 B (0%) 🔽
linux/arm64 389.15 MB 389.15 MB 557 B (0%) 🔽

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-embedded-cpp:edge ➔ ghcr.io/philips-software/amp-devcontainer-embedded-cpp:pr-1464

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 610.11 MB 610.11 MB +654 B (+0%) 🔼
linux/arm64 590.57 MB 590.57 MB +3.01 kB (+0%) 🔼

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

0 files   -  25  0 suites   - 25   0s ⏱️ - 9m 7s
0 tests  -  53  0 ✅  -  53  0 💤 ±0  0 ❌ ±0 
0 runs   - 229  0 ✅  - 229  0 💤 ±0  0 ❌ ±0 

Results for commit 6866f8c. ± Comparison against base commit b2b9b71.

♻️ This comment has been updated with latest results.

@philips-software-forest-releaser
philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer/update-vscode-extensions branch from 9fb21af to e5c650f Compare September 20, 2026 02:44
@philips-software-forest-releaser
philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer/update-vscode-extensions branch from 25cf285 to 797fdd9 Compare September 27, 2026 02:49
@philips-software-forest-releaser
philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer/update-vscode-extensions branch from 797fdd9 to fbb733c Compare October 4, 2026 03:33
@philips-software-forest-releaser
philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer/update-vscode-extensions branch from fbb733c to ec6d87c Compare October 11, 2026 02:57
Comment on lines 4 to 7
"extensions": [
"jebbs.plantuml@2.18.1",
"sbdl.sbdl@1.8.18"
"sbdl.sbdl@1.11.1"
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MegaLinter] reported by reviewdog 🐶

Suggested change
"extensions": [
"jebbs.plantuml@2.18.1",
"sbdl.sbdl@1.8.18"
"sbdl.sbdl@1.11.1"
]
"extensions": ["jebbs.plantuml@2.18.1", "sbdl.sbdl@1.11.1"]

@philips-software-forest-releaser
philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer/update-vscode-extensions branch from dd6ee6a to 6866f8c Compare October 20, 2026 05:31
@sonarqubecloud

Copy link
Copy Markdown

This branch had an error being deployed

1 failed (outdated) deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file vscode-extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant