Skip to main content

Backstage Scaffolder EUVDEUVD-2026-94069

| CVE-2026-106504 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-10-06 security-advisories@github.com GHSA-4xvq-3m68-h444
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as scaffolder task user
  2. Delivery
    Submit template passing secret into denied action input
  3. Exploit
    Action authorization denied during run
  4. Execution
    Resolved secret rendered into task log
  5. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

backstage < 1.54.6
plugin-scaffolder-backend < 4.1.0

Affected Packages

npm @backstage/plugin-scaffolder-backend fix: 4.1.0
euvd backstage fix: 1.54.6
euvd plugin_scaffolder_backend fix: 4.1.0

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

Vendor (github) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Oct 06, 2026 - 23:05 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 85% exploitable
Prevalence
Medium
popular CNCF developer portal, but needs specific plugin and restrictive-permission config
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-35926 CRITICAL
9.9 Jun 22

Backstage is an open platform for building developer portals. Rated critical severity (CVSS 9.9), this vulnerability is

CVE-2026-106501 CRITICAL
9.6 Oct 06

Authenticated Backstage users can retrieve the internal execution data of other users' Scaffolder tasks - notably the Se

CVE-2026-88064 HIGH
8.8 Sep 16

Authenticated users who can register or modify a TechDocs documentation source can achieve code execution inside the Bac

CVE-2026-106558 HIGH
8.8 Oct 07

Authenticated remote code execution in the @backstage/plugin-techdocs-node package shipped with the Backstage developer

CVE-2026-106509 HIGH
8.8 Oct 06

Arbitrary code execution in Backstage TechDocs documentation builds allows an authenticated user with write access to a

CVE-2026-25153 HIGH
8.8 Jan 30

Arbitrary Python code execution in Backstage's @backstage/plugin-techdocs-node (versions < 1.13.11 and = 1.14.0) lets a

CVE-2026-106500 HIGH
8.5 Oct 06

Improper task-state validation in the @backstage/plugin-scaffolder-backend plugin (Backstage versions prior to 3.3.1, 3.

CVE-2026-106486 HIGH
8.5 Oct 06

Path traversal in the Backstage Scaffolder Bitbucket pull-request publish actions allows an authenticated user who can e

CVE-2026-106505 HIGH
8.5 Oct 06

Arbitrary code execution on the TechDocs backend host is achievable through a sanitizer bypass in the @backstage/plugin-

CVE-2026-106459 HIGH
8.5 Oct 06

Improper input validation in the @backstage/plugin-scaffolder-backend-module-sentry scaffolder actions (Backstage 0.3.0

CVE-2021-43783 HIGH
8.5 Nov 29

@backstage/plugin-scaffolder-backend is the backend for the default Backstage software templates. Rated high severity (C

CVE-2026-106503 HIGH
8.1 Oct 06

Authenticated users of Backstage Scaffolder can bypass administrator-configured action restrictions in @backstage/plugin

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy