🔍 CVE-2026-25152

5.3
CVSS Score
MEDIUM
2026-01-30
2026-06-17 10:24
✅ 완료

🇰🇷 한글 설명

Backstage 프레임워크의 @backstage/plugin-techdocs-node 패키지에서 발생하는 경로 조작 취약점으로, TechDocs 로컬 생성기에 임의의 파일을 읽을 수 있는 취약점이 존재합니다. MkDocs에서 문서 빌드 과정에서 신뢰할 수 없는 출처의 문서에서 심볼릭 링크를 따라 파일 내용을 노출할 수 있습니다.

💡 쉬운 설명

백스테이지 프레임워크에서 개발자 문서를 생성하는 플러그인에 취약점이 있습니다. 이 취약점으로 공격자는 시스템의 임의 파일을 읽을 수 있습니다. 문서 소스 저장소에 대한 쓰기 권한을 제한하거나 도커로 실행하는 것으로 임시 해결책이 가능합니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

@backstage/plugin-techdocs-node 버전 1.13.11 및 1.14.1 이전 버전

⚔️ 공격 벡터

TechDocs 로컬 생성기에서 임의의 파일을 읽을 수 있는 경로 조작 공격

🛡️ 대응 방법

1.13.11 또는 1.14.1 버전으로 업데이트하거나, app-config.yaml에서 runIn을 docker로 설정하고, TechDocs 소스 저장소에 대한 쓰기 권한을 제한

🔧 검증 코드

로컬에서 Python이 설치된 상태에서, @backstage/plugin-techdocs-node 패키지의 버전을 확인하여 취약점 여부를 판단합니다. Python을 설치하고, pip를 통해 필요한 패키지를 설치한 후, 코드를 실행하세요.

Shell / Script
python -c "import pkg_resources; print('취약' if pkg_resources.get_distribution('@backstage/plugin-techdocs-node').version < '1.13.11' else '양호')"

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

Docker