GHSA-mfvq-x7vr-rgqg CVE-2026-106499
Backstage: Secret-derived values may be exposed in scaffolder task logs
- Severity
- 4.9 / 10
- Medium · CVSS 3.1
- Exploit chance (EPSS)
- 0.27%
- Chance of exploitation in the next 30 days. Higher than 19.19% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-532 Insertion of Sensitive Information into Log File
- Fix
4.1.0- Upgrade @backstage/plugin-scaffolder-backend to this version or later
Description
Impact
Deployments that configure sensitive scaffolder.defaultEnvironment.secrets and allow an attacker to create or modify Scaffolder templates are affected. A template author could cause secret-derived values used during template iteration to be persisted in task logs, exposing those values to users with access to the resulting task logs.
Patches
Patched in @backstage/plugin-scaffolder-backend version 4.1.0
Workarounds
- Restrict permission to create or update Template entities to fully trusted parties, as recommended by the Backstage threat model.
- If that restriction cannot be guaranteed, remove sensitive values from
scaffolder.defaultEnvironment.secretsuntil a patched version is available.
No complete workaround is known that preserves both untrusted template authoring and access to sensitive default-environment secrets.
Affected versions
npm
| Package | Vulnerable | Fixed in |
|---|---|---|
| @backstage/plugin-scaffolder-backend | < 4.1.0 |
4.1.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
@backstage/plugin-scaffolder-backend npm → 4.1.0
- npm
npm install @backstage/plugin-scaffolder-backend@4.1.0- yarn
yarn add @backstage/plugin-scaffolder-backend@4.1.0- pnpm
pnpm add @backstage/plugin-scaffolder-backend@4.1.0
Severity breakdown
CVSS 3.1 4.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Weakness
CWE-532: Insertion of Sensitive Information into Log File
The product writes sensitive information to a log file.
How to prevent it
- Architecture and Design, Implementation: Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.
- Distribution: Remove debug log files before deploying the application into production.
- Operation: Protect log files against unauthorized read/write.
- Implementation: Adjust configurations appropriately when software is transitioned from a debug state to production.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-vwp5-f99x-x3rq Backstage has improper input validation in scaffolder task list ordering | Medium | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-4xvq-3m68-h444 Backstage has sensitive information exposure in scaffolder task logs | Medium | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-hmp2-4m7g-22cv Backstage: Scaffolder action input authorization bypass | High | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-95p4-vv4g-jxxm Backstage may expose sensitive information in Scaffolder task failure events | Medium | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-g2v8-7jhw-pp8p Backstage: Sensitive information exposure in Scaffolder | Critical | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-xvgh-hmx8-9xxf Backstage: Improper task state validation in Scaffolder backend | High | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-29gx-h2m3-xw44 Backstage's scaffolder credential handling may allow unintended GitHub authentication fallback | Medium | Also affects @backstage/plugin-scaffolder-backend |
| GHSA-7hfw-grcm-cqm6 Backstage: Incorrect authorization in scaffolder task listing | Medium | Also affects @backstage/plugin-scaffolder-backend |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor