GHSA-8w7q-29mw-gf5c

Suggest an improvement
Source
https://github.com/advisories/GHSA-8w7q-29mw-gf5c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8w7q-29mw-gf5c/GHSA-8w7q-29mw-gf5c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8w7q-29mw-gf5c
Aliases
Published
2026-10-07T16:23:30Z
Modified
2026-10-07T16:30:04Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L CVSS Calculator
Summary
Backstage: Improper validation of MkDocs theme configuration in TechDocs
Details

Impact

When TechDocs is configured to build documentation locally or in a container, a user with write access to a registered repository can include configuration values in mkdocs.yml that cause arbitrary code execution during the documentation build process.

Patches

Patched in @backstage/plugin-techdocs-node version 1.15.4

Workarounds

  • Configure TechDocs with techdocs.generator.runIn: 'docker' instead of 'local' to provide container isolation, though this does not fully mitigate the risk.
  • Restrict write access to repositories registered in the Backstage catalog to trusted users.
Database specific
{
    "cwe_ids": [
        "CWE-1336",
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-07T16:23:30Z",
    "nvd_published_at": "2026-10-06T22:17:06Z",
    "severity": "HIGH"
}
References

Affected packages

npm / @backstage/plugin-techdocs-node

Package

Name
@backstage/plugin-techdocs-node
View open source insights on deps.dev
Purl
pkg:npm/%40backstage/plugin-techdocs-node

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.15.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8w7q-29mw-gf5c/GHSA-8w7q-29mw-gf5c.json"