# CVE-2023-35926: Insecure sandbox in Backstage Scaffolder plugin

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.25% (percentile 84, 2026-11-26)
- **CWE:** CWE-94
- **Aliases:** GHSA-wg6p-jmpc-xjmr
- **Published:** 2023-06-21T22:00:30.000Z
- **Modified:** 2026-09-10T03:50:02.364Z

## Who should check

- Projects that depend on npm package @backstage/plugin-scaffolder-backend (\< 1.15.0)
- Anyone running backstage \< 1.15.0

## Description

Backstage is an open platform for building developer portals. The Backstage scaffolder-backend plugin uses a templating library that requires sandbox, as it by design allows for code injection. The library used for this sandbox so far has been \`vm2\`, but in light of several past vulnerabilities and existing vulnerabilities  that may not have a fix, the plugin has switched to using a different sandbox library. A malicious actor with write access to a registered scaffolder template could manipulate the template in a way that allows for remote code execution on the scaffolder-backend instance. This was only exploitable in the template YAML definition itself and not by user input data. This is vulnerability is fixed in version 1.15.0 of \`@backstage/plugin-scaffolder-backend\`.

## Affected and fixed versions

- npm `@backstage/plugin-scaffolder-backend`: affected \< 1.15.0; fixed 1.15.0 (osv)
- backstage: \< 1.15.0 (cvelist)

## Mitigation

- Upgrade @backstage/plugin-scaffolder-backend to 1.15.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-35926. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-35926.md
Affected: @backstage/plugin-scaffolder-backend < 1.15.0
Fixed in: 1.15.0

Steps:
1. Search this machine and project for @backstage/plugin-scaffolder-backend (npm), backstage: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-35926 being exploited?

There is no confirmed exploitation: CVE-2023-35926 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-35926?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-35926?

@backstage/plugin-scaffolder-backend \< 1.15.0.

### Is there a fix for CVE-2023-35926?

Yes. Fixed in 1.15.0. Upgrade @backstage/plugin-scaffolder-backend to 1.15.0 or later.

### How do I check if I'm affected by CVE-2023-35926?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/backstage/backstage/security/advisories/GHSA-wg6p-jmpc-xjmr>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-35926>
- patch: <https://github.com/backstage/backstage/commit/fb7375507d56faedcb7bb3665480070593c8949a>
- other: <https://github.com/backstage/backstage/releases/tag/v1.15.0>
- other: <https://github.com/backstage/backstage>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-35926>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wg6p-jmpc-xjmr> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-35926> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-35926>
