점검 대응높음KEV 미등록

CVE-2026-40176

composer composer, Red Hat Hardened Images 취약점

대응 우선순위
점검
CVSS
7.8
EPSS
1.06%
백분위 60.6% · 2026.07.03 기준
CISA KEV
미등록
조치 기한
-
공개일
2026.04.16

점검 대응 판단

CVSS 위험도가 높아 영향 여부를 우선 점검할 취약점

실제 악용미확인
EPSS1.06%
EPSS 백분위60.6%

설명

Composer is a dependency manager for PHP. Versions 1.0 through 2.2.26 and 2.3 through 2.9.5 contain a command injection vulnerability in the Perforce::generateP4Command() method, which constructs shell commands by interpolating user-supplied Perforce connection parameters (port, user, client) without proper escaping. An attacker can inject arbitrary commands through these values in a malicious composer.json declaring a Perforce VCS repository, leading to command execution in the context of the user running Composer, even if Perforce is not installed. VCS repositories are only loaded from th...

영향 제품·버전

제품 composer composer, Red Hat Hardened Images

영향 버전 composer composer, Red Hat Hardened Images >= 2.3, < 2.9.6, >= 1.0, < 2.2.27, >= 1.0.0 <= 2.2.26, >= 2.3.0 <= 2.9.5

수정 버전 composer composer, Red Hat Hardened Images · 수정 버전은 공급사 공식자료 확인 필요

조치 방법

확인방법, 조치방안, 조치 후 확인사항만 짧게 제공합니다.

전체 실무 가이드
해당사항 확인방법

composer composer, Red Hat Hardened Images의 현재 전체 버전이 공식 영향 범위(composer composer, Red Hat Hardened Images >= 2.3, < 2.9.6, >= 1.0, < 2.2.27, >= 1.0.0 <= 2.2.26, >= 2.3.0 <= 2.9.5)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.

조치방안

공급사 패치를 적용하고, 자체 개발 영역이면 셸 호출을 제거하거나 고정된 허용목록 인수만 전달하도록 수정합니다.

조치 후 확인사항

패치 후 같은 명령으로 전체 버전을 다시 확인해 composer composer, Red Hat Hardened Images · 수정 버전은 공급사 공식자료 확인 필요 기준을 충족하는지 확인합니다. 이어서 명령어·코드 인젝션 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.

확인·조치·완료 확인선택한 OS 기준으로 해당 CVE 확인 명령, 조치 명령, 조치 후 확인 명령만 표시합니다.
취약점 조치방법 보기 →

기술 정보

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

CWE CWE-20, CWE-78

EPSS 데이터 기준일 2026.07.03

CVE-2026-40176 composer composer, Red Hat Hardened Images 취약점 | 시큐포커스 NOW