🔍 CVE-2026-59854

4.9
CVSS Score
MEDIUM
2026-07-09
2026-10-25 15:10
✅ 완료

🇰🇷 한글 설명

SiYuan 지식 관리 시스템의 3.7.1 이전 버전에서 발생하는 취약점으로, 특정 API가 민감한 경로를 제대로 필터링하지 못합니다. 인증된 관리자나 API 토큰 사용자가 .git-credentials, .kube/config 등 시스템의 중요한 자격 증명 파일을 워크스페이스로 복사하여 탈취할 수 있습니다.

💡 쉬운 설명

해커가 권한을 가진 상태에서 컴퓨터 안에 숨겨진 중요한 비밀번호 파일들을 몰래 복사해 가져갈 수 있는 문제입니다. 보안 목록에 누락된 파일들을 이용해 개인 정보나 시스템 접속 정보를 훔칠 수 있습니다.

🇺🇸 원문 (English)

SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, POST /api/file/globalCopyFiles accepts attacker-supplied absolute source paths and relies on util.IsSensitivePath in kernel/util/path.go, whose denylist misses common home-directory credential files such as .git-credentials, .netrc, .pgpass, .kube/config, .docker/config.json, and .gnupg, allowing an authenticated administrator or API-token user to copy those files into the workspace and exfiltrate them through the file API. This issue is fixed in versions 3.7.1-alpha.2 and 3.7.1.

📍 영향받는 시스템

SiYuan versions prior to 3.7.1 (including 3.7.1-alpha.2)

⚔️ 공격 벡터

인증된 사용자가 POST /api/file/globalCopyFiles API를 통해 민감한 절대 경로를 입력하여 파일을 복사함

🛡️ 대응 방법

SiYuan을 3.7.1 또는 3.7.1-alpha.2 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 3.7.1 또는 3.7.1-alpha.2 이상의 버전 번호가 포함되어 있으면 취약점이 해결된 상태입니다.

Shell / Script
curl -s http://localhost:PORT/api/version | grep -E '3.7.1|3.7.1-alpha.2'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

.NET