Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as scaffolder task user
-
DeliverySubmit template passing secret into denied action input
-
ExploitAction authorization denied during run
-
ExecutionResolved secret rendered into task log
-
ImpactRead task logs to harvest secret
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
|
| Exploitation Conditions | Exploitation requires all of the following concrete conditions: (1) the attacker is an authenticated Backstage user with permission to create and read scaffolder tasks; (2) the deployment uses the scaffolder permission framework with restrictive action permissions that actually DENY at least one action; (3) an affected template passes a sensitive value - a task secret ('${{ secrets.X }}'), an environment secret ('${{ environment.secrets.X }}'), or a secret-derived 'each' key - as input to that denied action. Limiting factors: this does not affect default deployments without action-level permission denials, does not affect templates that do not route secrets through denied actions, and requires authenticated task-read access to observe the logs. Absent restrictive action permissions and secret-bearing denied-action inputs, there is no exposure. |
| Impact | This is a genuine but conditional, moderate-severity information-disclosure flaw (CWE-532) rather than a top-tier priority. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N = 6.5) signals a network-reachable, low-privilege, no-interaction issue with high confidentiality impact and no integrity/availability effect. However, PR:L correctly reflects that the attacker must be an authenticated Backstage user able to create and read scaffolder tasks, and the description adds preconditions the base vector understates: the deployment must use restrictive action permissions AND use affected templates, and exploitation requires a denied action whose input contains a sensitive value - meaning AC:L is arguably too generous (see assessed vector, where I use AC:H). No EPSS score was provided, there is no CISA KEV listing (not actively exploited), and no public exploit was supplied - the only code is the vendor patch and its regression tests, which is a fix, not a weaponized PoC. Net: a confirmed real bug worth patching, but its practical exploitability is gated by specific permission configuration and the presence of secrets in denied-action inputs, so it is 'high CVSS confidentiality but narrow real-world preconditions' rather than a mass-exploitation threat. |
| Exploit ScenarioDerived | An authenticated Backstage user with permission to create and read scaffolder tasks submits or runs a template that passes a secret (e.g. '${{ secrets.token }}' or '${{ environment.secrets.AWS_ACCESS_KEY }}') as input to a scaffolder action that is blocked by the deployment's restrictive action permissions. When the action is denied, the pre-4.1.0 error handling renders the input (including the resolved secret) into the task log, which the same user can then read to harvest the secret. No public exploit exists; the behavior is demonstrated by the vendor's own regression tests in the patch commit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 06, 2026
Sensitive-value disclosure in the @backstage/plugin-scaffolder-backend package prior to 4.1.0 lets an authenticated user who can create and read scaffolder tasks observe secret values in task logs and error messages. Exposure is conditional: it requires a deployment using the scaffolder permission framework with restrictive action permissions that actually deny an action, plus an affected template that passes a task secret, an environment secret, or a secret-derived 'each' key as input to that denied action. No public exploit code has been identified at time of analysis, and there is no confirmed active exploitation (CISA KEV); risk is moderate and highly configuration-dependent because default deployments without action-level denials and templates that do not route secrets through denied actions are unaffected.
RemediationAI
Vendor-released patch: upgrade @backstage/plugin-scaffolder-backend to version 4.1.0 (or move your Backstage installation to release v1.54.6), as described in the advisory at https://github.com/backstage/backstage/security/advisories/GHSA-4xvq-3m68-h444 and the fixing commit at https://github.com/backstage/backstage/commit/3eb3dc59eb0da0deccd532f19eb460bb452c9efb, which changes denied-action error handling so that rendered inputs are never written to errors, task logs, or task completion records. If immediate upgrade is not possible, apply compensating controls that target the specific prerequisite chain: restrict scaffolder task read permission so that only users who genuinely need to inspect task output can read task logs (trade-off: reduces legitimate debugging visibility and may require new permission policies); avoid referencing '${{ secrets.X }}', '${{ environment.secrets.X }}', or secret-derived 'each' keys in the inputs of any action that your permission policy may deny (trade-off: changes template behavior and may require reworking existing templates); and treat any task logs produced under a restrictive permission policy as potentially sensitive by rotating secrets that could have been routed into denied actions before the patch is applied (trade-off: coordinated credential rotation effort). Note that removing action-level permission denials entirely is not a recommended mitigation because it weakens the scaffolder permission posture.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable component is the Nunjucks-based scaffolder task runner inside @backstage/plugin-scaffolder-backend, which renders template expressions such as '${{ secrets.token }}', '${{ environment.secrets.AWS_ACCESS_KEY }}', and secret-derived 'each' keys before executing a step. When the scaffolder permission framework returns a DENY for an action, the pre-fix error path included the fully rendered step input - and therefore the resolved secret - in the thrown error message and in task logs written through the task broker. This is a classic CWE-532 (Insertion of Sensitive Information into Log File) issue: the root cause is unsafe handling of rendered-but-unauthorized action input when constructing denial errors, rather than a flaw in secret storage or in the permission framework itself. The fixing commit adds tests asserting that denied actions produce a generic 'Unauthorized action: <action>' error, that the action handler is never invoked, and that neither returned errors nor task logs nor task completion records contain the sensitive values. Per the CVSS vector (PR:L), exploitation requires authentication, and the independent assessment rates attack complexity as High because the attacker needs a specific deployment configuration - restrictive action permissions that deny at least one action - combined with a template that feeds secrets into that denied action and read access to the resulting task logs.
Know when Backstage gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PR:L for an authenticated task user; AC:H because exploitation depends on a non-default restrictive-permission config plus a denied action whose input carries a secret; C:H as secrets leak, no I/A impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
Backstage is an open framework for building developer portals. Prior to 4.1.0, the @backstage/plugin-scaffolder-backend package is affected by sensitive information exposure in scaffolder task logs. An authenticated user who can create and read scaffolder tasks may be able to observe sensitive values in task logs in deployments with restrictive action permissions and affected templates. Exploitation requires a denied action whose input contains such a value. This issue is fixed in version 4.1.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Backstage is an open platform for building developer portals. Rated critical severity (CVSS 9.9), this vulnerability is
Authenticated Backstage users can retrieve the internal execution data of other users' Scaffolder tasks - notably the Se
Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Bac
Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer
Arbitrary code execution in Backstage TechDocs documentation builds allows an authenticated user with write access to a
Arbitrary Python code execution in Backstage's @backstage/plugin-techdocs-node (versions < 1.13.11 and = 1.14.0) lets a
Improper task-state validation in the @backstage/plugin-scaffolder-backend plugin (Backstage versions prior to 3.3.1, 3.
Path traversal in the Backstage Scaffolder Bitbucket pull-request publish actions allows an authenticated user who can e
Arbitrary code execution on the TechDocs backend host is achievable through a sanitizer bypass in the @backstage/plugin-
Improper input validation in the @backstage/plugin-scaffolder-backend-module-sentry scaffolder actions (Backstage 0.3.0
@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Rated high severity (C
Authenticated users of Backstage Scaffolder can bypass administrator-configured action restrictions in @backstage/plugin
EUVD-2026-94069
GHSA-4xvq-3m68-h444
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB