# GHSA-CM77-CH27-6W6V: Backstage has potential file exposure through local TechDocs publisher

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-07
- Modified: 2026-10-07

## Tracked as

- [CVE-2026-106508](https://cve.now/CVE-2026-106508.md): Backstage: Potential file exposure through local TechDocs publisher

## Affected versions

- @backstage/plugin-techdocs-node (npm): fixed in 1.15.4

## Description

### Impact

When using the local TechDocs publisher (`techdocs.publisher.type: 'local'`), it was possible for the documentation serving endpoint to follow filesystem references outside the intended documentation tree, potentially exposing host files to authenticated users.

This is mitigated by the fact that exploration requires preconditions that do not arise through normal MkDocs operation. Cloud-based publishers (S3, GCS, Azure Blob Storage) are not affected.

### Patches

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

### Workarounds

If you cannot upgrade immediately, consider switching to an external store for published TechDocs content (e.g. `awsS3`, `googleGcs`, or `azureBlobStorage` publishers)

## References

- https://github.com/backstage/backstage/security/advisories/GHSA-cm77-ch27-6w6v
- https://nvd.nist.gov/vuln/detail/CVE-2026-106508
- https://github.com/backstage/backstage/commit/6aecb26f337ffec1d4e67ce903cf1e39b6082ec4
- https://github.com/backstage/backstage
- https://github.com/backstage/backstage/releases/tag/v1.54.6

Page: https://cve.now/GHSA-CM77-CH27-6W6V

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
