🔍 CVE-2026-59944

6.1
CVSS Score
MEDIUM
2026-09-16
2026-09-30 17:43
✅ 완료

🇰🇷 한글 설명

PHP 의존성 관리 도구인 Composer에서 악성 또는 변조된 의존성이 바이너리 경로 보안 검증을 우회할 수 있는 취약점이 발견되었습니다. 공격자는 심볼릭 링크나 조작된 메타데이터를 사용하여 설치 디렉터리 외부의 파일에 대한 권한을 변경하고 실행 가능한 프록시를 생성할 수 있습니다.

💡 쉬운 설명

나쁜 의존성 패키지가 설치될 때, 원래 허용된 폴더를 벗어나 컴퓨터의 다른 중요한 파일에 접근하거나 권한을 마음대로 바꿀 수 있는 문제입니다. 이로 인해 시스템의 보안 설정이 약화될 수 있습니다.

🇺🇸 원문 (English)

Composer is a dependency Manager for the PHP language. From 1.0 until 2.2.30 and from 2.3.0 until 2.10.3, a malicious or compromised dependency can bypass the earlier CVE-2026-59946 binary-path hardening because Composer validates literal parent-directory segments only during dependency resolution, while the symlink and installed-metadata paths described by the advisory skip that validation. A package can ship an in-package binary symlink that resolves outside its installation directory, or attacker-influenced vendor/composer/installed.json metadata can provide an escaping binary path during a reinstall or regeneration of missing vendor/bin entries. The installed-metadata path is reachable only when the vendor directory was not populated by the same validated install run, such as when it is restored from an untrusted cache, copied from an earlier build stage, carried over from an older Composer run, or writable by a lower-trust build step. Composer can follow the path, change the external target's permissions to make it world-readable and executable, and create a runnable vendor/bin proxy to that external file. The issue does not directly read or transmit data and does not by itself provide remote code execution. This issue is fixed in versions 2.2.30 and 2.10.3.

📍 영향받는 시스템

Composer 1.0 ~ 2.2.30 미만 및 2.3.0 ~ 2.10.3 미만 버전

⚔️ 공격 벡터

악성 심볼릭 링크 또는 조작된 vendor/composer/installed.json 메타데이터를 통한 경로 우회

🛡️ 대응 방법

Composer를 최신 보안 패치 버전인 2.2.30 또는 2.10.3 이상으로 업데이트하십시오.

🔧 검증 코드

출력 결과에 버전 번호가 나타나면 취약한 버전이 설치되어 있는 것이며, 아무것도 출력되지 않으면 안전한 버전입니다.

Shell / Script
composer --version | grep -E '2(\.[0-9]+)*' | grep -vE '2.2.30|2.10.3'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP