Tóm tắt nhanh
- CVE-2026-25152 là lỗ hổng mức TRUNG BÌNH (CVSS 6.5) ảnh hưởng backstage (linuxfoundation), @backstage/plugin-techdocs-node.
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 0.43%, cao hơn 37.6% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.14.1, 1.13.11 hoặc mới hơn.
Mô tả
Impact
A path traversal vulnerability in the TechDocs local generator allows attackers to read arbitrary files from the host filesystem when Backstage is configured with techdocs.generator.runIn: local.
When processing documentation from untrusted sources, symlinks within the docs directory are followed by MkDocs during the build process. File contents are embedded into generated HTML and exposed to users who can view the documentation.
Patches
This vulnerability is fixed in @backstage/plugin-techdocs-node version X.X.X. Users should upgrade to this version or later.
Workarounds
- Switch to
runIn: docker in your app-config.yaml:
techdocs:
generator:
runIn: docker
- Restrict write access to TechDocs source repositories to trusted users only
References
Mô tả của NVD
Backstage is an open framework for building developer portals, and @backstage/plugin-techdocs-node provides common node.js functionalities for TechDocs. In versions of @backstage/plugin-techdocs-node prior to 1.13.11 and 1.14.1, a path traversal vulnerability in the TechDocs local generator allows attackers to read arbitrary files from the host filesystem when Backstage is configured with `techdocs.generator.runIn: local`. When processing documentation from untrusted sources, symlinks within the docs directory are followed by MkDocs during the build process. File contents are embedded into generated HTML and exposed to users who can view the documentation. This vulnerability is fixed in` @backstage/plugin-techdocs-node` versions 1.13.11 and 1.14.1. Some workarounds are available. Switch to `runIn: docker` in `app-config.yaml` and/or restrict write access to TechDocs source repositories to trusted users only.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí