Backstage: Improper input validation in Sentry scaffolder actionsGHSA-g734-fhp4-7mfp
HIGHFix: backstage/backstage@b0170faGHSA-g734-fhp4-7mfp is a high-severity (CVSS 8.5) Information Exposure vulnerability in @backstage/plugin-scaffolder-backend-module-sentry. A fix is available for @backstage/plugin-scaffolder-backend-module-sentry — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-g734-fhp4-7mfp by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 394,415 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@backstage/plugin-scaffolder-backend-module-sentrynpmDescription
Impact
An authenticated internal user who can execute the affected actions may cause the backend to contact unintended destinations and disclose Sentry integration credentials. Subsequent impact depends on network reachability and the privileges granted to the configured token.
Patches
Upgrade @backstage/plugin-scaffolder-backend-module-sentry to version 0.3.8 or later. The fixed package is available in Backstage v1.54.8 and Backstage v1.55.0.
The update removes custom action-level apiBaseUrl values. Move any such value to scaffolder.sentry.apiBaseUrl before upgrading.
Workarounds
- Disable the affected actions until the patched package is deployed.
- Restrict
scaffolder.action.executepermission for the affected Sentry actions to trusted users and templates.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @backstage/plugin-scaffolder-backend-module-sentry | ≥ 0.3.0&&< 0.3.8 | 0.3.8npm install @backstage/plugin-scaffolder-backend-module-sentry@0.3.8 |
Affected Products
backstagelinuxfoundationbackstage\/plugin-scaffolder-backend-module-sentrylinuxfoundationDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @backstage/plugin-scaffolder-backend-module-sentry, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @backstage/plugin-scaffolder-backend-module-sentry to 0.3.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-g734-fhp4-7mfp is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is GHSA-g734-fhp4-7mfp in your dependencies?
Find it across npm, including transitive dependencies.