This repository was archived by the owner on Jan 27, 2026. It is now read-only.
fix(deps): update dependency @backstage/plugin-scaffolder-backend to v2 [security] #2683
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
^1.29.0->^2.0.0GitHub Vulnerability Alerts
CVE-2025-55285
Impact
Duplicate logging of the input values in the
fetch:templateaction in the Scaffolder meant that some of the secrets were not properly redacted. If you're not passing through$tofetch:templatethere is no impact.Patches
This issue has been resolved in
2.1.1of thescaffolder-backendplugin.Workarounds
Template Authors can remove the use of
$being used as an argument tofetch:template.References
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository
Visit our Discord, linked to in Backstage README
Template Secret leakage in logs in Scaffolder when using
fetch:templateCVE-2025-55285 / GHSA-3x3q-ghcp-whf7
More information
Details
Impact
Duplicate logging of the input values in the
fetch:templateaction in the Scaffolder meant that some of the secrets were not properly redacted. If you're not passing through$tofetch:templatethere is no impact.Patches
This issue has been resolved in
2.1.1of thescaffolder-backendplugin.Workarounds
Template Authors can remove the use of
$being used as an argument tofetch:template.References
If you have any questions or comments about this advisory:
Open an issue in the Backstage repository
Visit our Discord, linked to in Backstage README
Severity
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
backstage/backstage (@backstage/plugin-scaffolder-backend)
v2.1.1Compare Source
v2.1.0Compare Source
Minor Changes
c1ce316: BREAKING/alpha: Convertedscaffolder.task.readandscaffolder.task.cancelinto Resource Permissions.BREAKING
/alpha: Added a new scaffolder ruleisTaskOwnerforscaffolder.task.readandscaffolder.task.cancelto allow for conditional permission policies such as restricting access to tasks and task events based on task creators.BREAKING
/alpha: Retrying a task now requires bothscaffolder.task.readandscaffolder.task.createpermissions, replacing the previous requirement ofscaffolder.task.readandscaffolder.task.cancel.Patch Changes
424610a: Scaffolder audit Log now includes taskId and createdBydbde180: An internal refactor which adds additional types to experimental checkpointsfc70b43: Replaced deprecated uses of@backstage/backend-commonwith the equivalents in@backstage/backend-defaultsand@backstage/backend-plugin-api.v2.0.0Compare Source
Major Changes
33394db: BREAKING CHANGESRemoval of deprecated re-exports from module packages.
The following functions have been re-exported from the
scaffolder-backendplugin for quite some time, and now it's time to clean them up. They've been moved as follows:createPublishAzureActionshould be imported from@backstage/plugin-scaffolder-backend-module-azureinstead.createPublishBitbucketCloudActionshould be imported from@backstage/plugin-scaffolder-backend-module-bitbucket-cloudinstead.createPublishBitbucketServerActionandcreatePublishBitbucketServerPullRequestActioncan be imported from@backstage/plugin-scaffolder-backend-module-bitbucket-serverinstead.createPublishBitbucketActionshould be imported from@backstage/plugin-scaffolder-backend-module-bitbucketinstead.createPublishGerritActionandcreatePublishGerritReviewActioncan be imported from@backstage/plugin-scaffolder-backend-module-gerritinstead.createGithubActionsDispatchAction,createGithubDeployKeyAction,createGithubEnvironmentAction,createGithubIssuesLabelAction,CreateGithubPullRequestActionOptions,createGithubRepoCreateAction,createGithubRepoPushAction,createGithubWebhookAction, andcreatePublishGithubActioncan be imported from@backstage/plugin-scaffolder-backend-module-githubinstead.createPublishGitlabActionshould be imported from@backstage/plugin-scaffolder-backend-module-gitlabinstead.ActionContext.createTemplateAction,executeShellCommand,ExecuteShellCommandOptions,fetchContents,TaskSecrets, andTemplateActionshould be imported from@backstage/plugin-scaffolder-nodeinstead.ScaffolderEntitiesProcessorshould be imported from@backstage/plugin-catalog-backend-module-scaffolder-entity-modelinstead.a8fcf04: BREAKING ALPHA: The/alphaexport no longer exports the plugin. Please useimport('@​backstage/plugin-scaffolder-backend')instead as this has been removed.BREAKING CHANGES: The old
createRouterfunction which was used in the old backend system has been removed along with theRouterOptionstype.73b94d7: BREAKING CHANGESThe following functions have been re-exported from the
scaffolder-backendplugin for quite some time, and now it's time to clean them up. They've been moved as follows:SerializedTask,SerializedTaskEvent,TaskBroker,TaskBrokerDispatchOptions,TaskBrokerDispatchResult,TaskCompletionState,TaskContext,TaskEventType,TaskStatus,TemplateFilter, andTemplateGlobalshould be imported from@backstage/plugin-scaffolder-nodeinstead.The deprecated
copyWithoutRenderoption has been removed fromfetch:templateaction. You should rename the option tocopyWithoutTemplatinginstead.5863b04: BREAKING CHANGESThe
createBuiltinActionsmethod has been removed, as this should no longer be needed with the new backend system route, and was only useful when passing the default list of actions again in the old backend system. You should be able to rely on the default behaviour of the new backend system which is to merge the actions.The
createCatalogRegisterActionandcreateFetchCatalogEntityActionactions no longer require anAuthService, and now accepts aCatalogServiceinstead ofCatalogClient.Unless you're providing your own override action to the default, this should be a non-breaking change.
You can migrate using the following if you're getting typescript errors:
Minor Changes
73b94d7: DEPRECATIONSThe following types and implementations have been deprecated, either because they're no longer relevant, or because upcoming changes to the
scaffolder-backendafter2.0.0will influence the changes to these API surfaces.CreateWorkerOptionsDatabaseTaskStoreDatabaseTaskStoreOptionsTaskManagerTaskStoreCreateTaskOptionsTaskStoreCreateTaskResultTaskStoreEmitOptionsTaskStoreListEventsOptionsTaskStoreRecoverTaskOptionsTaskStoreShutDownTaskOptionsThere is no current path off deprecation, these types are going to be removed and rethought with a better way to define workers in the new backend system.
Patch Changes
89a941d: Migrating to latest action format023629e: Enable usage of secrets within 'each' step of software templates. For example, you can now structure youreachstep like this:e92e481: Add tests for ScaffolderUpdated dependencies
v1.33.0Compare Source
Minor Changes
587cb05: Addedworkspace:templateandworkspace:template:fileactions to complement respectivefetch:*actionsPatch Changes
eb39388: Fixed bug in fs:delete that prevented wildcard patterns from matching paths starting with "."36ae651: Fixing a bug where the name fortemplatingExtensionswas incorrectly set totemplateExtensions72d019d: Removed various typosec42f8e: Generating new tokens on each Scaffolder Task Retryv1.32.1Compare Source
This release fixes an issue where the scaffolder did not forward the token from the user to the task properly, and also fixes another issue where the scaffolder tasks page would not list correctly on PostgreSQL.
v1.32.0Compare Source
Minor Changes
75e4db4: add template-extensions scaffolder service endpointPatch Changes
8685cab: Addedtemplateandsteplabels for scaffolder histogram metrics:scaffolder_task_durationandscaffolder_step_duration497d47a: Document the internal built-in filters, and ensure that the types are validated when usingcreateTemplateFilterandcreateTemplateGlobalFunctionfrom thezodschema.v1.31.0Compare Source
Minor Changes
36677bb: Support newcreateTemplateActiontype, and convertcatalog:fetchaction to new way of defining actions.2b1e50d: use CreatedTemplate[Filter|Global*] as canonical template extensions in scaffolder pluginPatch Changes
e0b226b: build(deps): bumpesbuildfrom 0.24.2 to 0.25.009cf038: Got rid of most@backstage/backend-commonusages4f8b5b6: Allow signing git commits using configured private PGP key in scaffolder59dcf37: Fixed bug in fs:delete causing no files to be deleted on windows machinesv1.30.0Compare Source
Minor Changes
dc8dd4b: Added newcreateTemplateFilter,createTemplateGlobalFunction,createTemplateGlobalValuefor template extensions.a4aa244: This change integrates theauditorservice into the Scaffolder plugin.3d6ef79: Support file globbing in fs:delete91f3313: Added experimental flag for scaffolder to wait for running tasks to complete on shutdownEnabling the
EXPERIMENTAL_gracefulShutdownflag in the scaffolder config will make thescaffolder block the shutdown process until all running tasks have completed. This is useful
when there is a need to ensure that all tasks have completed before the scaffolder is shut down.
Please note, that the
TaskWorkerstopmethod is now asynchronous and awaited for thetasks to complete when the experimental flag is enabled.
Patch Changes
37ab712: Fixed an issue where invalid expressions or non-object values instep.eachcaused an error.1e935f0: Added conditional rendering ofoneOfoutput schemas on the Installed Actions page for scaffolder actionsConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.