CVE-2026-115560
위험도 심각 ASEC 언급 10건
- 우선순위 이 사이트의 참고 점수
- 13.30
- 위험도 CVSS 4.0 · 0~10점
- 9.2
- 악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
- 86.6%
- 공개일 NVD
- 2026-11-19
설명 NVD 원문
Session serializer mismatch can lead to remote code execution. Session upload progress, when enabled, can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, because session.serialize_handler is changed at runtime or differs between applications sharing a session store, bytes inside the key can be passed to the unserializer. A remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain, or to session corruption or denial of service. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
위험도 세부 항목 CVSS 4.0
- 공격 경로
- 네트워크(원격) AV:N
- 공격 난이도
- 높음(어려움) AC:H
- 공격 전제 조건
- 있음 AT:P
- 필요한 권한
- 없음(로그인 불필요) PR:N
- 사용자 행동 필요
- 필요 없음 UI:N
- 정보 유출(기밀성)
- 높음 VC:H
- 데이터 변조(무결성)
- 높음 VI:H
- 서비스 중단(가용성)
- 높음 VA:H
- 연결된 시스템 정보 유출
- 없음 SC:N
- 연결된 시스템 변조
- 없음 SI:N
- 연결된 시스템 중단
- 없음 SA:N
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
조치 방법 28행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| KISA | PHP | 패치(업데이트) | 미배포(차기 정기 업데이트 예정) | KISA-72237 | 영향받는 버전: 제조사 미공개 | |
| KISA | PHP 8.2 | 패치(업데이트) | 8.2.36 이상 | KISA-72318 | 영향받는 버전: 8.2.36 미만 | |
| KISA | PHP 8.3 | 패치(업데이트) | 8.3.37 이상 | KISA-72318 | 영향받는 버전: 8.3.37 미만 | |
| KISA | PHP 8.4 | 패치(업데이트) | 8.4.28 이상 | KISA-72318 | 영향받는 버전: 8.4.28 미만 | |
| KISA | PHP 8.5 | 패치(업데이트) | 8.5.13 이상 | KISA-72318 | 영향받는 버전: 8.5.13 미만 |
Microsoft 조치 (KB 업데이트) 2행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Microsoft | azl3 php 8.3.36-1 on Azure Linux 3.0 | 패치(업데이트) | Release Notes | Release Notes | 보안 업데이트 | |
| Microsoft | azl4 php 8.4.27-7.azl4 on Azure Linux 4.0 | 패치(업데이트) | Release Notes | Release Notes | 보안 업데이트 |
Red Hat 조치 21행
| 출처 | 플랫폼·제품 | 방식 | 패키지 | 수정된 버전 | 권고문RHSA 등 | 내용 |
|---|---|---|---|---|---|---|
| Red Hat | Red Hat (공통) | 완화 조치 | 원문 | See the security bulletin for a detailed mitigation procedure. | ||
| Red Hat | Red Hat Enterprise Linux 6 | 수정판 없음 | php | 원문 | Red Hat 상태: 지원 기간 끝남 | |
| Red Hat | Red Hat Enterprise Linux 7 | 수정판 없음 | php | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 8 | 수정판 없음 | php:7.4/php | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 9 | 수정판 없음 | php | 원문 | Red Hat 상태: 영향 없음 | |
| Red Hat | Red Hat Enterprise Linux 10 | 패치(업데이트) | php | 8.3.37-1.el10_3 | RHSA-2026:102300 | |
| Red Hat | Red Hat Enterprise Linux 10 | 패치(업데이트) | php8.4 | 8.4.28-1.el10_3 | RHSA-2026:100821 | |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 패치(업데이트) | php | 8.3.37-1.el10_0 | RHSA-2026:102934 | |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support | 패치(업데이트) | php | 8.3.37-1.el10_2 | RHSA-2026:102302 | |
| Red Hat | Red Hat Enterprise Linux 10.2 Extended Update Support | 패치(업데이트) | php8.4 | 8.4.28-1.el10_2 | RHSA-2026:101251 | |
| Red Hat | Red Hat Enterprise Linux 8 | 패치(업데이트) | php:8.2-8100020261119180255.f7998665 | RHSA-2026:101276 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | php:8.2-9090020261119181904.9 | RHSA-2026:102261 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | php:8.3-9090020261119185155.9 | RHSA-2026:102226 | ||
| Red Hat | Red Hat Enterprise Linux 9 | 패치(업데이트) | php:8.4-9090020261119185955.9 | RHSA-2026:102255 | ||
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 패치(업데이트) | php:8.2-9040020261120181742.9 | RHSA-2026:102695 | ||
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 패치(업데이트) | php:8.2-9060020261121171142.9 | RHSA-2026:102696 | ||
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 패치(업데이트) | php:8.3-9060020261121170731.9 | RHSA-2026:102684 | ||
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support | 패치(업데이트) | php:8.2-9080020261120141350.9 | RHSA-2026:101253 | ||
| Red Hat | Red Hat Enterprise Linux 9.8 Extended Update Support | 패치(업데이트) | php:8.3-9080020261120133305.9 | RHSA-2026:101252 | ||
| Red Hat | Red Hat Hardened Images | 패치(업데이트) | php-main | 8.5.13-0.1.hum1 | RHSA-2026:101658 | |
| Red Hat | Red Hat OpenShift Dev Spaces 3.31 | 패치(업데이트) | devspaces/udi-rhel9:1795500059 | RHSA-2026:103521 |
살펴볼 장비 초안
분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.
단계별 판정 예시 환경
시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.
출처별 내용 12건
KISA PHP 제품 보안 업데이트 권고 2026-11-19
□ 개요 o The PHP Group은 자사 제품에서 발생하는 취약점을 해결한 보안 업데이트 발표 [1][2][3][4] o 영향을 받는 버전을 사용 중인 사용자는 해결 방안에 따라 최신 버전으로 업데이트 권고 □ 설명 o PHP에서 발생하는 Improper Input Validation, Deserialization of Untrusted Data 취약점(CVE-2026-115560) [1][5] o PHP에서 발생하는 Time-of-check Time-of-use (TOCTOU) Race Condition, Improper Synchronization 취약점(CVE-2026-126714) [1][6] o PHP에서 발생하는 Use After Free, Incomplete Cleanup 취약점(CVE-2026-129182) [1][7] o PHP에서 발생하는 HTTP Request Smuggling, Always-Incorrect Control Flow Implementation 취약점(CVE-2026-129289) [1][8] o PHP에서 발생하는 Use After Free 취약점(CVE-2026-129474) [1][9] o PHP에서 발생하는 Use After Free, Incomplete Cleanup 취약점(CVE-2026-129481) [1][10] o PHP에서 발생하는 Use After Free, Incomplete Cleanup 취약점(CVE-2026-129496) [1][11] o PHP에서 발생하는 Uncontrolled Resource Consumption, Inefficient Algorithmic Complexity 취약점(CVE-2026-127960) [1][12] o PHP에서 발생하는 Cleartext Transmission of Sensitive Information 취약점(CVE-2026-128064) [1][13] o PHP에서 발생하는 Improper Verification of Cryptographic Signature, Algorithm Downgrade 취약점(CVE-2026-128090) [1][14] o PHP에서 발생하는 Use After Free 취약점(CVE-2026-129291) [1][15] o PHP에서 발생하는 Cross-site Scripting 취약점(CVE-2026-129292) [1][16] o PHP에서 발생하는 Integer Overflow or Wraparound, Unchecked Return Value 취약점(CVE-2026-129438) [1][17] o PHP에서 발생하는 Double Free, Use After Free 취약점(CVE-2026-129501) [1][18] o PHP에서 발생하는 Use After Free 취약점(CVE-2026-129506) [1][19] o PHP에서 발생하는 Out-of-bounds Read, Out-of-bounds Write, Use of Out-of-range Pointer Offset 취약점(CVE-2026-129538) [1][20] o PHP에서 발생하는 Out-of-bounds Read, Use of Uninitialized Resource 취약점(CVE-2026-15353) [1][21] o PHP에서 발생하는 Integer Overflow or Wraparound 취약점(CVE-2026-48841) [1][22] □ 영향을 받는 제품 및 해결 방안 취약점 제품명 영향받는 버전 해결 버전 CVE-2026-115560 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-115560 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-115560 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-115560 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-126714 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-126714 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-126714 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-126714 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129182 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129289 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-129289 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129289 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129289 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129474 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129481 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129481 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129481 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129496 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-129496 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129496 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129496 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-127960 PHP 8.2 8.2.28 이상 8.2.36 미만 8.2.36 이상 CVE-2026-127960 PHP 8.3 8.3.18 이상 8.3.37 미만 8.3.37 이상 CVE-2026-127960 PHP 8.4 8.4.5 이상 8.4.28 미만 8.4.28 이상 CVE-2026-127960 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-128064 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-128064 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-128064 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-128064 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-128090 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-128090 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-128090 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-128090 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129291 PHP 8.2 8.2.7 이상 8.2.36 미만 8.2.36 이상 CVE-2026-129291 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129291 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129291 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129292 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-129292 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129292 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129292 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129438 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129501 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129501 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129506 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-129506 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129506 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129506 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-129538 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-129538 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-129538 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-129538 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-15353 PHP 8.2 8.2.36 미만 8.2.36 이상 CVE-2026-15353 PHP 8.3 8.3.37 미만 8.3.37 이상 CVE-2026-15353 PHP 8.4 8.4.28 미만 8.4.28 이상 CVE-2026-15353 PHP 8.5 8.5.13 미만 8.5.13 이상 CVE-2026-48841 PHP 8.5 8.5.13 미만 8.5.13 이상 ※ PHP 8.1 이하 버전은 공식 보안 지원이 종료되어 지원 중인 버전으로 업그레이드 권고 [1] ※ PHP 7.4, 8.0, 8.1 버전은 벤더사별 해결 버전 및 임시 완화 조치가 상이할 수 있으므로, 해당 벤더사의 보안 권고를 확인하여 조치 권고 ※ PHP 8.2는 2026.12.31. 보안 지원 종료 예정이므로 PHP 8.3 이상으로 전환 권고 [4] ※ 하단의 참고 사이트를 확인하여 업데이트 수행 [1][2][3][4] □ 참고사이트 [1] https://www.php.net/archive/2026.php#2026-11-19-4 [2] https://www.php.net/archive/2026.php#2026-11-19-3 [3] https://www.php.net/archive/2026.php#2026-11-19-2 [4] https://www.php.net/archive/2026.php#2026-11-19-1 [5] https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx [6] https://github.com/php/php-src/security/advisories/GHSA-fm2m-fjf5-v3cp [7] https://github.com/php/php-src/security/advisories/GHSA-2fjv-p558-g82m [8] https://github.com/php/php-src/security/advisories/GHSA-qc49-hpvq-g2w6 [9] https://github.com/php/php-src/security/advisories/GHSA-8mjj-2r7p-4hg2 [10] https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7 [11] https://github.com/php/php-src/security/advisories/GHSA-gr4f-wgx5-jpfv [12] https://github.com/php/php-src/security/advisories/GHSA-mmf9-xm3v-hg2x [13] https://github.com/php/php-src/security/advisories/GHSA-f6gg-rchx-xw8j [14] https://github.com/php/php-src/security/advisories/GHSA-68fq-fh7h-f8gr [15] https://github.com/php/php-src/security/advisories/GHSA-jm4m-qfqx-967m [16] https://github.com/php/php-src/security/advisories/GHSA-3mg3-cr28-46gc [17] https://github.com/php/php-src/security/advisories/GHSA-mg3p-mxj9-g2mm [18] https://github.com/php/php-src/security/advisories/GHSA-x8r7-mg3g-74hg [19] https://github.com/php/php-src/security/advisories/GHSA-4646-p932-gw34 [20] https://github.com/php/php-src/security/advisories/GHSA-5j3f-64r7-f564 [21] https://github.com/php/php-src/security/advisories/GHSA-q23r-hr55-xmpg [22] https://github.com/uriparser/uriparser/blob/uriparser-1.0.3/ChangeLog □ 문의사항 o 한국인터넷진흥원 사이버민원센터 : 국번없이 118 □ 작성 : 디지털위협대응본부 취약점관리센터
KISA PHP 신규 취약점(CVE-2026-115560) 임시 조치 권고 2026-10-24
□ 개요 o PHP 개발팀은 자사 제품에서 발생하는 원격 코드 실행 취약점에 대한 임시 조치 방안 발표 [1] o 해당 취약점은 보안 업데이트가 배포되지 않은 상태로, 영향을 받는 설정을 사용 중인 사용자는 해결 방안에 따라 임시 조치 적용 권고 ※ 영향받는 버전 및 보안 업데이트 등 추가 정보 공개 시 본 공지 내용 업데이트 예정 □ 설명 o PHP 세션 처리 과정에서 발생하는 원격 코드 실행 취약점(CVE-2026-115560) [1][2] □ 영향을 받는 제품 및 해결 방안 취약점 제품명 영향받는 버전 해결 버전 CVE-2026-115560 PHP 제조사 미공개 미배포(차기 정기 업데이트 예정) ※ 다음 조건을 모두 충족하는 경우에만 영향을 받음 [1] ※ 제조사에서 영향받는 버전 및 해결버전 공개 시 업데이트 예정 o 설정 파일에서 session.serialize_handler를 php_binary 또는 php_serialize로 지정 o session_start() 호출 전 ini_set()으로 해당 값을 php로 변경 o session.upload_progress.enabled 활성화(기본값) ※ 보안 업데이트 배포 전까지 php.ini, PHP-FPM pool 설정 등에서 session.upload_progress.enabled=0 설정 후 모든 PHP 워커 재시작 [1] ※ 10.21. 배포된 보안 업데이트(8.5.12, 8.4.27, 8.3.36, 8.2.35)로는 해결되지 않으며, PHP2Shell(CVE-2026-109619) 임시 조치로 위 설정을 이미 적용한 경우 추가 조치 불필요 □ 참고사이트 [1] https://www.php.net/archive/2026.php#2026-10-23-1 [2] https://nvd.nist.gov/vuln/detail/CVE-2026-115560 □ 작성 : 디지털위협대응본부 취약점관리센터
ASEC PHP2Shell 발표된 지 얼마나 됐다고 또 PHP 취약점이? 2026-11-20
바쁘신 분들을 위한 세 줄 요약 1. PHP 개발팀이 2026년 11월 19일 치명적 등급 취약점 7건을 고친 보안 업데이트를 배포했으며, 아직 실제 공격에 악용된 사례는 보고되지 않았다. 2. 이 가운데 웹 서버와 PHP-FPM의 연결을 재사용하는 환경의 요청 스머글링, 세션 업로드 진행 기능을 이용한 객체 주입, PHP 8.5의 매직 메서드 메모리 오류는 원격 코드 실행까지 확인되어 가장 위험하다. 3. PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36 이상으로 바로 업그레이드해야 하며, 공식 패치가 없는 8.1 이하는 지원 버전으로 옮겨야 하고, 당장 업그레이드가 어렵다면 연결 재사용과 업로드 진행 기능을 끄는 등의 임시 완화 조치를 적용해야 한다. 읽기 전, 이해를 위한 용어 정리 본 글에는 웹 서버와 PHP 내부 동작에 관한 용어가 자주 나온다. 본문을 읽기 전에 아래 용어를 먼저 짚어 두면 흐름을 따라가기 쉽다. PHP-FPM : 웹 서버가 받은 요청 가운데 PHP 코드 실행이 필요한 요청을 넘겨받아 처리하는 별도 프로그램이다. nginx나 Apache 같은 웹 서버와 PHP-FPM은 FastCGI라는 정해진 형식으로 대화한다. 워커 : PHP-FPM이 미리 띄워 두는 작업 프로세스로, 워커 하나가 여러 요청을 차례로 처리한다. 그래서 앞 요청이 남긴 흔적이 같은 워커가 처리하는 다음 요청에 영향을 줄 수 있다. 세션 : 로그인 상태처럼 사용자별 정보를 서버에 잠시 저장해 두는 기능이다. 사용자는 세션 ID라는 번호표를 갖고 있고, PHP는 기본적으로 세션을 서버의 파일로 저장한다. 직렬화와 역직렬화 : 프로그램 안의 데이터를 저장하기 좋은 글자로 바꾸는 것을 직렬화, 그 글자를 다시 데이터로 되돌리는 것을 역직렬화라고 한다. 이때 되돌려지는 데이터에는 숫자나 글자 같은 단순한 값뿐 아니라, 만들어지거나 사라질 때 정해진 코드가 자동으로 실행되는 ‘객체’도 포함될 수 있다. 공격자가 만든 글자가 역직렬화되면서 객체로 되살아나는 것을 객체 주입이라고 한다. Use-After-Free : 프로그램이 다 썼다고 반납한 메모리를 실수로 다시 사용하는 오류다. 그 자리에 다른 데이터가 들어와 있으면 프로그램이 엉뚱하게 동작하거나 멈추고, 공격자가 그 자리에 원하는 데이터를 미리 넣어 둘 수 있으면 코드 실행까지 이어질 수 있다. 개요 한국 시간으로 2026년 11월 19일 오후 11시경, PHP 개발팀은 지원 중인 모든 버전에 보안 업데이트를 배포했다. 패치가 적용된 버전은 PHP 8.5.13, 8.4.28, 8.3.37, 8.2.36이며, 같은 날 나온 8.6.0에도 같은 수정이 들어 있다. PHP 8.5.13 변경 기록에는 모두 18개의 CVE가 실려 있는데, 이 중 1개는 PHP에 함께 묶여 배포되는 URI 처리 라이브러리인 uriparser의 취약점이고 나머지 17개가 PHP 자체의 취약점이다. 그중 7건이 가장 높은 등급인 ‘치명적’ 등급으로 분류되었다. 이번 업데이트는 한 달 전인 10월에 발표했던 원격 코드 실행 취약점 PHP2Shell 이슈 긴급 패치의 연장선에 있다. 이번 7건 가운데 일부는 그때의 수정이 불완전해서 다시 고쳐진 것이고, 일부는 같은 계열의 새로운 문제다. 대부분은 기본 설정이 아닌 특정 설정이나 코드 패턴이 갖춰져야 발생하지만, 일부는 조건만 맞으면 공격자가 서버에서 원하는 코드를 실행할 수 있을 만큼 위험하다. 2026년 11월 19일 기준으로 이 취약점들이 실제 공격에 악용된 사례는 보고되지 않았다. 미국 사이버보안·인프라보안청인 CISA가 관리하는 ‘실제 악용된 취약점 목록’에도 아직 오르지 않았다. 본 글에서는 ‘치명적’ 등급으로 분류된 7건의 취약점에 대해서 다루고자 한다. 먼저 각 취약점의 발생 원인에 대해 설명하고, 이어서 각 취약점이 어떤 조건에서 발생하며 공격자가 무엇을 더 갖춰야 실제 피해로 이어지는지 정리한다. 마지막으로 패치와 임시 완화 방법을 소개한다. 취약점 원인 7건의 취약점은 원인에 따라 크게 세 갈래로 나눌 수 있다. 웹 서버와 PHP 사이의 통신 문제 1건: 한 요청이 어디서 끝나고 다음 요청이 어디서 시작하는지를 잘못 구분하는 문제 세션 데이터를 잘못 해석하는 문제 2건: 저장된 세션을 읽는 과정에서 공격자가 넣은 데이터가 프로그램 객체로 바뀌는 문제 이미 반납한 메모리를 다시 사용하는 문제 4건: 보안 분야에서 ‘Use-After-Free’라고 부르는 메모리 오류 각 갈래에 속한 취약점이 어떤 이유로 생겼는지 하나씩 살펴보자. CVE-2026-129289 : PHP-FPM 요청 스머글링 CVE-2026-129289는 PHP-FPM이 앞 요청에서 읽고 남은 내용을 제대로 정리하지 않아, 그 남은 내용을 새로운 요청으로 잘못 받아들이기 때문에 발생한 취약점이다. 웹 서버는 성능을 높이기 위해 요청마다 PHP-FPM과 연결을 새로 맺지 않고 한 번 맺은 연결로 여러 요청을 이어서 보내도록 설정할 수 있는데, 이렇게 연결을 재사용하는 환경에서 문제가 발생한다. PHP 애플리케이션이 요청 본문을 읽는 통로를 열어 놓고 끝까지 읽지 않으면, 본문의 뒷부분이 연결 안에 그대로 남게 된다. 만일 사용자가 일부러 형식이 깨진 파일 업로드 요청을 보내 PHP가 본문 중간에서 읽기를 멈추게 하면 PHP-FPM은 어디까지 읽었는지를 잊어버린 채 남은 뒷부분을 같은 연결로 들어온 새로운 요청처럼 처리해 버린다. 공격자는 이 점을 노려 본문 뒷부분에 요청 형식을 갖춘 가짜 요청을 미리 넣어 두는데, 이 가짜 요청에는 어떤 PHP 파일을 실행할지와 PHP 설정을 어떻게 바꿀지까지 마음대로 적을 수 있다. 웹 서버 입장에서는 정상 요청 하나를 넘겼을 뿐이지만 PHP-FPM은 공격자가 숨겨 둔 요청까지 실행하게 되는 것이다. 이처럼 요청 안에 다른 요청을 몰래 끼워 넣는 공격을 요청 스머글링(Request Smuggling)이라고 부르며 해당 처리 방식은 PHP 5.6.0부터 존재했다. CVE-2026-115560 : 세션 직렬화 방식 불일치 CVE-2026-115560은 세션을 저장하는 쪽과 읽는 쪽이 서로 다른 방식으로 데이터를 해석하기 때문에 발생한 취약점으로, 이 해석 차이로 인해 공격자가 넣은 글자가 프로그램 객체로 활용될 수 있다. PHP는 세션 데이터를 파일 같은 저장소에 글자로 바꿔 저장하는데, 이때 따르는 규칙인 직렬화 방식이 여러 가지 있다. 기본 방식은 세션 항목마다 ‘이름|내용’ 형태로 이름과 내용 사이에 세로선 기호를 넣어 이어 적고, 읽을 때도 세로선이 나오면 그 앞까지를 이름, 그 뒤부터를 내용으로 보고 잘라 읽는다. 반면 다른 방식 중에서는 이름의 글자 수를 함께 적어 두고 그 길이만큼을 이름으로 읽는 방식도 있는데, 이 방식에서는 이름 안에 세로선이 들어 있어도 그저 이름을 이루는 글자 하나로 취급한다. 같은 세션을 쓸 때와 읽을 때 같은 방식을 사용하면 아무 문제가 없지만, 여러 애플리케이션이나 여러 PHP-FPM 풀(Pool)이 하나의 세션 저장소를 함께 쓸 때 문제가 발생할 수 있다. 예를 들어 쓰는 쪽은 글자 수 방식을, 읽는 쪽은 기본 방식을 사용하면 이야기가 달라진다. 쓰는 쪽에서는 이름의 일부에 불과했던 세로선을 읽는 쪽은 ‘여기서 이름이 끝나고 내용이 시작된다’는 표시로 받아들여, 세로선 뒤에 이어지는 이름의 나머지 글자를 세션 내용, 즉 되살려야 할 데이터로 읽어 버리기 때문이다. 물론 위 차이만으로는 공격이 성립하지 않는다. 세션에 무엇을 어떤 이름으로 저장할지는 보통 애플리케이션이 정하므로, 공격자에게는 세션 항목의 이름에 세로선과 원하는 글자를 넣을 방법이 없기 때문이다. 이 빈틈을 열어 주는 것이 파일 업로드 진행 상황을 세션에 기록하는 기능이다. 이 기능은 파일 업로드가 얼마나 진행되었는지를 세션에 새 항목으로 저장하는데, 그 항목의 이름을 ‘업로드 진행 상황’을 뜻하는 정해진 앞부분 뒤에 업로드 요청에 담긴 값을 그대로 이어 붙여 만든다. 게다가 이 저장은 애플리케이션 코드가 실행되기 전에 PHP가 알아서 처리하므로, 로그인하지 않은 공격자도 업로드 요청 하나만 보내면 세션 항목의 이름을 원하는 글자로 채울 수 있다. 공격자는 바로 이 이름에 세로선 기호와 함께, 되살아났을 때 원하는 동작을 하도록 설계한 객체 데이터를 이어서 넣어 둔다. 쓰는 쪽에서는 이 모두가 조금 이상하게 생긴 항목 이름일 뿐이지만, 읽는 쪽은 세로선 뒤의 글자를 세션 내용으로 보고 그대로 되살린다. 그 결과 세션을 읽는 순간 공격자가 설계한 객체가 되살아나는 객체 주입이 일어난다. 10월 PHP2Shell 취약점 중 하나도 이 업로드 진행 기능과 관련이 있었다. 일부 보안 업체는 그때의 수정이 막지 못한 또 다른 경로라는 이유로 CVE-2026-115560 취약점을 가리켜 ‘세 번째 PHP2Shell’이라고 부르기도 한다. 다만 10월의 두 취약점이 요청이 비정상적으로 끝날 때 생기는 메모리 손상에서 비롯된 것과 달리, 이 취약점은 역직렬화로 인한 객체 주입이라는 점에서 원인 자체는 다르다. 즉 공격이 들어오는 통로와 원격 코드 실행이라는 최종 피해는 같지만, 문제가 생기는 방식은 다르다. CVE-2026-126714 : 일부만 덮어쓴 세션 파일 PHP는 세션 파일을 경우에 따라 기존 내용을 지우지 않고 덮어쓰는 방식으로 저장하는데, 덮어쓰던 중에 작업이 강제로 끊기면 새 내용과 이전 내용이 뒤섞여 남고 그 뒤섞인 내용이 프로그램 객체로 해석될 수 있다. 이로 인해 발생한 취약점이 바로 CVE-2026-126714이다. PHP는 세션을 기본적으로 파일에 저장하는데, 새 데이터가 기존 파일보다 짧으면 파일을 먼저 비운 뒤에 쓴다. 그러나 길이가 같거나 더 길 경우에는 어차피 새 데이터가 기존 내용을 모두 덮는다고 보고 파일을 비우지 않은 채 맨 앞에서부터 바로 덮어쓴다. 평소에는 이 방식으로도 문제가 없지만, 덮어쓰는 도중에 프로세스가 강제로 종료되면 파일에 새 데이터의 앞부분과 이전 데이터의 뒷부분이 섞여 남는다. 이렇게 섞인 파일을 다음 요청에서 읽으면 새 데이터와 이전 데이터가 이어진 부분이 직렬화된 객체처럼 해석될 수 있고, 공격자가 두 데이터를 미리 설계해 두면 원하는 객체를 만들어 낼 수 있으므로 결과적으로 앞에서 설명했던 CVE-2026-115560처럼 객체 주입으로 이어진다. 다만 쓰는 쪽과 읽는 쪽이 같은 기본 직렬화 방식을 써도 발생한다는 점이 CVE-2026-115560과 다른 점이다. CVE-2026-129496 : 시간대 캐시의 Use-After-Free 이제부터 소개할 네 건은 모두 이미 반납한 메모리를 다시 사용하여 문제가 발생하는 Use-After-Free 계열 취약점이다. CVE-2026-129496은 PHP가 시작할 때 잠깐 쓰고 반납한 시간대 정보의 위치를 지우지 않고 남겨 두는 바람에 발생한 취약점으로, PHP는 나중에 요청을 처리하면서 그 정보가 아직 그 자리에 있는 줄 알고 이미 반납된 메모리를 다시 읽게 된다. PHP는 날짜와 시간을 다룰 때마다 시간대 정보를 새로 찾지 않도록 한 번 찾은 정보를 메모리에 저장해 두고 재사용한다. 그런데 PHP 프로세스가 시작되는 동안 경고 메시지가 발생하고, 이 메시지가 파일 기반 오류 로그에 기록되면, 로그에 남길 시각을 만들기 위해 꺼낸 시간대 정보가 시작 단계에서만 쓰는 임시 메모리에 저장된다. 이때 사용된 임시 메모리는 시작이 끝나면 반납된다. 보통은 그 뒤에 이어지는 초기화 과정에서 시간대 정보의 위치를 가리키는 참조를 지우기 때문에 문제가 되지 않는다. 그러나 경고가 기록되는 시점이 그 초기화보다 늦으면 참조가 지워지지 않고 그대로 남는다. 따라서 모든 시작 단계 경고가 문제를 일으키는 것이 아니라 시작 단계 후반에 파일 오류 로그로 기록되는 경고만 해당하며, 이렇게 참조가 남은 상태에서 새로 뜬 워커(프로세스)가 첫 요청을 처리하다가 다시 경고를 남기면 이미 반납된 메모리를 읽게 된다. 이런 시작 단계 경고는 주로 시간대 설정 값을 잘못 적었거나 더 이상 권장되지 않는 세션 설정을 쓸 때 나온다. CVE-2026-129481 : 세션 종료 중 중단으로 인한 Use-After-Free CVE-2026-129481은 세션을 사용하는 웹 요청 하나를 처리하고 마무리할 때, PHP가 세션을 정리하는 작업이 오류로 중간에 멈추면 지웠어야 할 메모리 위치 정보가 그대로 남기 때문에 발생한 취약점이다. 로그인한 사용자가 페이지를 여는 것처럼 세션을 쓰는 요청이라면 어떤 요청이든 마지막에는 이 정리 작업을 거친다. 세션을 시작하면 PHP는 현재 실행 중인 스크립트 파일 이름을 요청용 메모리에 기록하고 그 위치를 내부 변수에 적어 둔다. 이 내부 변수는 요청이 끝나 세션을 정리할 때 마지막 단계에서 지워진다. 그런데 그보다 앞서 PHP는 세션에 들어 있던 값을 하나씩 없애는데, 이 과정에서 PHP 자체가 아니라 웹 서비스 개발자가 작성한 PHP 코드가 실행될 수 있다. 세션에는 숫자나 글자 같은 단순한 값뿐 아니라 개발자가 만든 객체도 넣을 수 있고, 객체는 없어질 때 스스로 뒷정리를 하도록 만들어지는 경우가 많기 때문이다. 이 뒷정리 코드는 서비스 개발자가 작성한 것이므로, PHP가 세션 값을 없애는 순간 개발자의 코드가 함께 실행되는 셈이다. 예를 들어 개발자가 직접 만든 파일 입출력 통로를 세션에 넣어 두었다면, 이 단계에서 그 통로를 닫는 코드가 실행된다. 만약 그 코드에서 실행을 즉시 멈추게 하는 치명적 오류가 나면 내부 변수를 지우기 전에 정리가 중단되고, 그 사이 요청용 메모리는 통째로 반납되므로 내부 변수는 이미 사라진 메모리 위치를 가리키게 된다. 이 잘못된 위치 정보는 같은 워커가 처리하는 다음 요청에서 사용되며, 그 요청이 다른 사용자의 것이어도 상관없다. 이 취약점은 10월에 발견되었던 CVE-2026-109619의 수정이 불완전해서 남은 문제로, PHP 8.3부터 영향을 받는다. CVE-2026-129182 : 오류 호출 경로 기록의 재생성으로 인한 Use-After-Free, PHP 8.5에만 해당 CVE-2026-129182는 PHP 8.5에서 요청이 끝날 때 지운 오류 기록이 뒤이은 정리 과정에서 다시 만들어지는 경우를 고려하지 않았기 때문에 발생한 취약점으로, 다시 만들어진 기록이 곧 반납될 메모리를 가리킨 채 다음 요청까지 남는다. 프로그램에서 오류가 나면 그 지점에 이르기까지 어떤 함수가 어떤 함수를 차례로 불렀는지를 거슬러 올라가며 적은 기록을 남길 수 있다. 예를 들어 주문 처리 함수가 결제 함수를 부르고 결제 함수가 카드 확인 함수를 부른 뒤 거기서 오류가 났다면 이 순서가 기록에 남는데, 단순하게 표현하자면 “호출 경로 기록”이라고 볼 수 있다. PHP 8.5부터는 치명적 오류가 나면 이 호출 경로 기록을 함께 남기며, 기본 설정 값은 켜져 있는 상태다. 호출 경로 기록은 요청용 메모리를 사용해 만들어지기 때문에, 10월에 나온 8.5.12 패치는 요청이 끝날 때 이 기록을 지우도록 했다. 하지만 패치는 기록을 지운 뒤에 이어지는 마무리 단계에서 다시 치명적 오류가 발생할 경우에 기록이 또 만들어진다는 것을 놓쳤다. 그렇다면 마무리 단계에서는 왜 오류가 날 수 있을까? PHP는 서버 전체에 적용되는 기본 설정과 별도로, 특정 폴더나 경로에만 다른 설정을 적용할 수 있다. 이렇게 경로별 설정을 쓰면 PHP는 그 경로의 요청을 처리하는 동안만 설정을 바꿔 두었다가, 요청이 끝나면 다음 요청을 위해 서버 전체 설정으로 되돌려 놓는다. 그런데 메모리 한도나 출력 압축 같은 일부 설정은 조합에 따라 이렇게 되돌리는 과정에서 치명적 오류가 날 수 있다. 서버 전체와 특정 경로의 메모리 한도를 서로 다르게 정해 두었거나, 서버 전체에서는 출력 압축을 켜 두고 특정 경로에서는 끈 경우가 그 예다. 이 오류로 다시 만들어진 기록은 곧 반납될 요청용 메모리를 가리키는 채로 남아, 같은 워커가 처리하는 다음 요청에서 사용된다. CVE-2026-129474 : 매직 메서드의 오류 호출 경로 기록 Use-After-Free, PHP 8.5에만 해당 CVE-2026-129474는 PHP 8.5에서 매직 메서드가 호출을 대신 받아 실제 처리 기능에 전달하는 순간에 치명적 오류가 나면, 이미 반납된 메모리를 가리키는 값이 오류 기록에 그대로 담기기 때문에 발생한 취약점이다. 매직 메서드란 프로그램이 존재하지 않는 메서드를 호출했을 때 PHP가 대신 불러 주는 특수한 메서드다. 예를 들어 로그 기록 도구에 ‘경고 남기기’라는 메서드가 따로 없더라도, 프로그램이 이 이름으로 호출하면 매직 메서드가 그 호출을 대신 받아 실제로 기록을 처리하는 기능에 전달해 줄 수 있다. 즉 프로그램이 부른 이름과 실제로 일을 하는 기능 사이에서 중간 다리 역할을 하는 것이다. 그래서 로그 기록 도구나 데이터베이스 라이브러리, Laravel의 파사드 기능처럼 받은 호출을 실제 처리 기능으로 넘겨주는 코드에서 많이 쓰인다. 매직 메서드로 호출을 넘기는 짧은 순간에 치명적 오류가 나면 앞에서 설명한 호출 경로 기록이 만들어지는데, 이때 각 함수에 어떤 값이 전달되었는지도 함께 적힌다. 문제는 바로 그 순간 기록되는 값 가운데 일부가 이미 반납된 메모리 자리를 가리키고 있을 수 있다는 점이다. 공격자는 보내는 요청의 크기를 조절해서 PHP가 정확히 이 순간에 메모리 한도를 넘겨 치명적 오류를 일으키도록 만든다. 이후 반납된 그 자리에 다른 데이터가 들어오면 PHP는 기록을 읽으면서 원래 값 대신 새로 들어온 데이터를 사용하게 되므로, 공격자는 그 자리에 원하는 데이터를 채워 넣는 방식으로 이를 악용할 수 있다. 다만 호출 경로 기록에는 어떤 함수를 거쳤는지만 적을 수도 있고, 각 함수에 어떤 값이 전달되었는지까지 함께 적을 수도 있으며, 둘 중 어느 쪽으로 할지는 설정으로 정한다. 이 취약점은 전달된 값까지 적도록 설정된 경우에만 발생한다. 전달된 값을 적지 않으면 반납된 메모리를 가리키는 값이 기록에 들어갈 일도 없기 때문이다. 트리거 조건과 악용 조건 취약점이 있다고 해서 곧바로 공격에 성공하는 것은 아니다. 여기서는 두 단계로 나눠서 본다. 트리거 조건 : 버그가 실제로 발생하려면 서버 설정, 애플리케이션 코드, 요청 순서가 어떻게 갖춰져야 하는가 악용 조건 : 버그가 발생한 뒤, 공격자가 그것을 코드 실행 같은 실제 피해로 이어 가려면 무엇이 더 필요한가 CVE 수정 지원 계열 공격 위치 트리거 조건 악용 조건 확인된 최대 피해 CVE-2026-129289 FPM 요청 스머글링 8.2~8.5 원격, 로그인 불필요 FastCGI 연결 재사용 설정 + 요청 본문을 끝까지 읽지 않는 애플리케이션 경로 + 조작된 업로드 요청 서버에 있는 PHP 파일 경로 하나만 알면 됨 원격 코드 실행 CVE-2026-115560 세션 직렬화 불일치 8.2~8.5 원격 업로드 진행 기능 켜짐 + 세션 저장소를 공유하는 쪽끼리 직렬화 방식이 다름 대상 세션 ID + 애플리케이션 안의 가젯 체인 명령 실행 CVE-2026-126714 세션 파일 일부 덮어쓰기 8.2~8.5 원격, 로그인 불필요 파일 세션 사용 + 기존과 같거나 더 긴 데이터를 덮어쓰는 도중 프로세스 강제 종료 세션 ID 지정 + 원하는 시점에 쓰기 중단 + 섞인 데이터 설계 + PHP 내장 클래스의 메모리 손상 결함 원격 코드 실행 , 원 연구자 보고 기준 CVE-2026-129496 시간대 캐시 UAF 8.2~8.5 원격, 프로세스 다운에 한함 시작 단계 후반의 경고가 파일 오류 로그에 기록됨 + 새 워커의 첫 요청에서 경고 발생 코드 실행에는 메모리 주소 파악 + 메모리 배치 조작 + 실행 환경별 추가 설정 필요 원격 요청으로 프로세스 다운, 메모리 주소를 아는 실험 환경에서 코드 실행 CVE-2026-129481 세션 종료 UAF 8.3~8.5 원격, 앱 구조에 따라 다름 세션 정리 중 호출되는 코드에서 치명적 오류 발생 다음 요청이 같은 워커로 가야 함 Use-After-Free 재현, 프로세스 다운은 가능한 영향으로 언급 CVE-2026-129182 호출 경로 기록 재생성 UAF 8.5 원격, 특수 설정 필요 정리 단계 설정 복원 실패 + 다음 요청 초반의 경고, FPM에서는 웹 서버가 PHP 설정값을 넘기는 구성 필요 코드 실행 방법과 그 조건은 공개되지 않음 프로세스 다운, 코드 실행은 시연되지 않음 CVE-2026-129474 매직 메서드 UAF 8.5 원격, 시연된 경로는 로그인 불필요 함수에 전달된 값까지 기록하는 설정 + 매직 메서드 진입 중 메모리 한도 초과 요청 크기 조절 + 메모리 주소 파악 원격 코드 실행 [표 1] Critical 취약점 7건에 대한 조사 내역 표의 두 번째 열은 결함의 전체 영향 범위가 아니라, 이번에 공식 수정이 제공된 지원 계열을 나타낸다. 결함 자체는 이보다 훨씬 오래전부터 존재한 경우가 많다. CVE-2026-129289는 PHP 5.6.0부터, CVE-2026-115560은 5.4.0부터, CVE-2026-126714는 4.1.0부터 같은 동작이 있었으므로, 지원이 끝난 오래된 버전도 영향을 받을 수 있다. 표에서 보듯이 위험도는 취약점마다 크게 다르다. 아래에서 하나씩 자세히 설명한다. CVE-2026-129289 : 설정만 맞으면 가장 쉽게 악용되는 취약점 트리거 조건 웹 서버가 PHP-FPM과의 연결을 끊지 않고 재사용하도록 설정되어 있어야 한다. nginx, Apache, HAProxy 모두 이런 연결 유지 기능을 켤 수 있으며, 그 기능을 켜 둔 경우가 여기에 해당한다. 여기에 애플리케이션이 요청 본문을 열어 놓고 끝까지 읽지 않는 경로가 있어야 하고, 공격자가 그 경로로 형식을 조작한 업로드 요청을 보내야 한다. 라우팅이나 인증 전에 입력 통로부터 열어 두는 프레임워크라면, 본문을 사용하지 않는 페이지에서도 이 조건이 갖춰질 수 있다. 반대로 요청마다 연결을 닫는 일반적인 nginx와 Apache 구성은 영향을 받지 않는다. 악용 조건 위 조건이 모두 맞는다면 공격자에게 더 필요한 것은 서버에 실제로 있는 PHP 파일 경로 하나뿐이다. 숨겨 보낸 가짜 요청에서 PHP 설정을 바꿔 요청 본문을 PHP 코드로 먼저 실행하라고 지시하면, 본문에 담은 코드가 그대로 실행된다. 메모리를 정교하게 조작할 필요도, 타이밍을 맞출 필요도 없어서 성공률이 매우 높다. 게다가 이렇게 바뀐 설정은 같은 워커의 다음 요청에도 남을 수 있다. 다만 이렇게 코드 실행까지 이어지는 것은 FastCGI 연결을 재사용하는 경우에 한해 확인된 결과다. LiteSpeed 웹 서버가 PHP와 통신할 때 쓰는 LSAPI에도 읽고 남은 본문을 정리하지 않는 같은 실수가 있다. 하지만 LSAPI는 FastCGI와 다른 통신 형식을 쓰므로 공격 경로도 다르다. 현재까지 LSAPI에서는 요청이 뒤섞이는 현상만 확인되었고, 코드 실행은 입증되지 않았다. CVE-2026-115560 : 흔한 라이브러리만 있어도 위험한 세션 취약점 트리거 조건 파일 업로드 진행 상황을 세션에 기록하는 기능이 켜져 있어야 하고, 같은 세션을 쓰는 쪽과 읽는 쪽이 서로 다른 직렬화 방식을 사용해야 한다. 이런 불일치는 애플리케이션이 세션을 시작하기 직전에 직렬화 방식을 바꾸거나, 직렬화 방식을 서로 다르게 설정한 애플리케이션과 FPM 풀, 가상 호스트가 같은 세션 저장 폴더를 공유할 때 생긴다. FPM 풀을 나누었다고 해서 세션 저장소까지 자동으로 나뉘지는 않는다는 점에 주의해야 한다. 모든 곳이 같은 방식을 쓴다면 이 문제는 생기지 않는다. 악용 조건 공격자는 우선 대상 세션의 ID를 알거나 지정할 수 있어야 한다. 그다음, 세션을 읽는 애플리케이션 안에 가젯 체인이 있어야 한다. 가젯 체인이란 객체가 되살아나거나 사라질 때 자동으로 실행되는 코드 조각들을 이어 붙여 원하는 동작을 만들어 내는 기법이다. 실제로 PHP 패키지 관리 도구인 Composer로 많이 설치하는 Guzzle과 Monolog 라이브러리를 이용해 명령 실행이 시연되었다. 이런 라이브러리는 매우 흔하기 때문에 이 조건은 생각보다 쉽게 충족된다. CVE-2026-126714 : 애플리케이션 코드 없이도 원격 코드 실행이 보고된 취약점 트리거 조건 PHP의 기본 세션 저장 방식인 파일 방식을 써야 하고, 기존 파일과 길이가 같거나 더 긴 데이터를 덮어쓰는 도중에 프로세스가 강제로 종료되어야 한다. 공격자는 업로드 진행 기능이나 세션에 저장되는 긴 사용자 입력을 통해 세션 내용에 영향을 줄 수 있어야 한다. 쓰는 쪽과 읽는 쪽의 직렬화 방식이 달라야 할 필요는 없다. 프로세스를 강제로 종료시키는 방법으로 보안 공지는 멀티스레드로 빌드된 PHP에서 다른 스레드가 메모리 한도를 넘겨 프로세스 전체가 종료되는 경우를 들었다. 이 취약점을 처음 발견한 연구자는 다른 방법도 보고했다. 업로드 요청을 여러 개 붙잡아 두어 웹 서버가 쓸 수 있는 메모리를 한계까지 채운 뒤, 시점을 맞춘 요청으로 세션을 쓰고 있는 워커가 그 한계를 넘게 만들었다. 그러면 운영체제가 메모리 부족을 막기 위해 해당 워커를 강제로 종료한다. 악용 조건 공격자는 먼저 데이터를 써 넣을 세션 ID를 정할 수 있어야 하고, 애플리케이션이 나중에 그 세션 ID로 세션을 읽어야 한다. 연구자의 재현에서는 로그인하지 않은 상태로 업로드 진행 기능을 이용해 공격자가 정한 세션 ID의 파일에 데이터를 썼고, 이후 애플리케이션이 같은 세션 ID로 세션을 시작할 때 섞인 데이터가 읽혔다. 또한 이전 데이터와 새 데이터가 섞였을 때 정확히 원하는 객체가 만들어지도록 배치를 설계해야 하고, 저장이 원하는 지점에서 끊기도록 만들어야 한다. 연구자의 재현에서도 원하는 상태를 얻기까지 약 10회의 시도가 필요했다. 연구자는 이렇게 주입한 객체를 PHP에 기본으로 들어 있는 내장 클래스의 메모리 손상 결함과 결합해 원격 코드 실행을 시연했다고 보고했다. 따라서 애플리케이션에 가젯 체인이 없어도 공격이 가능하다. 다만 결합에 쓴 내장 클래스와 그 결함의 세부 내용은 공개되지 않아 외부에서 검증할 수는 없다. 보안 공지는 이 메커니즘을 설명하면서 원격 코드 실행을 영향으로 기술하고 있다. CVE-2026-129496 : 프로세스 다운은 쉽지만 코드 실행은 어려운 취약점 트리거 조건 일반적인 단일 스레드 빌드 PHP에서, 시작 단계 경고가 PHP의 파일 기반 오류 로그에 기록되어야 한다. 이때 경고는 시간대 정보 참조를 지우는 초기화보다 늦은 시점, 즉 시작 단계 후반에 기록되어야 한다. 경고가 PHP-FPM 자체 로그로만 기록되는 경우는 해당하지 않는다. 그 상태에서 새로 뜬 워커가 첫 요청을 마치기 전에, 요청 초반에 경고를 일으키는 요청이 들어와야 한다. 대표적인 예는 한 요청에 담을 수 있는 입력 변수 개수의 상한을 넘는 요청이다. 워커는 새로 시작되거나 재시작될 때마다 생기므로 이런 기회는 반복해서 생긴다. 악용 조건 이 취약점은 입증된 피해의 범위를 두 가지로 나눠서 봐야 한다. 첫째, 워커를 멈추게 하는 것은 위 조건만으로 가능하다. 보안 공지는 위 조건이 갖춰진 PHP-FPM에서, 입력 변수 개수 상한과 nginx의 헤더 크기 한도를 모두 기본 수준으로 둔 상태로, 조작된 원격 HTTP 요청 하나에 워커가 멈추는 것을 확인했다. 둘째, 코드 실행은 공격자가 서버의 메모리 주소를 이미 알고 있는 실험 환경에서 시연된 결과다. 코드 실행까지 가려면 메모리 주소를 알고 메모리 배치를 원하는 대로 맞춰야 하며, 추가로 필요한 설정은 실행 환경마다 다르다. PHP-FPM에서 보고된 방법은 요청 변수를 필요할 때가 아니라 요청이 시작될 때 미리 만들어 두도록 바꾸는 설정과, 쿠키 값까지 요청 변수에 포함하도록 하는 설정이 필요하고, 기본 한도보다 큰 인증 헤더도 허용해야 한다. Apache mod_php에서 보고된 다른 방법은 이런 설정을 바꾸지 않는 대신, 메모리 한도를 넘는 큰 데이터 전송 요청과 큰 인증 헤더 허용이 필요하다. 운영체제에는 프로그램이 실행될 때마다 메모리 주소를 무작위로 바꿔 공격자가 주소를 예측하기 어렵게 만드는 보호 기능이 있는데, 원격에서 이 보호를 우회하는 방법은 아직 시연되지 않았다. CVE-2026-129481 : 애플리케이션 코드 패턴에 달린 취약점 트리거 조건 세션 정리 중에 호출되는 애플리케이션 코드에서 치명적 오류가 나야 한다. 시연된 환경은 PHP 코드를 미리 해석해 메모리에 저장해 두는 OPcache 기능을 끈 PHP-FPM이었고, 세션에 저장된 스트림 객체의 닫기 함수에서 오류가 나는 경우였다. 해당 스크립트의 파일 이름이 OPcache가 오래 유지하는 메모리에 저장되어 있다면 요청용 메모리가 반납되는 경로를 피할 수 있다. 하지만 OPcache가 켜져 있어도 캐시되지 않은 스크립트가 실행될 수 있으므로, OPcache를 켰다고 해서 이 취약점이 생기지 않는다고 단정할 수는 없다. 보안 공지도 OPcache만으로는 안정적인 대책이 될 수 없다고 설명한다. 악용 조건 다음 요청이 같은 워커로 들어가야 한다. 보안 공지가 재현으로 확인한 것은 이미 반납된 메모리를 다시 사용하는 현상까지다. 워커가 멈추는 것은 이로 인해 생길 수 있는 영향으로 기술되었고, 코드 실행 시연은 언급되지 않았다. CVE-2026-129182 : 특수한 설정 조합이 필요한 취약점 트리거 조건 두 단계가 필요하다. 먼저, 요청이 끝날 때 설정을 원래대로 되돌리다가 치명적 오류가 나야 한다. 예를 들어 메모리 한도 설정을 서버 전체와 특정 경로에 서로 다르게 지정한 경우, 또는 서버 전체에서는 출력 압축을 켜 두고 특정 경로에서는 끈 채 별도의 출력 처리 기능을 지정한 경우다. 다음으로, 같은 워커의 다음 요청이 초기화되기 전에 경고를 일으켜야 한다. Apache mod_php에서는 디렉터리별 설정으로 이 조건이 생길 수 있지만, PHP-FPM에서는 웹 서버가 요청마다 PHP 설정값을 함께 넘겨주도록 구성되어 있고 그 값이 경고를 일으킬 때만 해당한다. 이처럼 위 설정 조합이 이미 서버에 있어야 버그가 발생하므로, 일반적인 구성에서는 해당하는 경우가 많지 않을 것으로 보인다. 악용 조건 현재까지 이 버그로 확인된 것은 메모리 오류와 프로세스 다운까지다. 보안 공지는 10월의 CVE-2026-109619처럼 원격 코드 실행으로 이어질 수 있다고 보지만, 이 취약점의 진입점으로 코드 실행을 시연하지는 않았고 그에 필요한 추가 조건도 공개하지 않았다. CVE-2026-129474 : PHP 8.5에서 원격 코드 실행이 확인된 취약점 트리거 조건 PHP 8.5에서 치명적 오류의 호출 경로 기록 기능이 켜져 있어야 하며, 이 기능의 기본 설정 값은 켜져 있는 상태다. 또한 호출 경로 기록에 함수에 전달된 값까지 남기도록 설정되어 있어야 한다. PHP 자체 기본값은 전달된 값까지 기록하지만, PHP가 운영 환경용으로 권장하는 설정 파일은 전달된 값을 기록하지 않도록 되어 있다. 애플리케이션은 매직 메서드로 호출을 넘기는 구조여야 하며, 그 순간에 치명적 오류가 나야 한다. 시연에서는 JSON 데이터를 받아 매직 메서드로 로그를 남기는 페이지에 요청 크기를 조절해 보내, 로그에 남길 값을 만드는 순간 메모리 한도를 넘기도록 했다. 악용 조건 공격자는 요청 데이터로 메모리 사용 형태를 조절할 수 있어야 하고, 앞에서 설명한 메모리 주소 무작위화 보호가 켜진 환경에서도 쓸 수 있는 메모리 주소를 확보해야 한다. 시도가 실패하면 워커가 멈추거나, 일반적인 리소스 한도 오류로 요청이 끝난다. PHP 파일을 업로드하거나 메서드 이름을 고를 필요는 없다. 보안 공지는 이 방식으로 PHP 8.5에서 원격 코드 실행이 확인되었다고 밝혔다. 이때 로그인 없이 공격할 수 있었던 것은 시연에 쓴 경로에 관한 결과이며, 다른 애플리케이션 경로에서는 로그인이 필요한지 여부가 달라질 수 있다. Laravel의 파사드 기능이나 Magento의 일부 기능이 관련 경로로 언급되었지만, 실제 공격이 가능한지는 입증되지 않았다. 대응 방안 1. 패치 가장 확실한 대책은 사용 중인 버전에 맞는 최신 버전으로 올리는 것이다. 7건 모두에 대한 근본 수정이 이번 패치에 들어 있으며, 사용 중인 계열별로 올려야 할 버전은 아래 표와 같다. 사용 중인 버전 업그레이드 대상 PHP 8.5.x 8.5.13 이상 PHP 8.4.x 8.4.28 이상 PHP 8.3.x 8.3.37 이상 PHP 8.2.x 8.2.36 이상 PHP 8.1 이하 공식 패치 없음 → 지원 버전으로 이전 필요 [표 2] 사용 중인 버전 계열에 맞는 업그레이드 버전 표에서 보듯이 PHP 8.1 이하 버전에는 공식 패치가 제공되지 않는다. 앞서 설명했듯이 일부 결함은 오래된 버전에도 존재하므로, 이런 버전을 쓰고 있다면 지원 중인 계열로 옮기는 것 외에는 근본적인 해결 방법이 없다. 지금 8.2를 쓰고 있는 경우에도 안심하기는 이르다. PHP 8.2는 2026년 12월 31일에 보안 지원이 끝날 예정이므로, 이번에 8.2.36으로 올리더라도 상위 계열로 옮기는 계획을 함께 세워 두는 것이 좋다. 업그레이드 과정에서는 패치가 실제로 반영되었는지도 확인해야 한다. Ubuntu나 RHEL 같은 리눅스 배포판은 버전 번호를 그대로 둔 채 보안 수정만 옮겨 넣는 경우가 있으며, 이를 백포트라고 한다. 따라서 배포판 패키지를 쓴다면 버전 번호만 보고 판단하지 말고, 배포판의 보안 공지에서 해당 CVE가 고쳐졌는지 확인해야 한다. Docker 같은 컨테이너로 운영하는 경우에는 기반 이미지를 새로 받아 다시 빌드해야 패치가 반영된다. 어느 경우든 업그레이드를 마친 뒤에는 PHP-FPM 마스터 프로세스와 모든 워커, 또는 Apache를 반드시 재시작해야 새 버전이 적용된다. 다만 CVE-2026-115560은 패치만으로 끝나지 않는다. 패치는 업로드 진행 기능의 기본값을 꺼진 상태로 바꾸지만, 운영자가 이 기능을 다시 켜 두고 서로 다른 직렬화 방식으로 같은 세션 저장소를 공유하면 같은 불일치가 여전히 생길 수 있다. 따라서 패치를 적용한 뒤에도 아래 완화 방법에서 설명하는 세션 설정 점검을 함께 해야 한다. 2. 완화 방법 당장 업그레이드하기 어렵다면 설정을 바꿔 위험을 줄일 수 있다. 다만 이것은 패치 전까지 버티는 임시 조치다. 또한 바꾼 설정이 어디에 속하느냐에 따라 적용 방법이 다르다. PHP 설정을 바꿨다면 PHP-FPM이나 mod_php를 쓰는 Apache를 재시작해야 하고, nginx나 Apache 같은 웹 서버의 설정을 바꿨다면 해당 웹 서버가 설정을 다시 읽어 들이도록 재적용해야 한다. 아래에서는 앞에서 살펴본 순서를 따라 취약점별 완화 방법을 설명한다. 1) 웹 서버와 PHP-FPM의 연결 재사용 끄기 먼저 PHP-FPM 요청 스머글링 취약점인 CVE-2026-129289는 웹 서버가 PHP-FPM과의 연결을 재사용하지 않도록 하면 막을 수 있다. nginx에서는 fastcgi_keep_conn을, Apache에서는 enablereuse를 꺼서 요청마다 연결을 닫도록 한다. 이 두 설정은 PHP가 아니라 웹 서버의 설정이므로, 바꾼 뒤에는 nginx나 Apache의 설정을 다시 적용해야 한다. 일부 컨테이너 이미지는 연결 재사용이 기본으로 켜져 있으므로, 컨테이너로 운영한다면 이미지에 들어 있는 설정을 직접 확인하는 것이 좋다. 이와 함께 PHP-FPM이 요청을 받는 포트가 외부나 신뢰할 수 없는 네트워크에 노출되지 않았는지도 점검해야 한다. 2) 세션 업로드 진행 기능 끄기 세션 관련 취약점인 CVE-2026-115560과 CVE-2026-126714는 공통적으로 업로드 진행 기능을 공격 경로로 쓴다. 따라서 이 기능을 쓰지 않는다면 session.upload_progress.enabled = 0으로 꺼서, 로그인하지 않은 공격자가 세션에 데이터를 써 넣는 길을 막는 것이 우선이다. 이때 코드 안에서 ini_set()으로 바꾸면 이미 늦기 때문에, php.ini나 FPM 풀 설정, 가상 호스트 설정에서 바꿔야 한다. 3) 세션 직렬화 방식 통일과 세션 저장소 점검 두 세션 취약점은 이 공통 조치 외에 각각 다른 대응이 필요하다. CVE-2026-115560은 직렬화 방식의 불일치에서 생기므로, 세션 저장소를 함께 쓰는 모든 애플리케이션의 session.serialize_handler 값을 같게 맞추거나 저장소를 아예 분리해야 한다. 앞서 설명했듯이 패치 후에도 업로드 진행 기능을 직접 켜 두었다면 이 조치는 계속 필요하다. 반면 CVE-2026-126714는 직렬화 방식이 같아도 발생하므로, 방식을 통일하는 것만으로는 막을 수 없다. 이 취약점에 대해서는 세션에 저장하는 사용자 입력을 최소화하고, 가능하면 저장할 때 레코드를 통째로 교체하는 세션 저장소를 사용하는 편이 낫다. 4) PHP 시작 단계 경고 정리 시간대 캐시 취약점인 CVE-2026-129496은 시작 단계 경고가 파일 오류 로그에 기록될 때 생기므로, 그 경고를 없애는 것이 가장 직접적인 대책이다. 잘못 적은 date.timezone 값이나 더 이상 권장되지 않는 세션 설정처럼 PHP가 시작할 때 오류 로그에 남기는 경고를 모두 정리한 뒤 재시작한다. 경고를 당장 모두 없애기 어렵다면, 오류 로그를 파일 대신 syslog로 보내도록 바꾸는 방법도 있다. 5) 세션 정리 중 치명적 오류 점검 세션 종료 처리 취약점인 CVE-2026-129481은 애플리케이션 코드의 치명적 오류에서 시작되므로, 스트림 닫기 함수처럼 세션 정리 중에 호출되는 코드에서 치명적 오류가 나지 않도록 점검해야 한다. 급한 경우에는 PHP-FPM에서 pm.max_requests=1로 설정해 요청마다 워커를 새로 띄우는 방법도 있다. 잘못된 참조가 다음 요청으로 넘어가기 전에 워커가 사라지기 때문이다. 다만 이 방법은 성능 저하가 크다. 6) PHP 8.5 치명적 오류의 호출 경로 기록 끄기 PHP 8.5에만 해당하는 CVE-2026-129182와 CVE-2026-129474는 모두 치명적 오류의 호출 경로 기록에서 생기므로, 관리자 수준의 설정에서 fatal_error_backtraces = 0으로 바꿔 이 기록 자체를 끄고 모든 워커를 재시작하면 두 취약점을 함께 막을 수 있다. 보안 공지가 CVE-2026-129182에 대해 제시한 임시 완화 방법도 바로 이것이며, 요청 단위 설정으로 이 기능이 다시 켜지지 않도록 해야 한다. 7) 함수에 전달된 값의 기록 제외 호출 경로 기록을 끌 수 없는 환경이라면, CVE-2026-129474에 한해 zend.exception_ignore_args = On으로 설정해 기록에 함수에 전달된 값이 남지 않도록 하는 방법이 있다. 이때 명령줄 실행용 설정만 바꾸면 효과가 없으므로 FPM 풀 설정까지 확인해야 한다. 그러나 이 설정은 기록에서 전달된 값만 뺄 뿐 호출 경로 기록 자체를 막지는 않으므로, CVE-2026-129182의 완화 방법은 되지 못한다. 또한 화면에 오류를 표시하지 않도록 display_errors=0으로 설정하는 것만으로는 두 취약점 모두 막을 수 없다는 점에 주의해야 한다. 결론 이번 PHP 보안 업데이트에서 고쳐진 치명적 취약점 7건은 모두 같은 ‘치명적’ 등급으로 분류되었지만, 실제 위험도는 서로 크게 다르다. 가장 먼저 살펴봐야 할 것은 PHP-FPM 요청 스머글링 취약점인 CVE-2026-129289다. 웹 서버가 PHP-FPM과의 연결을 재사용하도록 설정되어 있고, 애플리케이션에 요청 본문을 끝까지 읽지 않는 경로가 있다면, 공격자는 조작한 업로드 요청 한 번으로 메모리 조작 없이 원격 코드 실행을 할 수 있기 때문이다. 세션 직렬화 불일치 취약점인 CVE-2026-115560도 우선적으로 살펴 볼 만하다. Guzzle이나 Monolog처럼 흔한 라이브러리만으로도 명령 실행이 시연되었으므로, 업로드 진행 기능과 세션 저장소 공유 여부를 꼭 확인해야 한다. PHP 8.5를 운영 중이라면 원격 코드 실행이 확인된 매직 메서드 취약점인 CVE-2026-129474도 우선순위에 올려야 한다. 세션 파일 덮어쓰기 취약점인 CVE-2026-126714도 원 연구자가 애플리케이션 가젯 체인 없이 원격 코드 실행을 시연했다고 보고했다. 다만 프로세스를 원하는 시점에 강제 종료시키기 위해 여러 번 시도해야 하고, 공격에 쓴 내장 클래스 결함의 세부 내용도 아직 공개되지 않았다. 나머지 취약점은 까다로운 설정 조합이 필요하거나, 코드 실행까지 가려면 메모리 주소를 알아내야 해서 상대적으로 공격 난이도가 높다. 하지만 10월 패치가 불완전해서 한 달 만에 다시 고쳐진 사례에서 보듯이, 비슷한 계열의 문제는 앞으로도 계속 나올 수 있다. 따라서 가장 좋은 대응은 단순하다. 지금 바로 최신 버전으로 업그레이드하고, 그 전까지는 위의 완화 설정을 적용하는 것이다. 이번 기회에 FastCGI 연결 설정, 세션 저장소 구성, 시작 단계 경고처럼 평소 눈여겨보지 않던 설정도 함께 점검해 보기를 권한다. 출처 PHP 공식 ChangeLog : https://www.php.net/ChangeLog-8.php php-src 보안 공지, GitHub Security Advisories : https://github.com/php/php-src/security/advisories GHSA-qc49-hpvq-g2w6 : CVE-2026-129289 GHSA-658j-r8rw-q6mx : CVE-2026-115560 GHSA-fm2m-fjf5-v3cp : CVE-2026-126714 GHSA-gr4f-wgx5-jpfv : CVE-2026-129496 GHSA-g3vh-838c-65v7 : CVE-2026-129481 GHSA-2fjv-p558-g82m : CVE-2026-129182 GHSA-8mjj-2r7p-4hg2 : CVE-2026-129474 php[architect], “PHP’s November security release: seven critical fixes, explained” : PHP Security Release Fixes Seven Critical Vulnerabilities | Exploitr depthfirst, CVE-2026-126714 원 연구 : https://depthfirst.com/research/phpaftershell PHP 8.5.12 세션 파일 저장 코드 : https://github.com/php/php-src/blob/php-8.5.12/ext/session/mod_files.c AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.
ASEC PHP 제품 보안 업데이트 권고 2026-11-19
개요 PHP에서 다수의 취약점을 해결한 보안 업데이트를 발표했다. 영향을 받는 버전은 PHP 8.2.0 이상 8.2.36 미만, 8.3.0 이상 8.3.37 미만, 8.4.0 이상 8.4.28 미만, 8.5.0 이상 8.5.13 미만이다. 주요 내용 해결된 취약점에는 PHP 세션 직렬화 방식 불일치로 인한 원격 코드 실행 취약점(CVE-2026-115560), PHP 세션 파일의 부분 덮어쓰기로 인한 원격 코드 실행 취약점(CVE-2026-126714), PHP HTTP 응답 헤더 처리 과정에서 발생하는 서비스 거부 취약점(CVE-2026-127960)이 포함된다. 또한 PHP HTTPS 및 FTPS URL 처리 과정에서 발생하는 평문 정보 노출 취약점(CVE-2026-128064), PHAR 서명 알고리즘 다운그레이드로 인한 서명 검증 우회 취약점(CVE-2026-128090), PHP 오류 역추적 정보 처리 과정에서 발생하는 해제 후 사용 취약점(CVE-2026-129182)도 수정되었다. PHP-FPM(고성능 PHP 실행 환경)에서 발생하는 HTTP 요청 스머글링 취약점(CVE-2026-129289), 해제 후 사용으로 인한 로컬 권한 상승 취약점(CVE-2026-129291), 상태 페이지에서 발생하는 크로스 사이트 스크립팅 취약점(CVE-2026-129292)도 포함된다. 그 밖에 PHP URI 직렬화 처리 과정에서 발생하는 입력값 검증 취약점(CVE-2026-129438), 매직 메서드 오류 역추적 과정에서 발생하는 원격 코드 실행 취약점(CVE-2026-129474), 세션 종료 처리 과정에서 발생하는 해제 후 사용 취약점(CVE-2026-129481), 시간대 캐시 처리 과정에서 발생하는 해제 후 사용으로 인한 원격 코드 실행 취약점(CVE-2026-129496), DOM XML 직렬화 과정에서 발생하는 이중 해제 취약점(CVE-2026-129501), SOAP(웹 서비스 통신 규격)에서 발생하는 해제 후 사용 취약점(CVE-2026-129506), PHP-CGI PATH_INFO 처리 과정에서 발생하는 범위 밖 메모리 읽기 및 쓰기 취약점(CVE-2026-129538), SOAP에서 발생하는 정보 노출 취약점(CVE-2026-15353), uriparser 라이브러리의 URI 쿼리 처리 과정에서 발생하는 정수 오버플로 취약점(CVE-2026-48841)이 해결되었다. 대응 PHP 8.2.36 이상, 8.3.37 이상, 8.4.28 이상, 8.5.13 이상으로 업데이트하면 취약점 패치가 적용된다.
ASEC AI가 찾아낸 약한 고리: 외곽 접점이 무너진 2026년 10월 2026-10-29
AI가 찾아낸 보안의 사각지대 2026년 10월 한국과 일본에서 연이어 공개된 대규모 침해사고는 대부분 내부 핵심 시스템이 아니라 외부에 노출된 웹서비스와 앱 백엔드 API, 위탁 SaaS (메일 발송이나 백업처럼 위탁 업체가 클라우드로 제공하는 서비스)같은 외곽 접점에서 시작됐다. 같은 기간 PHP, Node.js 등 웹 백엔드 런타임 및 GitLab 등 널리 쓰이는 소프트웨어에서 인증 없이 원격 코드 실행이 가능한 취약점이 연이어 공개됐고, ARTEX 등 AI 에이전트가 실제 침해 과정에 쓰였다는 보고도 잇따랐다. 한국에서는 9월 말부터 시중은행을 시작으로 저축은행, 캐피탈, 상호금융, 가상자산사업자, 보험사까지 금융권 연쇄 침해가 이어졌고, 기업용 회계 소프트웨어 업체와 대형 교회, 대학, 프랜차이즈 등 비금융권에서도 유출이 확인됐다. 일본에서도 같은 시기 수백만에서 수천만 건 규모의 개인정보 유출 공표가 이어졌으며, 일본 정부 기관은 공개 앱을 분석해 백엔드 서버를 공격하는 수법을 주요 원인 가운데 하나로 지목했다. 이런 흐름은 두 나라에만 국한되지 않는다. 같은 시기 미국, 유럽, 남미에서도 위탁 서비스와 외부 노출 웹사이트를 거친 침해, AI 에이전트를 이용한 대규모 자동화 공격이 보고됐다. 본 글은 공개된 보도와 각 기관의 발표, 보안 업체의 보고서를 종합해, 사례가 집중적으로 공개된 한국과 일본을 중심으로 이번 사고들의 공통 패턴을 정리하고 같은 패턴이 해외에서도 관측된다는 점을 함께 살펴본다. 이를 바탕으로 기업이 점검해야 할 예방 및 대응 방안을 제시한다. 개별 사고의 원인은 대부분 조사 중이며, 피해 기관은 공개 보도를 기준으로 업종 단위로 표기했다. 한국 금융권 : 연쇄 침해의 시작 국내 금융권 침해는 9월 말 시중은행에서 시작해 한 달 동안 업권 전반으로 확산됐다. 금융당국은 10월 14일 기준 침해사고가 확인된 금융회사를 은행, 저축은행, 캐피탈, 상호금융, 전자금융업, 온라인투자연계금융업, 가상자산사업자 등 16곳으로 집계했으며, 확인된 개인정보 유출 규모는 약 10만 건이었다. 다만 피해 금융회사 수를 고려하면 유출 규모는 상대적으로 제한적인 수준으로 평가되며, 이는 대규모 데이터베이스(DB) 자체가 탈취된 것이 아니라 외부에 노출된 조회 서비스 등의 접점 등을 통해 개별 정보가 조회된 형태의 사고였을 가능성을 시사한다. 이후 10월 26일에는 보험업계에서도 유출이 신고됐다. 주목할 점은 공격 대상이 예금과 이체를 처리하는 은행의 핵심 전산 시스템이 아니었다는 것이다. 공개된 내용을 보면 대출모집인 전용 조회 서비스, 내부 직원용 영업지원시스템, 공제 관련 외부 웹페이지처럼 본 서비스 옆에 붙어 있는 부가 시스템이 침해 경로였다. 구분 침해 지점 공개된 내용 금융기관 A 대출모집인 전용 조회 서비스 정상 인증을 우회한 뒤 조회값을 반복 입력해 약 2만 5천 명의 대출 관련 정보 유출 금융기관 B 직원용 영업지원시스템(ODS) 인터넷, 모바일뱅킹과 분리된 시스템에 비정상 접근, 89명 정보 유출 금융기관 C 공제 관련 외부 웹페이지 공격 후 이틀 뒤에야 피해 사실 인지 [표 1] 한국 금융권 주요 침해 사례와 침해 지점 금융당국이 10월 초 전 금융회사 555곳을 대상으로 실시한 긴급 점검에서는 130곳이 미흡 사항을 보고했다. 주요 미흡 사항은 최신 보안패치 미적용, 기술지원이 끝난 시스템의 관리 부실, 24시간 관제체계 미구축이었다. 공격자가 새로운 기법을 썼다기보다, 관리가 느슨한 외곽 시스템을 빠르게 찾아냈다고 보는 편이 사실에 가깝다. 이번 금융권 공격에서는 AI 자율 침투테스트 도구인 ARTEX의 흔적이 확인됐다. 국내 보안 업계가 공격에 사용된 웹 서버에서 ARTEX 관련 문자열을 처음 발견했고, 크라우드스트라이크는 공격자 서버의 노출된 폴더에서 ARTEX 설정 파일과 AI 코딩 도구의 작업 기록을 확보했다. 공격자는 ARTEX에 DeepSeek, GLM, Grok 등 여러 대규모 언어모델(LLM)을 연결해 사용한 것으로 분석됐다. 다만 공격자의 신원과 국적은 확정되지 않았다. 금융권 밖으로 번진 침해 금융권 밖에서도 같은 시기 유출이 이어졌다. 기업용 회계 소프트웨어 업체, 대형 교회, 커피 프랜차이즈, 대학, 교육청 등 업종은 제각각이었지만, 침해 지점은 역시 직원 VPN 계정, 외부 백업 솔루션, 클라우드에 남은 임시 파일, 포털, 학습용 클라우드 계정처럼 핵심 업무 시스템 바깥의 접점이었다. 구분 침해 지점 공개된 내용 기업용 회계, ERP 소프트웨어 업체 직원 VPN 계정, 외부 백업 솔루션 VPN 계정으로 개발 서버 무단 접속, 백업 솔루션 취약점으로 암호화 데이터 일부 반출 정황 정부가 중대 사고로 판단하고 민관합동조사단 구성 대형 교회 교회 정보시스템 교인 약 85만 명의 이름과 생년월일 등이 포함된 자료 유출 커피 프랜차이즈 클라우드에 남아 있던 임시 데이터 파일 가상자산 채굴 목적의 비정상 접근 과정에서 약 276만 건 유출 과거 서비스 개편용 임시 파일이 원인 대학 포털 서비스 재학생과 졸업생 등 1만여 명의 학번, 연락처, 이메일 유출 교육청 학습용 클라우드 계정 6개 교육청에서 11만여 개 계정 해킹 피해 [표 2] 한국 비금융권 주요 침해 사례와 침해 지점 이 가운데 기업용 회계, ERP 소프트웨어 업체 사례는 위탁 사업자를 거친 공급망 위험을 보여준다. 이 업체의 회계 프로그램은 11만 개 이상 기업이 사용하고 있어, 한 번의 침해가 고객사 임직원의 급여와 납세 정보 등으로 번질 수 있다는 우려가 제기됐다. 다만 실제 유출 범위는 아직 조사 중이다. 커피 프랜차이즈 사례는 과거 서비스 개편을 위해 만든 임시 데이터 파일이 클라우드에 남아 있다가 유출된 경우로, 보존 기간이 지난 데이터를 정리하지 않으면 그 자체가 위험이 된다는 점을 보여준다. 10월 하순에는 생성형 AI를 악용한 해킹 피의자가 국내에서 처음으로 검거됐다. 경찰에 따르면 총책은 IT 비전공자로, 독학으로 기술을 익힌 뒤 보안 업체에서 모의해킹 업무를 수행한 경력이 있었다. 이 조직은 ARTEX와 AI 코딩 에이전트를 결합해 국내 업체 90여 곳에서 개인정보 등 820만여 건을 탈취했고, 특히 8월 말부터 44일 동안 60곳을 공격했다. 경찰은 이 사건과 금융권 사건 사이의 직접적인 연관성은 확인되지 않았다고 밝혔다. 일본에서도 반복된 같은 패턴 일본에서도 같은 시기 대규모 유출 공표가 집중됐다. 일본 보안 업체 마크니카의 집계에 따르면 , 일본 조직의 웹 시스템을 통한 개인정보 유출 공표는 2026년 10월 6일까지 119건으로 2025년 전체 84건과 2024년 62건을 이미 넘어섰고, 그중 81건이 7월 이후에 발생했다. 일본 당국은 원인 가운데 하나로 앱을 통한 백엔드 공격을 지목했다. 일본 정보통신연구기구(NICT)는 10월 13일, 공개된 Android 앱을 분석해 접속 대상 서버와 API 구조를 파악한 뒤 서버 측 취약점을 공격하는 수법을 ‘A2B(App-to-Backend) 공격’으로 명명했다. 주로 노리는 취약점은 SSRF, 원격 코드 실행(RCE), SQL 인젝션, IDOR/BOLA이며, 앱 자체에 결함이 없어도 서버 측 API에 허점이 있으면 유출로 이어진다. JPCERT/CC도 10월 8일 기존 취약점 탐색, 앱 분석을 통한 관리용 API 악용, BI 도구 Metabase의 SQL 인젝션 취약점(CVE-2026-72898) 악용, 웹셸 설치를 주요 공격 유형으로 제시했다. 단, 두 기관 모두 개별 피해 기업을 특정하지 않았으므로 특정 사고를 A2B 공격으로 단정할 수는 없다. 구분 침해 지점 공개된 내용 소프트웨어 판매 회원정보 조회 API API가 4일간 부정 이용돼 비밀번호를 포함한 회원 정보 최대 약 2,252만 건 유출 가능성 대형 할인점 앱, 온라인스토어 서버 서비스를 구성하는 소프트웨어 기능을 부정 이용해 침입, 최대 약 173만 명 정보 유출 SaaS 기업 메일 발송 SaaS의 API 서버 API 서버 2대에서 명령이 실행돼 전체 계약자 정보와 일부 고객의 발송 대상 목록 반출 식품 브랜드 일본 법인 위탁 EC 플랫폼 위탁 업체 서버의 소프트웨어 취약점이 악용돼 약 314만 건 유출 백화점 그룹 예약 사이트 → 고객관리 시스템 예약 사이트를 경유해 고객관리 시스템에 접근, 그룹 공통 ID 회원 거의 전체인 약 126만 건 유출 뉴스 플랫폼 업무용 관리도구 관리도구 취약점으로 최대 32.3만 건 이메일 등 유출 가능성 전자책 서비스 시스템 로그 파일 회원 DB 319건 외에 로그 파일에 남아 있던 정보 최대 약 420만 건 유출 증권사 위탁 FAQ 시스템 문의 관리용 외부 서비스 침해로 약 11만 명 정보 유출 가능성 클라우드 사업자 클라우드 인프라 랜섬웨어 공격으로 지자체와 기업 등 고객사 495곳에 장애 [표 3] 일본 주요 유출 사례와 침해 지점 일본 사례에서도 대부분 핵심 시스템이 아닌 주변 시스템이 출발점이었다. 특히 백화점 그룹 사례는 예약 사이트 하나가 그룹 공통 ID 전체로 이어진 경우이고, 전자책 서비스 사례는 회원 DB를 보호했더라도 로그에 같은 정보가 남아 있으면 유출될 수 있음을 보여준다. ARTEX는 일본에서도 확인됐다. 일본 보안 업체 GMO 사이버시큐리티 by 이에라에는 10월 19일, 국내 기업을 공격한 인프라에서 ARTEX의 사용 흔적을 확인했다고 발표했다. 이 업체가 표적으로 확인한 기업 중 8개 사가 9월과 10월에 정보 유출을 공표했다. 다만 해당 기업명은 공개되지 않았으며, 한국 공격과 같은 행위자의 소행이라는 근거도 없다. 현재로서는 같은 도구가 양국에서 쓰였다는 사실까지만 확인된다. 동시다발로 드러난 치명적 취약점 10월 셋째 주에는 웹과 인프라의 기반 소프트웨어에서 심각한 취약점이 며칠 사이에 연이어 공개됐다. 상당수가 인터넷에 직접 노출되는 구성 요소였다는 점에서, 외곽 접점의 위험을 더 키우는 요인이 됐다. 영역 대상 CVE 영향 조치 웹 런타임 PHP CVE-2026-109618, CVE-2026-109619 (CVSS 9.2) 인증 없는 원격 코드 실행(PHP2Shell) 8.5.12, 8.4.27, 8.3.36, 8.2.35 이상으로 업데이트. 8.1 이하는 지원 버전으로 전환 정식 패치 전까지 session.upload_progress.enabled=0 적용 웹 런타임 PHP CVE-2026-115560 (CVSS미공개) 특정 세션 설정에서 원격 코드 실행 정식 패치 전까지 session.upload_progress.enabled=0 적용 개발 플랫폼 GitLab CE/EE CVE-2026-110264 (CVSS 10.0) 정규식 컴파일러 정수 오버플로로 인증 없는 원격 코드 실행 GitLab 7.0(2014년)부터 영향 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13 이상 서버 런타임 Node.js 22·24·26 CVE-2026-111497 (CVSS 9.2) Brotli 디코더 경계 초과 쓰기로 원격 코드 실행 가능(Node2Shell) 22.23.4, 24.22.1, 26.12.1 이상 DNS Unbound 1.22.0~1.26.1 CVE-2026-97206 (CVSS 7.5) DNS-over-QUIC 사용 시 원격 서비스 거부 1.26.2 이상 또는 DoQ 비활성화 DNS ISC BIND 9 CVE-2026-19630 외 3건 (CVSS 7.5) 서비스 거부, GSS-TSIG 메모리 손상(CVE-2026-94300, 원격 코드 실행 가능성) 9.20.30, 9.21.27 이상 PKI eMudhra 중간 CA 8개 해당 없음 개인 키가 쉽게 복구되는 상태로 생성돼 인증서 위조 가능 브라우저, OS·런타임의 신뢰 저장소 업데이트 PKI Oracle Java JSSE CVE-2026-91403 (CVSS 9.1) eMudhra 관련 중간 CA를 불신 처리하는 Java 업데이트 Java SE, GraalVM 최신 업데이트 적용 파일 공유 Windows SMB Server CVE-2026-96325 (CVSS 7.5) 인증 없는 원격 서비스 거부 10월 정기 보안 업데이트 적용 [표 4] 2026년 10월 주요 취약점 공개 현황 PHP2Shell은 대응 시간이 얼마나 짧아졌는지를 보여준다. 취약점 정보가 패치 배포 전에 외부로 유출됐고, 아마존 위협 인텔리전스는 공식 공개 나흘 전인 10월 17일에 이미 공격 시도를 탐지했다. 국내에서도 정부가 10월 22일 민간 분야 사이버위기 경보를 ‘관심’에서 ‘주의’로 높였다. 따라서 패치를 마친 서버라도 공개 전후 기간의 접속 기록과 웹셸 설치 여부를 함께 점검해야 한다. Oracle Java의 CVE-2026-91403은 코드 결함을 고치는 일반 패치가 아니라, 신뢰가 깨진 eMudhra 중간 CA 인증서를 Java가 더 이상 신뢰하지 않도록 하는 업데이트다. 브라우저가 차단했더라도 Java처럼 자체 신뢰 저장소를 쓰는 런타임과 구형 클라이언트는 별도로 업데이트해야 한다는 점에서, PKI 문제는 서버 패치만으로 끝나지 않는다. 취약점 발견 과정에서도 AI의 역할이 커지고 있다. BIND의 CVE-2026-94300은 OpenAI 소속 연구자가 제보했고, Node.js 공식 공지는 CVE-2026-111497을 OpenAI Codex Security의 성과로 기록했다. 이는 방어 측의 정상적인 취약점 연구이지만, 같은 능력이 공격 측에도 쓰일 수 있다는 점에서 패치 주기는 앞으로 더 짧아질 가능성이 높다. Agentic AI 공격: 실험에서 실전으로 AI 에이전트가 정찰, 취약점 탐색, 침투, 웹셸 설치를 스스로 이어서 수행하는 공격이 실제 침해 사례로 확인되기 시작했다. 10월에 공개된 주요 보고는 다음과 같다 보고 주체 도구 공개된 내용 CrowdStrike (10월 7일) ARTEX 한국 금융기관 공격자 서버에서 AI 코딩 도구 작업 기록과 ARTEX 설정 파일 확인 DeepSeek, GLM, Grok 사용 정황 AhnLab ASEC (10월 15일) ARTEX 및 변종 인터넷에 노출된 ARTEX 운영 시스템 IP 600개를 추적했고, 10월 14일 기준 900개 이상으로 증가 일부 호스트의 오픈 디렉터리에서 웹셸 명령 전송, 내부 RDP 중계, 내부망 스캔 결과 등 공격 운영 자료 51개 확보 원본 저장소 삭제 이후 이름과 UI를 바꾼 재배포본과 한국어 현지화 흔적도 확인 NorForge, Reuters (10월 19일) Cairn 노출된 Cairn 관리 화면을 조사한 결과 최대 클러스터에서 1,100개 이상의 공격 프로젝트 확인 1,200개 이상의 사이트를 공격해 100개 이상 기업 웹사이트 침해. 토큰 비용은 총 약 5,000달러 GMO 이에라에 (10월 19일) ARTEX 일본 기업 공격 인프라에서 ARTEX 사용 확인 Microsoft (10월 21일) ARTEX 중국 연계 그룹 Storm-0940이 ARTEX로 전 세계 수백 개 조직을 공격 미국 IT 관리 서비스 기업의 클라우드 백업 앱 신원을 악용해 2,250개 이상의 Microsoft 365 테넌트에 로그인을 시도했고, 일부는 최초 표적화 후 3시간 이내에 클라우드 특권 접근 획득 CrowdStrike (10월 21일) 다양한 하네스 5~8월 관측된 신규 위협 행위자 4곳 공개 아르헨티나 의료기관 최소 15곳 침해 사례 포함 4곳 모두 상용 AI의 안전 장치를 우회 [표 5] Agentic AI 기반 실제 침해 보고 사례 자사는 ARTEX를 별도 테스트 환경에서 재현해 자율 침투가 어디까지 가능한지도 확인했다. 보안 지식이 없는 사용자도 입력할 수 있는 수준인 ‘공격 대상에 침투해줘’ 정도의 짧은 지시만 전달했지만, ARTEX는 사람의 중간 개입 없이 웹 서버의 파일 업로드 기능을 찾아 웹셸로 프로그램을 실행했다. Apache ActiveMQ가 노출된 환경에서는 알려진 취약점(CVE-2023-46604)으로 초기 접근한 뒤 내부 호스트 네 대에서 원격 명령을 실행하는 단계까지 도달했다. 두 실험 모두 새로운 기법이 아니라 외부에 공개된 서비스의 취약점과 잘못된 설정을 이용했다는 점에서, 외곽 접점이 AI 에이전트의 첫 번째 표적이 된다는 본 글의 진단과 일치한다. 또한 원본 GitHub 저장소가 사라진 뒤에도 ARTEX는 여러 운영자에 의해 이름과 화면을 바꾼 채 재사용되고 있다. 자사가 확인한 재배포본에는 DeepSeek, GLM, Kimi, Claude 등 여러 LLM 설정과 함께, 인증 없이 악용 가능한 전자상거래 플랫폼 취약점(CVE-2026-75650)의 공개 PoC를 실행하고 IRC 기반 원격 제어 코드를 심은 흔적이 남아 있었다. 개발자가 공개를 중단해도 도구의 확산은 멈추지 않는다는 뜻이다. 이 보고들에서 드러나는 변화는 공격의 경제성이다. Cairn 사례의 운영자는 100자도 안 되는 중국어 지시문만 입력했고, 이후 에이전트가 사람의 감독 없이 사이트마다 코드 실행 방법을 찾아 웹셸을 설치했다. 취약점 탐색, 공격 경로 시험, 페이로드 수정, 실패 후 재시도처럼 숙련된 인력이 필요했던 반복 작업이 이제 몇 시간씩 쉬지 않고 일하는 에이전트에게 맡겨지고 있다. 오픈 웨이트 AI 모델과 무료로 공개된 에이전트 프레임워크를 손쉽게 결합할 수 있게 되면서, 한때 고급 기술이 있어야 가능했던 사이버 공격은 이제 누구나 실행할 수 있는 수준으로 내려왔다. 국내에서 검거된 비전공자 해커 사례가 이를 보여주며, 이런 작전을 실행하는 비용도 그만큼 빠르게 낮아지고 있다. Microsoft 사례는 이 공격이 어디로 향하는지도 보여준다. Storm-0940의 비밀번호 대입 공격은 분당 최대 2,900회의 로그인 실패를 일으켰지만 한 건도 성공하지 못했다. 실제 침투는 고객이 이미 권한을 허용해 둔 위탁 서비스의 앱 신원을 통해 이뤄졌다. 정면의 인증은 버텼지만, 신뢰받는 외부 연결이 뚫린 것이다. ARTEX와 같은 도구가 국내 금융권 사고에 실제로 어디까지 관여했는지는 아직 조사 중이다. 다만 공개된 보고만으로도 AI 에이전트를 이용한 공격이 가설 단계를 지나 실제 침해에 쓰이고 있다는 점은 분명하며, 공개된 사례는 전체 가운데 일부일 가능성이 높다. 공통 패턴: 뚫린 곳은 외곽 접점이었다 한국과 일본의 사례를 나란히 놓으면 패턴이 거의 같다. 방어가 집중된 내부 핵심 시스템이 아니라, 외부 노출된 앱 백엔드 API, 예약 사이트, 관리도구, 위탁 SaaS 같은 외곽 접점이 뚫렸다. 본 글에서 말하는 외곽 접점은 외부에 노출된 공격 표면(External Attack Surface)과 공급망 및 제3자 접점을 함께 가리킨다. 외곽 접점 유형 한국 사례 일본 사례 공통 약점 외부 노출 앱 백엔드 API 대출모집인 전용 조회 서비스 회원정보 조회 API, 앱·온라인스토어 서버 인증, 인가 검증 미흡, 반복 조회 미탐지 부가 웹 서비스 공제 관련 외부 웹페이지, 대학 포털 백화점 예약 사이트 본 서비스보다 낮은 보안 수준, 핵심 DB와의 연결 관리, 업무 도구 직원용 영업지원시스템 업무용 관리도구, BI 도구 외부 접근 가능, 패치 지연 위탁 SaaS, 공급망 기업용 회계 소프트웨어의 백업 서비스 메일 발송 SaaS, 위탁 EC 플랫폼, 위탁 FAQ 시스템 한 번의 침해가 다수 고객사로 확산 계정, 자격증명 직원 VPN 계정, 학습용 클라우드 계정 업무용 클라우드 계정, 관리자 계정 약한 인증, 다중인증 미적용 방치된 데이터 클라우드에 남은 임시 데이터 파일 시스템 로그 파일, 퇴직자 데이터 보존 기간이 지난 데이터 미삭제 [표 6] 외곽 접점 유형별 한일 사례 비교 이 진단은 AI 에이전트 기반 공격의 기술적 특성과도 정확히 맞닿아 있다. 자율형 공격 에이전트는 고도로 요새화된 핵심 시스템을 정면으로 뚫기보다, 광범위한 외부 공격 표면을 자동으로 전수 스캔해 보안 통제가 상대적으로 느슨한 외곽의 약한 고리를 집요하게 파고든다. 공개된 지 오래된 N-day 취약점, 설정 오류, 약한 인증이 대표적인 표적이다. 사람이라면 우선순위에서 밀렸을 작은 부가 서비스도, 비용이 거의 들지 않는 에이전트에게는 빠짐없이 시도해 볼 대상이 된다. 외곽 접점의 또 다른 특징은 피해가 그 접점에서 끝나지 않는다는 점이다. 예약 사이트에서 그룹 공통 회원 DB로, 위탁 백업 서비스에서 수만 곳의 고객사 데이터로, 위탁 앱 신원에서 고객의 클라우드 테넌트로 이어진 사례가 이를 보여준다. 외곽 접점은 규모가 작아 보여도, 핵심 데이터로 가는 통로가 될 수 있다. 예방: 외곽 접점부터 다시 그려야 한다 예방의 출발점은 조직이 인터넷에 무엇을 노출하고 있는지 정확히 아는 것이다. 공격자는 AI 에이전트로 외부 공격 표면을 전수 조사하고 있으므로, 방어자도 같은 관점에서 자산을 다시 파악해야 한다. 특히 본 서비스 옆에 붙은 부가 서비스, 이벤트 페이지, 관리도구, 앱이 호출하는 API처럼 관리 우선순위에서 밀려 있던 자산이 우선 점검 대상이다. 영역 점검 항목 외부 노출 자산 관리 인터넷에 노출된 웹, API, 관리 페이지, 원격접속 지점을 전수 목록화하고 담당자를 지정한다. 쓰지 않는 서비스와 테스트 서버는 외부 접근을 차단한다. 앱 백엔드 API 앱은 언제든 분석될 수 있다고 전제한다. 모든 API 요청에서 서버 측 인증과 객체 단위 인가를 검증하고, 앱 안에 API 키나 인증 정보를 넣지 않는다. 사용자당 조회 건수 제한과 비정상 반복 조회 탐지를 적용한다. 관리, 업무 도구 관리 페이지, BI 도구, 영업지원시스템은 외부에서 직접 접근할 수 없도록 하고, 불가피하면 접근 IP 제한과 다중인증을 적용한다. 이런 도구가 업무 DB를 어디까지 읽을 수 있는지 권한을 최소화한다. 위탁 SaaS, 공급망 위탁 업체가 보유한 데이터와 연결 권한을 목록화한다. 위탁 앱에 부여한 클라우드 권한(OAuth 동의 등)을 정기적으로 검토하고, 위탁 업체의 침해 통보 절차를 계약에 명시한다. 계정과 인증 VPN, 원격접속, 업무용 클라우드 계정에 피싱에 강한 다중인증을 적용한다. 외부에서 확보된 계정 정보를 대입하는 공격에 대비해 로그인 실패 급증과 비정상 위치 접속을 탐지한다. 패치와 지원 종료 인터넷에 노출된 구성 요소(PHP, GitLab, Node.js, DNS 서버 등)는 공개 당일 대응을 목표로 하는 별도 절차를 둔다. 기술지원이 끝난 시스템은 교체 계획을 세우고, 그 전까지 외부 노출을 줄인다. 데이터 최소화 보존 기간이 지난 회원, 퇴직자 정보, 개발용 임시 파일, 개인정보가 남은 로그를 정리한다. 남아 있지 않은 데이터는 유출되지 않는다. 탐지와 관제 외곽 접점의 로그를 핵심 시스템과 같은 수준으로 수집하고, 24시간 관제 범위에 포함한다. 웹 서버가 셸이나 다운로드 도구를 실행하는 행위처럼 침해 후 활동을 탐지하는 규칙을 운영한다. [표 7] 외곽 접점 중심의 예방 점검 항목 AI 에이전트를 이용한 공격은 속도가 빠르다는 점도 고려해야 한다. 최초 표적화에서 특권 접근까지 3시간이 걸리지 않은 사례가 있는 만큼, 수동 점검 후 며칠 안에 패치하는 기존 주기로는 대응이 늦을 수 있다. 웹 방화벽 규칙의 선제 적용, 노출 자산의 즉시 차단처럼 자동화된 대응 수단을 미리 준비해 두어야 한다. 반대로 방어 측도 AI 기반 취약점 점검을 활용해, 공격자보다 먼저 외곽의 약한 고리를 찾아내는 것이 바람직하다. 대응: 침해가 의심될 때 침해 사고는 초기 대응 속도에 따라 피해 규모가 크게 달라진다. 이번 사례에서도 공격 후 수일이 지나서야 피해를 인지한 경우가 있었고, 그 사이 추가 유출이 이어질 수 있었다. 단계 대응 내용 초동 조치 공격 IP와 악용된 경로를 차단하고 해당 서비스를 격리한다. 증거 보존을 위해 서버를 바로 초기화하지 않고 로그, 메모리, 디스크 이미지를 먼저 확보한다. 범위 확인 침해된 외곽 접점에서 연결된 DB, 내부 시스템, 위탁 업체 시스템까지 접근 흔적을 추적한다. 취약점 정보가 공개 전에 유출된 경우를 고려해 공개일 이전까지 로그를 거슬러 점검한다. 자격증명 조치 침해 경로와 관련된 계정, API 키, 접근 토큰을 폐기하고 재발급한다. 웹셸 등 지속성 확보 수단이 남아 있는지 확인한다. 신고 국내의 경우 정보통신망법에 따라 침해사고를 인지하면 24시간 이내에 과학기술정보통신부 또는 한국인터넷진흥원(KISA, 국번 없이 118)에 신고한다. 개인정보가 유출됐다면 개인정보보호법에 따라 원칙적으로 인지 후 72시간 이내에 정보주체에게 통지하고 개인정보보호위원회 또는 KISA에 신고한다. 금융회사는 금융감독원에 보고하고, 범죄 피해는 경찰청 사이버수사 부서에 신고한다. 2차 피해 방지 유출된 정보를 이용한 피싱, 스미싱, 계정 대입 공격이 이어질 수 있으므로 이용자에게 비밀번호 변경과 사칭 연락 주의를 안내한다. 공격자의 금전 요구에는 응하지 않고 수사기관과 협의한다. [표 8] 침해 의심 시 단계별 대응 절차 방어의 무게중심을 바꿀 때 이번 한 달간의 사고는 보안의 무게중심이 이동하고 있음을 보여준다. 지금까지 많은 조직이 핵심 시스템을 중심으로 방어를 설계했지만, 공격자는 그 바깥의 작은 접점을 찾아 들어왔다. AI 에이전트는 이 탐색을 싸고 빠르게 만들었고, 그 결과 규모가 작아 관리에서 밀려 있던 자산이 가장 먼저 표적이 됐다. 따라서 앞으로의 방어는 무엇을 가장 단단히 지킬 것인가보다, 공격자가 어디서부터 들어올 수 있는가를 먼저 묻는 데서 시작해야 한다. 외부 노출 자산 관리, API 인증과 인가, 위탁 업체 연결 통제, 다중인증, 신속한 패치, 데이터 최소화는 새로운 대책이 아니다. 그러나 이번 사고들은 이 기본 조치가 외곽 접점까지 빠짐없이 적용되지 않으면 AI가 그 빈틈을 먼저 찾아낸다는 사실을 분명히 보여줬고, 본 글이 AI 기반 자동화 공격과 외곽 접점 침해에 초점을 맞춘 이유도 여기에 있다. AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.
ASEC PHP 제품 취약점 임시 조치 권고 (CVE-2026-115560) 2026-10-26
개요 PHP 개발팀은 session.upload_progress 처리 과정에서 발생하는 원격 코드 실행 취약점인 CVE-2026-115560 에 대한 임시 조치 방안을 발표하였다. 현재 해당 취약점에 대한 보안 업데이트는 배포되지 않았다. 영향 대상 다음 조건을 모두 충족하는 PHP 환경이 대상이다. session.serialize handler 설정값이 php binary 또는 php_serialize 인 경우. session start() 호출 전 ini set() 을 통해 session.serialize_handler 값을 php 로 변경하는 경우. session.upload_progress.enabled 설정이 활성화된 경우. 취약점 내용 해당 취약점은 PHP 세션 업로드 진행률 처리 과정에서 발생하는 원격 코드 실행 취약점이다. 즉, 공격자가 취약한 환경을 악용해 임의 코드 실행을 시도할 수 있는 문제이다. 임시 조치 보안 업데이트가 제공되기 전까지 php.ini 또는 PHP-FPM pool 설정에서 session.upload_progress.enabled=0 으로 설정해 비활성화해야 한다. 설정 변경 후에는 모든 PHP 워커 또는 관련 웹 서버 서비스를 재시작해야 한다. 참고 PHP 공식 보안 사전 공지, KISA 보호나라의 임시 조치 권고, NVD의 CVE-2026-115560 항목이 참고 자료로 제시되었다.
ASEC 영어·일본어 등 다른 언어 글 6건
ASEC PHP2Shell の公開から間もない中、またも PHP に脆弱性が? 2026-11-26
忙しい方のための3行まとめ 1. PHP 開発チームは2026年11月19日に、深刻度が 「Critical」 に分類される脆弱性7件を修正したセキュリティアップデートを公開した。現時点では、実際の攻撃に悪用された事例は報告されていない。 2. このうち、Web サーバーと PHP-FPM 間の接続を再利用する環境で発生するリクエストスマグリング、セッションのアップロード進捗機能を利用したオブジェクト注入、PHP 8.5 のマジックメソッドにおけるメモリエラーについては、リモートコード実行に至ることが確認されており、特に危険性が高い。 3. PHP 8.5.13、8.4.28、8.3.37、8.2.36 以上に速やかにアップグレードする必要がある。公式パッチが提供されていない 8.1 以下はサポート対象のバージョンに移行し、すぐにアップグレードできない場合は、接続の再利用やアップロード進捗機能を無効にするなどの暫定的な緩和策を適用する必要がある。 本文を読む前に押さえておきたい用語 本ブログでは、Web サーバーや PHP の内部動作に関する用語が頻繁に登場する。本文を読む前に以下の用語を確認しておくと、内容を理解しやすくなる。 PHP-FPM : Web サーバーが受け取ったリクエストのうち、PHP コードの実行が必要なリクエストを引き受けて処理する独立したプログラムである。nginx や Apache などの Web サーバーと PHP-FPM は、FastCGI という規定の形式で通信する。 ワーカー : PHP-FPM があらかじめ起動しておく処理プロセスであり、1つのワーカーが複数のリクエストを順番に処理する。そのため、前のリクエストが残した痕跡が同じワーカーで処理される次のリクエストに影響を及ぼす可能性がある。 セッション : ログイン状態など、ユーザーごとの情報をサーバーに一時的に保存する機能である。ユーザーはセッション ID という識別番号を持ち、PHP はデフォルトでセッションをサーバー上のファイルに保存する。 シリアライズとデシリアライズ : プログラム内のデータを保存しやすい文字列に変換することをシリアライズ、変換された文字列を再びデータに戻すことをデシリアライズという。このとき復元されるデータには数値や文字列などの単純な値だけでなく、生成時や消滅時に所定のコードが自動的に実行される 「オブジェクト」 も含まれる場合がある。攻撃者が作成した文字列がデシリアライズされ、オブジェクトとして復元されることをオブジェクト注入という。 Use-After-Free : プログラムが使用済みとして解放したメモリ領域を誤って再利用してしまうエラーである。その領域に別のデータが格納されていると、プログラムが誤動作したり停止したりする可能性がある。また、攻撃者がその領域にあらかじめ意図したデータを配置できる場合、コード実行に至る可能性もある。 概要 韓国時間の2026年11月19日午後11時頃、PHP 開発チームはサポート対象のすべてのバージョンに対してセキュリティアップデートを公開した。修正が適用されたバージョンは PHP 8.5.13、8.4.28、8.3.37、8.2.36 であり、同日にリリースされた 8.6.0 にも同じ修正が含まれている。 PHP 8.5.13 の変更履歴には、合計18件の CVE が記載されている。このうち1件は PHP に同梱されている URI 処理ライブラリ uriparser の脆弱性であり、残りの17件は PHP 自体の脆弱性である。そのうち7件が最も高い深刻度である 「Critical」 に分類された。 今回のアップデートは、1か月前の10月に公開されたリモートコード実行脆弱性 PHP2Shell に対する緊急パッチ対応の延長線上にある。今回の7件のうち一部は当時の修正が不完全だったため再修正されたものであり、一部は同じ系列の新たな問題である。大半はデフォルト設定とは異なる特定の設定やコードパターンが存在する場合に発生するが、一部は条件が揃うと攻撃者がサーバー上で任意のコードを実行できるほど危険性が高い。 2026年11月19日時点でこれらの脆弱性が実際の攻撃に悪用された事例は報告されていない。また、米国のサイバーセキュリティ・インフラセキュリティ庁 (CISA) が管理する 「Known Exploited Vulnerabilities (KEV) Catalog (実際に悪用された脆弱性の一覧)」 にもまだ登録されていない。 本ブログでは、「Critical」 に分類された7件の脆弱性について解説する。まず、それぞれの脆弱性が発生する原因を説明し、続いてどのような条件で発生するのか、また、実際の被害につながるために攻撃者がどのような条件を満たす必要があるのかを整理する。最後に、パッチ適用方法と暫定的な緩和策を紹介する。 脆弱性の原因 7件の脆弱性は、原因に応じて大きく3つに分類できる。 Web サーバーと PHP 間の通信に関する問題 (1件) : あるリクエストの終わりと次のリクエストの始まりを正しく区別できない問題 セッションデータの誤った解釈に関する問題 (2件) : 保存されたセッションを読み込む際、攻撃者が挿入したデータがプログラムのオブジェクトに変換される問題 解放済みメモリの再利用に関する問題 (4件) : セキュリティ分野で 「Use-After-Free」 と呼ばれるメモリエラー それぞれの分類に属する脆弱性がどのような原因で発生するのか、順に見ていく。 CVE-2026-129289 : PHP-FPM のリクエストスマグリング CVE-2026-129289 は、PHP-FPM が前のリクエストで読み取った後に残ったデータを適切に処理せず、その残りのデータを新しいリクエストとして誤って受け入れてしまうことで発生する脆弱性である。 Web サーバーはパフォーマンスを向上させるため、リクエストごとに PHP-FPMとの接続を新たに確立するのではなく、一度確立した接続を使って複数のリクエストを連続して送信するよう設定できる。このように接続を再利用する環境で問題が発生する。PHP アプリケーションがリクエスト本文を読み取るための経路を開いたまま最後まで読み取らずに処理を終えると、本文の後半部分が接続内に残ってしまう。ユーザーが意図的に形式の不正なファイルアップロードリクエストを送信し、PHP が本文の途中で読み取りを停止するよう仕向けると、PHP-FPM はどこまで読み取ったかを忘れたまま残りの部分を同じ接続から送られてきた新たなリクエストとして処理してしまう。 攻撃者はこの点を悪用し、本文の後半部分にリクエスト形式の偽装リクエストをあらかじめ埋め込む。この偽装リクエストには、実行する PHP ファイルや PHP の設定をどのように変更するかまで任意に記述できる。Web サーバー側では正常なリクエストを1つ転送しただけであるが、PHP-FPM は攻撃者が隠しておいたリクエストまで実行してしまうのである。 このように、1つのリクエストの中に別のリクエストを密かに埋め込む攻撃をリクエストスマグリング (Request Smuggling) と呼ぶ。この処理方式は PHP 5.6.0 から存在していた。 CVE-2026-115560 : セッションのシリアライズ方式の不一致 CVE-2026-115560 は、セッションを保存する側と読み込む側でデータの解釈方法が異なることによって発生する脆弱性である。この解釈の違いにより、攻撃者が挿入した文字列がプログラムのオブジェクトとして利用される可能性がある。 PHP はセッションデータをファイルなどの保存先に文字列として変換して保存するが、その際に使用するシリアライズ方式には複数の種類がある。デフォルトの方式では、各セッション項目について 「名前|内容」 の形式で名前と内容の間に縦棒記号を挟んで連結する。読み込む際も、縦棒記号が現れると、その前までを名前、その後を内容として区切って読み取る。 一方、別の方式には、名前の文字数をあらかじめ記録し、その文字数分を名前として読み取る方式もある。この方式では、名前の中に縦棒記号が含まれていても単に名前を構成する1文字として扱われる。 セッションの保存時と読み込み時に同じ方式を使用していれば問題は発生しないが、複数のアプリケーションや複数の PHP-FPM プール (Pool) が1つのセッション保存先を共有している場合には問題が生じる可能性がある。例えば、保存側が文字数を指定する方式を使用し、読み込み側がデフォルトの方式を使用すると、状況が変わる。保存側では名前の一部にすぎなかった縦棒記号を、読み込み側は 「ここで名前が終わり、内容が始まる」 という区切りとして認識してしまい、縦棒の後に続く名前の残りの文字をセッション内容、つまり復元するデータとして読み取ってしまうためである。 もちろん、この違いだけでは攻撃は成立しない。通常、セッションに何をどの名前で保存するかはアプリケーションが決めるため、攻撃者にはセッション項目の名前に縦棒記号や任意の文字列を挿入する手段がないからである。この隙を生み出すのが、ファイルアップロードの進捗状況をセッションに記録する機能である。 この機能は、ファイルのアップロードがどこまで進んだかを新しいセッション項目として保存する。その項目の名前は、「アップロード進捗状況」 を意味する固定のプレフィックスにアップロードリクエストに含まれる値をそのまま連結して生成される。さらに、この保存処理はアプリケーションのコードが実行される前に PHP が自動的に行うため、ログインしていない攻撃者でもアップロードリクエストを1つ送信するだけでセッション項目の名前に任意の文字列を含めることができる。 攻撃者はこの名前に縦棒記号と復元された際に意図した動作をするよう設計したオブジェクトデータを続けて挿入する。保存側ではこれらは単に少し不自然な名前のセッション項目として扱われるが、読み込み側は縦棒の後に続く文字列をセッション内容として認識し、そのまま復元する。その結果、セッションを読み込む際に攻撃者が設計したオブジェクトが復元され、オブジェクト注入が発生する。 10月に発生した PHP2Shell の脆弱性の1つもこのアップロード進捗機能に関連していた。一部のセキュリティ企業は当時の修正では防げなかった別の攻撃経路であることから、CVE-2026-115560 を 「3つ目の PHP2Shell」 と呼ぶこともある。 ただし、10月の2つの脆弱性がリクエストの異常終了時に発生するメモリ破損に起因していたのに対し、本脆弱性はデシリアライズによるオブジェクト注入であるという点で根本的な原因は異なる。つまり、攻撃が侵入する経路とリモートコード実行という最終的な被害は同じであるが、問題が発生する仕組みは異なる。 CVE-2026-126714 : 一部だけ上書きされたセッションファイル PHP は、状況によってはセッションファイルの既存内容を消去せずに上書きして保存する。この上書き処理中に作業が強制的に中断されると、新しい内容と以前の内容が混在した状態で残り、その混在した内容がプログラムのオブジェクトとして解釈される可能性がある。これによって発生する脆弱性が CVE-2026-126714 である。 PHP はデフォルトでセッションをファイルに保存する。新しいデータが既存のファイルより短い場合はファイルを先に空にしてから書き込む。しかし、新しいデータの長さが既存のデータと同じかそれ以上の場合は、新しいデータが既存の内容をすべて上書きすると判断し、ファイルを空にせず先頭から直接上書きする。 通常はこの方式でも問題ないが、上書きの途中でプロセスが強制終了されると、ファイルには新しいデータの前半部分と以前のデータの後半部分が混在した状態で残る。 このように混在したファイルを次のリクエストで読み込むと、新しいデータと以前のデータがつながった部分がシリアライズされたオブジェクトとして解釈される可能性がある。攻撃者が両方のデータをあらかじめ設計しておけば、意図したオブジェクトを生成できるため、結果として前述の CVE-2026-115560 と同様にオブジェクト注入につながる。 ただし、保存側と読み込み側で同じデフォルトのシリアライズ方式を使用していても発生する点が CVE-2026-115560 との違いである。 CVE-2026-129496 : タイムゾーンキャッシュの Use-After-Free これから紹介する4件はいずれも、すでに解放されたメモリを再利用することで問題が発生するUse-After-Free系の脆弱性である。 CVE-2026-129496は、PHP が起動時に一時的に使用して解放したタイムゾーン情報の参照先を消去せずに残してしまうことで発生する脆弱性である。PHP はその後、リクエストを処理する際にタイムゾーン情報がまだその場所に存在すると誤認し、すでに解放されたメモリを再び読み取ってしまう。 PHP は日付や時刻を扱うたびにタイムゾーン情報を新たに取得する必要がないよう、一度取得した情報をメモリに保存し再利用する。しかし、PHP プロセスの起動中に警告メッセージが発生し、そのメッセージがファイルベースのエラーログに記録されると、ログに記録する時刻を生成するために取得したタイムゾーン情報が起動時にのみ使用される一時メモリに保存されることがある。この一時メモリは起動処理が終了すると解放される。 通常は、その後に続く初期化処理でタイムゾーン情報の参照先を指す参照が消去されるため問題は発生しない。しかし、警告が記録されるタイミングがその初期化処理よりも遅い場合、参照が消去されずに残ってしまう。したがって、起動時に発生するすべての警告が問題になるわけではなく、起動処理の後半でファイルエラーログに記録される警告が対象となる。このように参照が残った状態で起動したワーカー (プロセス) が最初のリクエストを処理し再び警告を記録すると、すでに解放されたメモリを読み取ってしまう。こうした起動時の警告は主にタイムゾーンの設定値を誤って記述した場合や、非推奨のセッション設定を使用した場合に発生する。 CVE-2026-129481 : セッション終了処理の中断による Use-After-Free CVE-2026-129481 は、セッションを使用する Web リクエストの処理を終える際、PHP のセッション整理処理がエラーによって途中で中断されると、本来消去されるべきメモリの参照先情報がそのまま残ってしまうことで発生する脆弱性である。ログインしたユーザーがページを開く場合のように、セッションを使用するリクエストであれば、どのようなリクエストでも最後にこの整理処理が行われる。 セッションを開始すると、PHP は現在実行中のスクリプトのファイル名をリクエスト用メモリに記録し、その位置を内部変数に保持する。この内部変数は、リクエスト終了時のセッション整理処理の最終段階で消去される。 しかし、それより前に PHP はセッションに格納されている値を1つずつ削除する。この処理では PHP 自体のコードだけでなく、Web サービスの開発者が作成した PHP コードが実行される場合もある。セッションには数値や文字列などの単純な値だけでなく、開発者が作成したオブジェクトも格納できるうえ、オブジェクトは消滅時に自身の後処理を行うよう実装されていることが多いためである。この後処理のコードはサービス開発者が作成したものであるため、PHP がセッションの値を削除する際に開発者のコードも同時に実行されることになる。例えば、開発者が独自に作成したファイル入出力用のストリームをセッションに格納していた場合、この段階でそのストリームを閉じるコードが実行される。 そのコードで処理を即座に停止させる致命的なエラーが発生すると、内部変数を消去する前に整理処理が中断される。その間にリクエスト用メモリが一括して解放されるため、内部変数はすでに解放されたメモリ領域を指すことになる。 この不正な参照先情報は、同じワーカーが処理する次のリクエストで使用される。そのリクエストが別のユーザーからのものであっても関係ない。 本脆弱性は、10月に発見された CVE-2026-109619 の修正が不完全だったために残った問題であり、PHP 8.3 以降が影響を受ける。 CVE-2026-129182 : エラー時のバックトレース再生成による Use-After-Free、PHP 8.5 のみ該当 CVE-2026-129182 は、PHP 8.5 でリクエスト終了時に消去したエラー記録がその後の整理処理で再生成されるケースを考慮していなかったことで発生する脆弱性である。再生成された記録がまもなく解放されるメモリを指したまま次のリクエストまで残ってしまう。 プログラムでエラーが発生すると、その時点に至るまでにどの関数がどの関数を順番に呼び出したのかを遡って記録できる。例えば、注文処理関数が決済関数を呼び出し、決済関数がカード確認関数を呼び出した後にエラーが発生した場合、その呼び出し順序が記録される。簡単に表現すると、これは 「バックトレース (呼び出し経路の記録)」 と呼ばれるものである。PHP 8.5 では致命的なエラーが発生するとこのバックトレースも記録されるようになっており、デフォルトで有効になっている。 バックトレースはリクエスト用メモリを使用して生成されるため、10月に公開された 8.5.12 のパッチではリクエスト終了時にこの記録を消去するよう修正された。しかし、このパッチでは、記録を消去した後に続く終了処理で再び致命的なエラーが発生した場合にバックトレースが再生成されることを考慮していなかった。 では、終了処理中にエラーが発生するのはなぜだろうか。PHP ではサーバー全体に適用されるデフォルト設定とは別に、特定のフォルダーやパスにのみ異なる設定を適用できる。このようにパスごとの設定を使用すると、PHP は該当するパスのリクエストを処理している間だけ設定を変更し、リクエスト終了時には次のリクエストに備えてサーバー全体の設定に戻す。 しかし、メモリ制限や出力圧縮など一部の設定は、組み合わせによって設定を元に戻す処理中に致命的なエラーが発生する場合がある。例えば、サーバー全体と特定のパスでメモリ制限を異なる値に設定している場合や、サーバー全体では出力圧縮を有効にしている一方、特定のパスでは無効にしている場合などが該当する。 このエラーによって再生成されたバックトレースは、まもなく解放されるリクエスト用メモリを指したまま残り、同じワーカーが処理する次のリクエストで使用される。 CVE-2026-129474 : マジックメソッドのバックトレースにおける Use-After-Free、PHP 8.5 のみ該当 CVE-2026-129474 は、PHP 8.5 でマジックメソッドが呼び出しを受け取り、実際の処理機能に引き渡す際に致命的なエラーが発生すると、すでに解放されたメモリを指す値がバックトレースにそのまま記録されてしまうことで発生する脆弱性である。 マジックメソッドとは、プログラムが存在しないメソッドを呼び出した際に PHP が代わりに呼び出す特殊なメソッドである。例えば、ログ記録ツールに 「警告を記録する」 というメソッドが用意されていなくても、プログラムがその名前で呼び出すとマジックメソッドがその呼び出しを受け取り、実際に記録を処理する機能に引き渡すことができる。つまり、プログラムが呼び出したメソッド名と実際に処理を行う機能との間で橋渡し役を担うものである。そのため、ログ記録ツールやデータベースライブラリ、Laravel のファサード機能のように、受け取った呼び出しを実際の処理機能に引き渡すコードでよく使用される。 マジックメソッドによって呼び出しが引き渡される短い時間の間に致命的なエラーが発生すると、前述のバックトレースが生成される。このとき、各関数に渡された引数も同時に記録される。問題は、その記録される値の一部がすでに解放されたメモリ領域を指している可能性がある点である。 攻撃者は送信するリクエストのサイズを調整し、PHP がちょうどこのタイミングでメモリ制限を超えて致命的なエラーを発生させるよう仕向ける。その後、解放されたメモリ領域に別のデータが格納されると、PHP はバックトレースを読み取る際に元の値ではなく新たに格納されたデータを使用してしまう。そのため、攻撃者はその領域に意図したデータを配置することでこの問題を悪用できる。 ただし、バックトレースには、どの関数を経由したかだけを記録することも、各関数に渡された値まで記録することもできる。どちらにするかは設定によって決まる。本脆弱性は、渡された値まで記録する設定になっている場合にのみ発生する。渡された値を記録しなければ、解放されたメモリを指す値がバックトレースに含まれることもないためである。 トリガー条件と悪用条件 脆弱性が存在するからといって、攻撃が直ちに成功するわけではない。ここでは、以下の2段階に分けて考える。 トリガー条件 : バグが実際に発生するために、サーバー設定、アプリケーションコード、リクエストの順序などがどのような状態になっている必要があるか。 悪用条件 : バグが発生した後、攻撃者がそれをコード実行などの実際の被害につなげるために、さらに何が必要か。 CVE 修正サポート対象の系列 攻撃場所 トリガー条件 悪用条件 確認された最大の被害 CVE-2026-129289 FPM のリクエストスマグリング 8.2~8.5 リモート、ログイン不要 FastCGI の接続再利用が有効 + リクエスト本文を最後まで読み取らないアプリケーションの処理経路 + 改ざんされたアップロードリクエスト サーバー上に存在する PHP ファイルのパスを1つ知っているだけでよい リモートコード実行 CVE-2026-115560 セッションのシリアライズ方式の不一致 8.2~8.5 リモート アップロード進捗機能が有効 + セッション保存先を共有する側同士でシリアライズ方式が異なる 対象のセッション ID + アプリケーション内のガジェットチェーン コマンド実行 CVE-2026-126714 セッションファイルの部分上書き 8.2~8.5 リモート、ログイン不要 ファイルセッションを使用 + 既存データと同じ長さか、それ以上のデータを上書きしている途中でプロセスが強制終了 セッション ID の指定 + 任意のタイミングで書き込みを中断 + 混在データの設計 + PHP 組み込みクラスのメモリ破損の欠陥 リモートコード実行 (原研究者の報告に基づく) CVE-2026-129496 タイムゾーンキャッシュ UAF 8.2~8.5 リモート、プロセス停止に限る 起動処理後半の警告がファイルエラーログに記録される + 新しいワーカーの最初のリクエストで警告が発生 コード実行にはメモリアドレスの把握 + メモリ配置の操作 + 実行環境ごとの追加設定が必要 リモートリクエストによるプロセス停止、メモリアドレスが判明している実験環境でのコード実行 CVE-2026-129481 セッション終了 UAF 8.3~8.5 リモート、アプリケーション構造によって異なる セッション整理中に呼び出されるコードで致命的なエラーが発生 次のリクエストが同じワーカーに送られる必要がある Use-After-Free の再現、プロセス停止は想定される影響として言及 CVE-2026-129182 呼び出し経路記録の再生成による UAF 8.5 リモート、特殊な設定が必要 整理処理中の設定復元に失敗 + 次のリクエストの初期段階で警告が発生。FPM では Web サーバーが PHP 設定値を渡す構成が必要 コード実行の方法とその条件は公開されていない プロセス停止、コード実行は実証されていない CVE-2026-129474 マジックメソッド UAF 8.5 リモート、実証された経路ではログイン不要 関数に渡された値まで記録する設定 + マジックメソッドの呼び出し中にメモリ制限を超過 リクエストサイズの調整 + メモリアドレスの把握 リモートコード実行 [表1] Critical に分類された脆弱性7件の調査結果 表の2列目は、脆弱性そのものの影響範囲全体ではなく、今回公式修正が提供されたサポート対象の系列を示している。脆弱性自体はこれよりはるか以前から存在していたケースが多い。CVE-2026-129289 は PHP 5.6.0 から、CVE-2026-115560 は 5.4.0 から、CVE-2026-126714 は 4.1.0 から同様の動作が存在していたため、サポートが終了した古いバージョンも影響を受ける可能性がある。 表からも分かるように、脆弱性ごとに危険度は大きく異なる。以下でそれぞれ詳しく解説する。 CVE-2026-129289 : 設定条件が揃えば最も容易に悪用できる脆弱性 トリガー条件 Web サーバーが PHP-FPM との接続を切断せず、再利用するよう設定されている必要がある。nginx、Apache、HAProxy はいずれも接続を維持する機能を有効にできるため、その機能が有効になっている場合が該当する。 これに加えて、アプリケーションにリクエスト本文を読み取るための経路を開いたまま最後まで読み取らない処理が存在し、攻撃者がその経路に対して形式を改ざんしたアップロードリクエストを送信する必要がある。ルーティングや認証の前に入力ストリームを開くフレームワークであれば、リクエスト本文を使用しないページでもこの条件が成立する可能性がある。 一方、リクエストごとに接続を閉じる一般的な nginx や Apache の構成は影響を受けない。 悪用条件 上記の条件がすべて揃っていれば、攻撃者にさらに必要なのはサーバー上に実在する PHP ファイルのパス1つだけである。隠して送信した偽装リクエストで PHP の設定を変更し、リクエスト本文を PHP コードとして先に実行するよう指示すれば、本文に含めたコードがそのまま実行される。 メモリを精巧に操作する必要も、タイミングを調整する必要もないため、成功率は非常に高い。さらに、変更された設定は同じワーカーが処理する次のリクエストにも残る可能性がある。 ただし、このようにコード実行にまで至ることが確認されているのは FastCGI 接続を再利用する場合に限られる。 LiteSpeed Web サーバーが PHP との通信に使用する LSAPI にも、読み取った後に残った本文を整理しないという同様の問題が存在する。しかし、LSAPI は FastCGI とは異なる通信形式を使用するため、攻撃経路も異なる。現時点で LSAPI ではリクエストが混在する現象のみが確認されており、コード実行は実証されていない。 CVE-2026-115560 : 一般的なライブラリが存在するだけでも危険なセッション脆弱性 トリガー条件 ファイルアップロードの進捗状況をセッションに記録する機能が有効になっている必要があり、同じセッションを保存する側と読み込む側で異なるシリアライズ方式を使用している必要がある。 この不一致は、アプリケーションがセッションを開始する直前にシリアライズ方式を変更する場合や、シリアライズ方式を異なる設定にしているアプリケーション、FPM プール、仮想ホストが同じセッション保存フォルダーを共有している場合に発生する。FPM プールを分けてもセッション保存先まで自動的に分離されるわけではない点に注意が必要である。すべての環境で同じ方式を使用していれば、この問題は発生しない。 悪用条件 攻撃者はまず、対象のセッション ID を知っているか、指定できる必要がある。さらに、セッションを読み込むアプリケーション内にガジェットチェーンが存在する必要がある。 ガジェットチェーンとは、オブジェクトが復元されたり消滅したりする際に自動実行されるコードの断片をつなぎ合わせ、意図した動作を実現する手法である。 実際に、PHP のパッケージ管理ツールである Composer を通じて広くインストールされる Guzzle や Monolog のライブラリを利用したコマンド実行が実証されている。これらのライブラリは非常に広く使用されているため、この条件は想定以上に容易に満たされる可能性がある。 CVE-2026-126714 : アプリケーションコードがなくてもリモートコード実行が報告された脆弱性 トリガー条件 PHP のデフォルトのセッション保存方式であるファイル方式を使用している必要があり、既存のファイルと同じ長さか、それ以上のデータを上書きしている途中でプロセスが強制終了される必要がある。攻撃者は、アップロード進捗機能やセッションに保存される長いユーザー入力などを通じてセッション内容に影響を与えられる必要がある。保存側と読み込み側でシリアライズ方式が異なる必要はない。 プロセスを強制終了させる方法として、セキュリティ告知では、マルチスレッドでビルドされた PHP において別のスレッドがメモリ制限を超過し、プロセス全体が終了するケースが挙げられている。 この脆弱性を最初に発見した研究者は別の方法も報告している。複数のアップロードリクエストを保留状態にして Web サーバーが使用できるメモリを限界まで消費させたうえで、タイミングを合わせたリクエストによってセッションを書き込んでいるワーカーがその限界を超えるように仕向ける方法である。これにより、OS がメモリ不足を防ぐために該当ワーカーを強制終了する。 悪用条件 攻撃者はまず、データを書き込む対象のセッション ID を指定できる必要があり、さらにアプリケーションが後からそのセッション ID でセッションを読み込む必要がある。 研究者による再現ではログインしていない状態でアップロード進捗機能を利用し、攻撃者が指定したセッション ID のファイルにデータを書き込んだ。その後、アプリケーションが同じセッション ID でセッションを開始した際に混在したデータが読み込まれた。 また、以前のデータと新しいデータが混在した際に正確に意図したオブジェクトが生成されるようデータの配置を設計する必要があり、書き込みが意図したタイミングで中断されるようにする必要もある。 研究者による再現でも意図した状態を得るまでに約10回の試行が必要だった。研究者は、このように注入したオブジェクトを PHP に標準搭載されている組み込みクラスのメモリ破損の欠陥と組み合わせ、リモートコード実行を実証したと報告している。そのため、アプリケーションにガジェットチェーンが存在しなくても攻撃が可能である。 ただし、組み合わせに使用した組み込みクラスとその欠陥の詳細は公開されておらず、外部から検証することはできない。セキュリティ告知では、このメカニズムについてリモートコード実行を影響として記載している。 CVE-2026-129496 : プロセス停止は容易だが、コード実行は難しい脆弱性 トリガー条件 一般的なシングルスレッド版 PHP において起動処理中の警告が PHP のファイルベースのエラーログに記録される必要がある。この警告は、タイムゾーン情報の参照先を消去する初期化処理よりも遅いタイミング、つまり起動処理の後半に記録されなければならない。警告が PHP-FPM 自体のログにのみ記録される場合は該当しない。 この状態で起動した新しいワーカーが最初のリクエストを完了する前にリクエストの初期段階で警告を発生させるリクエストが送信される必要がある。代表的な例として、1つのリクエストに含めることができる入力変数の上限を超えるリクエストが挙げられる。 ワーカーは新規起動時や再起動時に毎回生成されるため、この機会は繰り返し発生する。 悪用条件 この脆弱性については、実証された被害の範囲を2つに分けて考える必要がある。 1. ワーカーを停止させることは上記の条件だけで可能である。セキュリティ告知では、上記の条件を満たした PHP-FPM において、入力変数数の上限と nginx のヘッダーサイズ制限をいずれもデフォルト値に設定した状態で改ざんされたリモート HTTP リクエストを1つ送信することにより、ワーカーが停止することを確認した。 2. コード実行は、攻撃者がサーバーのメモリアドレスをすでに把握している実験環境で実証された結果である。 コード実行に至るには、メモリアドレスを把握し、メモリ配置を意図したとおりに調整する必要がある。また、追加で必要となる設定は実行環境によって異なる。 PHP-FPM で報告された方法では、リクエスト変数を必要になった時点で生成するのではなく、リクエスト開始時にあらかじめ生成するよう変更する設定と、Cookie の値もリクエスト変数に含める設定が必要であり、デフォルトの制限値より大きな認証ヘッダーも許可する必要がある。 Apache mod_php で報告された別の方法では、これらの設定を変更する代わりにメモリ制限を超える大容量データの送信リクエストと、大きな認証ヘッダーを許可する必要がある。 OS にはプログラムの実行時にメモリアドレスをランダムに変更して攻撃者がアドレスを予測しにくくする保護機能がある。しかし、リモートからこの保護機能を回避する方法は現時点では実証されていない。 CVE-2026-129481 : アプリケーションコードのパターンに起因する脆弱性 トリガー条件 セッションのクリーンアップ中に呼び出されるアプリケーションコードで致命的なエラーが発生する必要がある。実証された環境は PHP コードを事前に解釈してメモリに保存する OPcache 機能を無効にした PHP-FPM であり、セッションに保存されたストリームオブジェクトのクローズ関数でエラーが発生するケースであった。該当スクリプトのファイル名が OPcache によって長期間保持されるメモリに保存されている場合、リクエスト用のメモリが解放される経路を回避できる。ただし、OPcache が有効になっていてもキャッシュされていないスクリプトが実行される可能性があるため、OPcache を有効にしているからといってこの脆弱性が発生しないと断定することはできない。セキュリティアドバイザリでも、OPcache だけでは確実な対策にならないと説明されている。 悪用条件 次のリクエストが同じワーカーに送られる必要がある。セキュリティアドバイザリで再現によって確認されたのは解放済みのメモリが再利用される現象までである。ワーカーの停止はその結果として生じ得る影響として記載されており、コード実行の実証については言及されていない。 CVE-2026-129182 : 特殊な設定の組み合わせが必要な脆弱性 トリガー条件 2つの段階が必要である。まず、リクエスト終了時に設定を元に戻す処理で致命的なエラーが発生しなければならない。例えば、メモリ制限の設定をサーバー全体と特定のパスで異なる値に設定している場合や、サーバー全体では出力圧縮を有効にし、特定のパスでは無効にしたうえで、別の出力処理機能を指定している場合である。次に、同じワーカーの次のリクエストが初期化される前に警告を発生させなければならない。Apache mod_php ではディレクトリ単位の設定によってこの条件が成立する可能性があるが、PHP-FPM では Web サーバーがリクエストごとに PHP の設定値を渡すよう構成されており、その値が警告を引き起こす場合に限られる。このように、前述の設定の組み合わせがあらかじめサーバーに存在している必要があるため、一般的な構成では該当するケースは少ないと考えられる。 悪用条件 現時点でこのバグによって確認されているのは、メモリエラーとプロセス停止までである。セキュリティアドバイザリでは、10月の CVE-2026-109619 と同様にリモートコード実行につながる可能性があるとしているが、この脆弱性を起点としたコード実行は実証されておらず、そのために必要な追加条件も公開されていない。 CVE-2026-129474 : PHP 8.5 でリモートコード実行が確認された脆弱性 トリガー条件 PHP 8.5 で致命的なエラーのバックトレース記録機能が有効になっている必要がある。この機能はデフォルトで有効になっている。また、バックトレースに関数に渡された引数の値まで記録する設定になっている必要がある。PHP 自体のデフォルト設定では引数の値まで記録するが、PHP が運用環境向けに推奨している設定ファイルでは引数の値を記録しないようになっている。アプリケーションはマジックメソッドを介して呼び出しを転送する構造でなければならず、そのタイミングで致命的なエラーが発生する必要がある。実証では、JSON データを受け取り、マジックメソッドを介してログを記録するページに対してリクエストサイズを調整して送信し、ログに記録する値を生成する際にメモリ制限を超えるようにした。 悪用条件 攻撃者はリクエストデータによってメモリの使用状況を調整できる必要があり、さらに、前述のメモリアドレスのランダム化による保護が有効な環境でも利用可能なメモリアドレスを取得する必要がある。試行に失敗した場合、ワーカーが停止するか、一般的なリソース制限エラーによってリクエストが終了する。PHP ファイルをアップロードしたり、メソッド名を選択したりする必要はない。セキュリティアドバイザリでは、この手法によって PHP 8.5 でリモートコード実行が確認されたと報告している。この実証でログインなしの攻撃が可能だったのは実証に使用したパスに関する結果であり、別のアプリケーションのパスではログインが必要かどうかが異なる可能性がある。Laravel のファサード機能や Magento の一部機能が関連する経路として挙げられているが、実際に攻撃が可能であることは実証されていない。 対応策 1. パッチの適用 最も確実な対策は、使用しているバージョンに対応した最新バージョンにアップグレードすることである。今回のパッチには7件すべての脆弱性に対する根本的な修正が含まれており、使用しているバージョン系列ごとのアップグレード対象バージョンは以下の表のとおりである。 使用中のバージョン アップグレード対象 PHP 8.5.x 8.5.13 以上 PHP 8.4.x 8.4.28 以上 PHP 8.3.x 8.3.37 以上 PHP 8.2.x 8.2.36 以上 PHP 8.1 以下 公式パッチなし -> サポート対象バージョンへの移行が必要 [表2] 使用中のバージョン系列に応じたアップグレード対象バージョン 表のとおり、PHP 8.1 以下のバージョンには公式パッチが提供されていない。前述のとおり、一部の脆弱性は古いバージョンにも存在するため、これらのバージョンを使用している場合、サポート対象のバージョン系列に移行する以外に根本的な解決方法はない。現在 PHP 8.2 を使用している場合も、まだ安心できない。PHP 8.2 は2026年12月31日にセキュリティサポートが終了する予定であるため、今回 PHP 8.2.36 にアップグレードする場合でも上位のバージョン系列への移行計画を併せて立てておくことが望ましい。 アップグレードの際には、パッチが実際に適用されているかどうかも確認する必要がある。Ubuntu や RHEL などの Linux ディストリビューションでは、バージョン番号を変更せずにセキュリティ修正のみを取り込む場合があり、これをバックポートという。したがって、ディストリビューションのパッケージを使用している場合は、バージョン番号だけで判断せず、ディストリビューションのセキュリティアドバイザリで該当する CVE が修正されているかを確認する必要がある。Docker などのコンテナで運用している場合は、ベースイメージを新たに取得して再ビルドすることでパッチを反映させる必要がある。いずれの場合も、アップグレード完了後は PHP-FPM のマスタープロセスとすべてのワーカー、または Apache を必ず再起動し、新しいバージョンを適用する必要がある。 ただし、CVE-2026-115560 はパッチの適用だけでは対応が完了しない。パッチによってアップロード進捗機能のデフォルト設定は無効になるが、運用者がこの機能を再度有効にし、異なるシリアライズ方式で同じセッション保存先を共有すると、同様の不整合が依然として発生する可能性がある。したがって、パッチ適用後も、以下の緩和策で説明するセッション設定の確認を併せて行う必要がある。 2. 緩和策 すぐにアップグレードできない場合は、設定を変更することでリスクを軽減できる。ただし、これはパッチを適用するまでの暫定措置である。また、変更する設定がどのコンポーネントに属するかによって適用方法が異なる。PHP の設定を変更した場合は PHP-FPM または mod_php を使用する Apache を再起動する必要があり、nginx や Apache などの Web サーバーの設定を変更した場合は該当 Web サーバーに設定を再読み込みさせる必要がある。以下では、前述した順序に沿って、脆弱性ごとの緩和策を説明する。 1) Web サーバーと PHP-FPM 間の接続再利用を無効にする まず、PHP-FPM のリクエストスマグリング脆弱性である CVE-2026-129289 は、Web サーバーが PHP-FPM との接続を再利用しないようにすることで防止できる。nginx では fastcgi_keep_conn を、Apache では enablereuse を無効にし、リクエストごとに接続を閉じるようにする。これら2つの設定は PHP ではなく Web サーバー側の設定であるため、変更後は nginx または Apache の設定を再適用する必要がある。一部のコンテナイメージでは接続再利用がデフォルトで有効になっているため、コンテナで運用している場合はイメージに含まれる設定を直接確認することが望ましい。併せて、PHP-FPM がリクエストを受け付けるポートが外部や信頼できないネットワークに公開されていないかも確認する必要がある。 2) セッションのアップロード進捗機能を無効にする セッション関連の脆弱性である CVE-2026-115560 と CVE-2026-126714 は、共通してアップロード進捗機能を攻撃経路として利用する。したがって、この機能を使用していない場合は、session.upload_progress.enabled = 0 に設定して無効にし、ログインしていない攻撃者がセッションにデータを書き込む経路を遮断することが優先される。この設定は、コード内で ini_set() を使って変更しても手遅れになるため、php.ini、FPM プール設定、または仮想ホスト設定で変更する必要がある。 3) セッションのシリアライズ方式を統一し、セッション保存先を確認する 2つのセッション関連の脆弱性には、この共通対策に加えてそれぞれ異なる対応が必要である。CVE-2026-115560 はシリアライズ方式の不整合によって発生するため、セッション保存先を共有するすべてのアプリケーションで session.serialize_handler の値を統一するか、保存先自体を分離する必要がある。前述のとおり、パッチ適用後もアップロード進捗機能を手動で有効にしている場合はこの対策を引き続き実施する必要がある。一方、CVE-2026-126714 はシリアライズ方式が同じでも発生するため、方式を統一するだけでは防止できない。この脆弱性に対してはセッションに保存するユーザー入力を最小限に抑え、可能であれば保存時にレコード全体を置き換える方式のセッション保存先を使用することが望ましい。 4) PHP 起動時の警告を解消する タイムゾーンキャッシュに関する脆弱性である CVE-2026-129496 は、起動時の警告がファイルベースのエラーログに記録されることで発生するため、該当する警告を解消することが最も直接的な対策である。誤って記述された date.timezone の値や非推奨となっているセッション設定など、PHP の起動時にエラーログへ記録される警告をすべて解消したうえで再起動する。すぐにすべての警告を解消することが難しい場合は、エラーログの出力先をファイルから syslog に変更する方法もある。 5) セッションのクリーンアップ中に致命的なエラーが発生しないか確認する セッション終了処理に関する脆弱性である CVE-2026-129481 は、アプリケーションコードで致命的なエラーが発生することを起点とするため、ストリームのクローズ関数など、セッションのクリーンアップ中に呼び出されるコードで致命的なエラーが発生しないよう確認する必要がある。緊急時には、PHP-FPM で pm.max_requests=1 に設定し、リクエストごとにワーカーを新しく起動する方法もある。誤った参照が次のリクエストに引き継がれる前にワーカーが終了するためである。ただし、この方法は性能低下が大きい。 6) PHP 8.5 の致命的なエラーに関するバックトレース記録を無効にする PHP 8.5 にのみ該当する CVE-2026-129182 と CVE-2026-129474 は、いずれも致命的なエラーのバックトレース記録に起因するため、管理者レベルの設定で fatal_error_backtraces = 0 に変更し、この記録自体を無効にしたうえですべてのワーカーを再起動すれば、両方の脆弱性をまとめて防止できる。セキュリティアドバイザリで CVE-2026-129182 に対して提示されている暫定的な緩和策もこれであり、リクエスト単位の設定によってこの機能が再度有効にならないようにする必要がある。 7) 関数に渡された引数の値を記録対象から除外する バックトレース記録を無効にできない環境では、CVE-2026-129474 に限り、zend.exception_ignore_args = On に設定することで記録に関数に渡された引数の値が残らないようにする方法がある。この場合、コマンドライン実行用の設定だけを変更しても効果がないため、FPM プールの設定まで確認する必要がある。ただし、この設定は記録から引数の値を除外するだけであり、バックトレース記録自体を無効にするものではないため、CVE-2026-129182 の緩和策にはならない。また、display_errors=0 に設定して画面にエラーを表示しないようにするだけでは、いずれの脆弱性も防止できない点に注意する必要がある。 まとめ 今回の PHP セキュリティアップデートで修正された7件の致命的な脆弱性はすべて同じ 「Critical」 レベルに分類されているが、実際の危険度はそれぞれ大きく異なる。 最初に確認すべきなのは、PHP-FPM のリクエストスマグリング脆弱性である CVE-2026-129289 だ。Web サーバーが PHP-FPM との接続を再利用するよう設定されており、アプリケーションにリクエストボディを最後まで読み取らない経路が存在する場合、攻撃者は細工したアップロードリクエストを1回送信するだけでメモリ操作を行わずにリモートコード実行が可能になるためである。セッションのシリアライズ不整合に起因する CVE-2026-115560 も優先的に確認すべき脆弱性である。Guzzle や Monolog といった一般的なライブラリだけでもコマンド実行が実証されているため、アップロード進捗機能の有効/無効とセッション保存先の共有状況を必ず確認する必要がある。PHP 8.5 を運用している場合は、リモートコード実行が確認されたマジックメソッド関連の脆弱性である CVE-2026-129474 も優先度を上げて対応すべきである。 セッションファイルの上書きに関する脆弱性である CVE-2026-126714 についても、元の研究者はアプリケーションのガジェットチェーンを使用せずにリモートコード実行を実証したと報告している。ただし、プロセスを任意のタイミングで強制終了させるためには複数回の試行が必要であり、攻撃に使用された組み込みクラスの欠陥に関する詳細もまだ公開されていない。残りの脆弱性は、複雑な設定の組み合わせが必要であるか、コード実行に至るにはメモリアドレスを特定する必要があるため、相対的に攻撃難易度が高い。しかし、10月のパッチが不完全であり、わずか1か月後に再修正された事例からも分かるように、同様の問題は今後も発生する可能性がある。 したがって、最善の対応はシンプルである。直ちに最新バージョンにアップグレードし、それまでの間は上記の緩和策を適用することだ。今回の機会に、FastCGI の接続設定、セッション保存先の構成、起動時の警告など、普段あまり注目されない設定についても併せて点検することを推奨する。 出展 PHP 公式 ChangeLog : https://www.php.net/ChangeLog-8.php php-src セキュリティアドバイザリ、GitHub Security Advisories : https://github.com/php/php-src/security/advisories GHSA-qc49-hpvq-g2w6 : CVE-2026-129289 GHSA-658j-r8rw-q6mx : CVE-2026-115560 GHSA-fm2m-fjf5-v3cp : CVE-2026-126714 GHSA-gr4f-wgx5-jpfv : CVE-2026-129496 GHSA-g3vh-838c-65v7 : CVE-2026-129481 GHSA-2fjv-p558-g82m : CVE-2026-129182 GHSA-8mjj-2r7p-4hg2 : CVE-2026-129474 php[architect]、”PHP’s November security release: seven critical fixes, explained” : PHP Security Release Fixes Seven Critical Vulnerabilities | Exploitr depthfirst、CVE-2026-126714 の元研究 : https://depthfirst.com/research/phpaftershell PHP 8.5.12 セッションファイル保存処理コード : https://github.com/php/php-src/blob/php-8.5.12/ext/session/mod_files.c 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム 「 AhnLab TIP 」 サブスクリプションサービスを通して確認できる。
ASEC It hasn’t even been that long since PHP2Shell was disclosed—and now another PHP vulnerability? 2026-11-20
A Three-Line Summary for Those in a Hurry The PHP development team released a security update on November 19, 2026, that addressed seven critical-level vulnerabilities; no instances of these being exploited in actual attacks have been reported yet. Among these, request smuggling in environments that reuse connections between the web server and PHP-FPM, object injection via the session upload feature, and a memory error in PHP 8.5’s magic methods—all of which have been confirmed to lead to remote code execution—are the most critical. You should immediately upgrade to PHP 8.5.13, 8.4.28, 8.3.37, or 8.2.36 or higher. For versions 8.1 and below, for which no official patches are available, you should migrate to a supported version. If an immediate upgrade is not possible, you should apply temporary mitigation measures, such as disabling connection reuse and the upload progress feature. Glossary of Terms for Better Understanding Before Reading This article frequently uses terminology related to web servers and the internal workings of PHP. Familiarizing yourself with the terms below before reading the main text will make it easier to follow the flow. PHP-FPM: A separate program that receives and processes requests from the web server that require PHP code execution. Web servers such as Nginx or Apache communicate with PHP-FPM using a standardized format called FastCGI. Worker: A worker is a process that PHP-FPM keeps running in the background; a single worker processes multiple requests sequentially. As a result, traces left by a previous request can affect the next request handled by the same worker. Session: A feature that temporarily stores user-specific information on the server, such as login status. Users are assigned a “session ID,” and by default, PHP stores sessions in a file on the server. Serialization and Deserialization: Converting data within a program into a format suitable for storage is called serialization; converting that format back into data is called deserialization. The data restored in this process may include not only simple values such as numbers or characters, but also “objects”—entities for which specific code execution occurs when they are created or destroyed. During deserialization of characters created by a threat actor and their revival as objects, this is called object injection. Use-After-Free: This is an error where a program accidentally reuses memory that it has released after no longer needing it. If other data is already present in that location, the program may behave erratically or crash; if a threat actor has preemptively placed desired data there, this can lead to code execution. Overview At approximately 11:00 p.M. On November 19, 2026 (KST), the PHP development team released security patches for all supported versions. The patched versions are PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36, and the same fixes are included in version 8.6.0, which was released on the same day. The changelog for PHP 8.5.13 lists a total of 18 CVEs; one of these is a vulnerability in `uriparser`, a URI parsing library bundled with PHP, while the remaining 17 are vulnerabilities in PHP itself. Seven of these were classified as “Critical,” the highest severity rating. This update follows on the heels of the emergency Vulnerability Patch released a month ago in October to address the PHP2Shell remote code execution vulnerability. Some of the seven vulnerabilities in this update were re-fixed because the previous fixes were incomplete, while others are new issues of the same nature. Most of them require specific configurations or code patterns—rather than the default settings—to be exploited, but some are dangerous enough that, if the conditions are met, a threat actor could perform code execution on the server. As of November 19, 2026, there have been no reported instances of these vulnerabilities being exploited in actual attacks. They have also not yet been added to the “List of Actively Exploited Vulnerabilities” maintained by the US Cybersecurity and Infrastructure Security Agency (CISA). This article will discuss seven vulnerabilities classified as “critical.” First, we will explain the causes of vulnerability for each vulnerability. Next, we will outline the conditions under which each vulnerability occurs and what additional resources a threat actor must possess to cause actual damage. Finally, we will introduce patches and temporary mitigation measures. Causes of Vulnerabilities The seven vulnerabilities can be broadly categorized into three types based on their causes. One issue involving communication between the web server and PHP: a problem where the system incorrectly distinguishes where one request ends and the next begins Two cases involving incorrect interpretation of session data: an issue where data injected by a threat actor is converted into a program object during the process of reading stored sessions Four cases of reusing memory that has already been released: a memory error known in the security field as “Use-After-Free” Let’s examine the causes of the vulnerabilities in each category one by one. CVE-2026-129289: PHP-FPM Request Smuggling CVE-2026-129289 is a vulnerability caused by PHP-FPM failing to properly clean up leftover data from a previous request, resulting in that leftover data being mistakenly accepted as part of a new request. To improve performance, a web server can be configured to send multiple requests consecutively over a single connection to PHP-FPM, rather than establishing a new connection for each request; this issue arises in such connection-reuse environments. If a PHP application leaves the channel for reading the request body open without reading it to the end, the remaining portion of the body stays in the connection. If a user deliberately sends a request to upload a file with a malformed format, causing PHP to stop reading in the middle of the body, PHP-FPM—having forgotten how far it had read—will process the remaining portion as if it were a new request arriving over the same connection. A threat actor exploits this vulnerability by pre-embedding a fake request—formatted as a request—at the end of the body; within this fake request, the threat actor can freely specify which PHP file to execute and how to modify PHP settings. From the web server’s perspective, it has merely processed a single legitimate request, but PHP-FPM ends up executing the request hidden by the threat actor as well. This type of attack, in which one request is secretly embedded within another, is called “Request Smuggling,” and this processing mechanism has existed since 5.6.0. CVE-2026-115560: Session Serialization Method Mismatch CVE-2026-115560 is a vulnerability caused by the session storage and reading sides interpreting data differently; this discrepancy allows characters inserted by a threat actor to be utilized as program objects. PHP converts session data into text and stores it in a storage medium such as a file; there are several serialization methods that follow the rules for this process. The default method concatenates each session entry in the format “name|content,” inserting a vertical bar between the name and the content; when reading, if a vertical bar is encountered, the text up to that point is treated as the name, and the text following it is treated as the content. In contrast, other methods include one that records the number of characters in the name and reads the first that many characters as the name; in this method, even if a vertical bar appears within the name, it is treated simply as one of the characters comprising the name. There is no problem if the same method is used for both writing and reading a session, but issues can arise when multiple applications or multiple PHP-FPM pools share a single session storage. For example, the situation changes if the writer uses the character-count method while the reader uses the default method. This is because the reading side interprets the vertical bar—which was merely part of the name on the writing side—as a marker indicating that “the name ends here and the content begins,” and consequently reads the remaining characters following the vertical bar as session content, i.E., The data to be restored. Of course, this difference alone is not enough to enable an attack. Since the application typically determines what is stored in a session and under what name, a threat actor has no way to include a vertical bar and the desired characters in the session item’s name. The feature that opens this vulnerability is the one that records file upload progress in the session. This feature stores the progress of the file upload as a new entry in the session, creating the entry name by appending the values contained in the upload request directly to a fixed prefix that signifies “upload progress.” Furthermore, since PHP handles this storage automatically before code execution, even an unauthenticated threat actor can fill the session entry name with arbitrary characters simply by sending a single upload request. The threat actor appends object data—designed to perform the desired action when restored—to this name, separated by a vertical bar. To the writer, this is just a slightly odd-looking entry name, but the reader interprets the characters following the vertical bar as session content and restores them as-is. As a result, when the session is read, object injection occurs, causing the object designed by the threat actor to be instantiated. One of the October PHP2Shell vulnerabilities was also related to this upload progress feature. Some security firms refer to the CVE-2026-115560 vulnerability as the “third PHP2Shell” because it represents another Path that the fixes from that time failed to block. However, unlike the two October vulnerabilities—which stemmed from memory corruption caused by abnormal request termination—this vulnerability is fundamentally different in that it involves object injection via deserialization. In other words, while the attack vector and the ultimate damage (remote code execution) are the same, the mechanism by which the problem occurs is different. CVE-2026-126714: Partially Overwritten Session Files In some cases, PHP stores session files by overwriting existing content without deleting it. If the overwrite operation is forcibly interrupted, the new and old content become mixed, and this mixed content can be interpreted as a program object. The resulting vulnerability is CVE-2026-126714. By default, PHP stores sessions in files; if the new data is shorter than the existing file, it first clears the file before writing. However, if the new data is the same length or longer, PHP assumes the new data will overwrite all existing content anyway and overwrites the file starting from the beginning without clearing it first. While this approach usually poses no problem, if the process is forcibly terminated during the overwrite, the file ends up containing a mix of the beginning of the new data and the end of the previous data. If such a mixed file is read in the next request, the section where the new data and the previous data are concatenated can be interpreted as a serialized object. If a threat actor pre-designs both sets of data, they can create a desired object, which ultimately leads to object injection, as described earlier in CVE-2026-115560. However, unlike CVE-2026-115560, this vulnerability occurs even when both the writer and reader use the same default serialization method. CVE-2026-129496: Use-After-Free in the Time Zone Cache The four vulnerabilities introduced below are all “Use-After-Free” vulnerabilities, where issues arise from reusing memory that has already been deallocated. CVE-2026-129496 is a vulnerability caused by PHP failing to clear the location of time zone information that was briefly used and released when the application started; later, while processing a request, PHP assumes that information is still in that location and reads from memory that has already been released. PHP stores and reuses time zone information in memory so it does not have to look up new information every time it handles dates and times. However, if a warning message occurs during the PHP process startup and this message is logged to the file-based error log, the time zone information retrieved to generate the timestamp for the log entry is stored in temporary memory used only during the startup phase. This temporary memory is released once startup is complete. Normally, this isn’t a problem because the reference pointing to the location of the time zone information is cleared during the subsequent initialization process. However, if the warning is logged after that initialization has completed, the reference remains intact. Therefore, not all startup-phase warnings cause problems; only those logged to the file-based error log during the latter part of the startup phase are affected. If a newly spawned worker (process) processes its first request while this reference remains and then logs another warning, it will read from memory that has already been released. These startup-phase warnings typically occur when time zone settings are entered incorrectly or when session settings that are no longer recommended are used. CVE-2026-129481: Use-After-Free Due to Interruption During Session Termination CVE-2026-129481 is a vulnerability that occurs when PHP’s session cleanup process is interrupted by an error while processing and concluding a single session-based web request, leaving memory address information that should have been deleted intact. Any request that uses a session—such as when a logged-in user opens a page—undergoes this cleanup process at the end. When a session begins, PHP records the file name of the currently executing script file in the request memory and stores its location in an internal variable. This internal variable is cleared during the final step of session cleanup after the request ends. However, prior to that, PHP removes the values stored in the session one by one; during this process, code execution occurs for PHP code written by the web service developer—rather than PHP itself—which may be executed. This is because sessions can store not only simple values such as numbers or characters but also objects created by the developer, and these objects are often designed to clean up after themselves when they are destroyed. Since this cleanup code is written by the Service developer, the developer’s code is effectively executed at the moment PHP removes the session values. For example, if a developer has placed a custom file I/O channel in the session, code execution to close that channel will occur at this stage. If a fatal error occurs in that code that immediately halts execution, the cleanup process is interrupted before internal variables are cleared; meanwhile, the memory allocated for the request is released in its entirety, causing the internal variables to point to memory locations that no longer exist. This incorrect address information is used in the next request processed by the same worker, regardless of whether that request belongs to a different user. This vulnerability is a residual issue resulting from an incomplete fix for CVE-2026-109619, which was discovered in October, and affects PHP 8.3부터. CVE-2026-129182: Use-After-Free Due to Regeneration of Error Call Path; Affects PHP 8.5 Only CVE-2026-129182 is a vulnerability that occurred because PHP 8.5did not account for cases where error logs, which are normally cleared at the end of a request, are recreated during the subsequent cleanup process; the recreated logs remain until the next request, pointing to memory that will soon be released. When an error occurs in a program, a log can be created that traces back the sequence of functions called—which function called which function—up to the point where the error occurred. For example, if an order processing function calls a payment function, which in turn calls a card verification function, and an error occurs there, this sequence is recorded; simply put, this can be viewed as a “call path.” Starting with PHP 8.5, when a fatal error occurs, the call path is logged as well, and it is enabled by default. Since the call path is generated using request memory, the 8.5.12 patch released in October was designed to clear this path when the request ends. However, the patch overlooked the fact that if a fatal error occurs again during the cleanup phase following the clearing of the path, a new path is generated. So why might an error occur during the cleanup phase? In addition to server-wide default settings, PHP allows you to apply different settings to specific folders or Paths. When using path-specific settings, PHP changes the configuration only for the duration of requests to that path; once the request ends, it reverts to the server-wide settings for the next request. However, depending on the combination of settings—such as memory limits or output compression—a fatal error can occur during this rollback process. Examples include setting different memory limits for the entire server and a specific path, or enabling output compression server-wide while disabling it for a specific path. The memory allocated due to this error remains pointed to memory intended for the next request—which is about to be released—and is used by the next request processed by the same worker. CVE-2026-129474: Use-After-Free in Magic Method Error Path, Affects PHP 8.5에만 CVE-2026-129474 is a vulnerability in PHP 8.5 where it occurs when a fatal error happens at the moment a magic method intercepts a call and passes it to the actual processing function; as a result, a value pointing to memory that has already been deallocated is stored in the error log. Magic methods are special methods that PHP invokes on behalf of the program when a non-existent method is called. For example, even if a logging tool does not have a separate method called “logWarning,” if a program calls it by that name, the magic method can intercept the call and forward it to the function that actually handles the logging. In other words, it acts as an intermediary between the name called by the program and the function that actually performs the task. Therefore, they are frequently used in code that forwards incoming calls to the actual processing logic, such as in logging tools, database libraries, and Laravel’s facade functionality. If a fatal error occurs during the brief moment when the call is passed via a magic method, the call path described earlier is generated, and it includes the values passed to each function. The problem is that some of the values logged at that exact moment may point to memory locations that have already been released. A threat actor can manipulate the size of the request to cause PHP to exceed its memory limit at precisely this moment, triggering a fatal error. If other data is subsequently written to that freed memory location, PHP will read the log and use the new data instead of the original value; thus, a threat actor can exploit this by injecting arbitrary data into that location. However, the call path may log only which functions were called, or it may also log the values passed to each function; which option is used is determined by configuration. This vulnerability occurs only when the log is configured to record passed values. This is because if passed values are not logged, the log will not contain any values pointing to the returned memory. Trigger Conditions and Exploitation Conditions The mere presence of a vulnerability does not guarantee a successful attack. Here, we will examine this in two stages. Trigger Conditions: What server settings, application code, and request sequence must be in place for the bug to actually occur? Exploitation Conditions: Once the bug occurs, what else is required for a threat actor to turn it into actual damage, such as code execution? CVE Supported versions for which a fix has been provided Attack Location Trigger Conditions Exploitation Conditions Maximum Confirmed Damage CVE-2026-129289 FPM Request Smuggling 8.2~8.5 Remote, no login required FastCGI connection reuse enabled + application Path that does not read the entire request body + manipulated upload request Only the path to a single PHP file on the server is required Remote Code Execution CVE-2026-115560 Session Serialization Mismatch 8.2~8.5 Remote Upload progress feature enabled + Different serialization methods used by parties sharing the session store Target session ID + gadget chain within the application Command execution CVE-2026-126714 Partial Overwrite of Session File 8.2~8.5 Remote, no login required File-based sessions enabled + Forced termination of the process while overwriting data that is the same length as or longer than the existing data Specify session ID + Stop writing at desired point + Mixed data design + Memory corruption flaw in built-in PHP class Remote Code Execution , as reported by the original researcher CVE-2026-129496 Time Zone Cache UAF 8.2~8.5 Remote, limited to process termination A warning during the latter part of the startup phase is logged in the file error log + Warning occurs on the first request of a new worker Code execution requires identifying memory addresses + manipulating memory layout + additional configuration depending on the execution environment Process crash via remote request; code execution achieved in a test environment where memory addresses were known CVE-2026-129481 Session Termination UAF 8.3~8.5 Remote; varies depending on the application architecture A fatal error occurs in code called during session cleanup The next request must be routed to the same worker Use-After-Free reproduction; process crash mentioned as a possible impact CVE-2026-129182 Call Path Log Replay UAF 8.5 Remote; special configuration required Failure to restore cleanup phase settings + warning early in the next request; in FPM, configuration is required for the web server to pass PHP settings The method and conditions for code execution have not been disclosed Process crash and code execution were not demonstrated CVE-2026-129474 Magic Method UAF 8.5 Remote; the demonstrated Path does not require login Configuration that logs values passed to functions + memory limit exceeded while entering the magic method Adjusting request size + identifying memory addresses Remote code execution [Table 1] Investigation Details for 7 Critical Vulnerabilities The second column of the table does not represent the full scope of the vulnerabilities but rather the supported versions for which official fixes were recently released. In many cases, the vulnerabilities themselves have existed for much longer. Since the same behavior was present in CVE-2026-129289 starting with PHP 5.6.0, in CVE-2026-115560 starting with 5.4.0, and in CVE-2026-126714 starting with 4.1.0, even older versions that are no longer supported may be affected. As shown in the table, the severity varies significantly from vulnerability to vulnerability. Each is explained in detail below. CVE-2026-129289: The Easiest Vulnerability to Exploit, Provided the Configuration is Correct Trigger Conditions The web server must be configured to reuse connections with PHP-FPM without closing them. Nginx, Apache, and HAProxy all allow this connection persistence feature to be enabled, and this scenario applies when that feature is active. Additionally, the application must have a path that opens the request body but does not read it to the end, and the threat actor must send a malformed upload request to that path. If the framework leaves the input stream open before routing or authentication, this condition can be met even on pages that do not use the request body. Conversely, typical Nginx and Apache configurations that close the connection after each request are not affected. Exploitation Conditions If all of the above conditions are met, the only additional information a threat actor needs is the Path to a single PHP file actually present on the server. If a hidden, fake request is sent to change the PHP configuration and instruct the server to execute the request body as PHP code first, the code contained in the body will be executed as-is. Since there is no need for sophisticated memory manipulation or precise timing, the success rate is very high. Furthermore, this altered configuration may persist for subsequent requests handled by the same worker. However, this chain of events leading to code execution has only been confirmed in cases where FastCGI connections are reused. LSAPI, which the LiteSpeed web server uses to communicate with PHP, also contains the same flaw: it fails to clean up the remaining body after reading it. However, since LSAPI uses a different communication format than FastCGI, the attack vector is different. To date, only request mixing has been confirmed in LSAPI, and code execution has not been proven. CVE-2026-115560: A Dangerous Session Vulnerability That Can Be Exploited Even with Common Libraries Trigger Conditions The feature that logs the progress of files being uploaded to the session must be enabled, and the writer and reader of the same session must use different serialization methods. This mismatch occurs when an application changes its serialization method immediately before starting a session, or when applications, FPM pools, and virtual hosts—each configured with different serialization methods—share the same session storage folder. Note that simply splitting FPM pools does not automatically split the session storage. This problem does not occur if all components use the same method. Exploitation Conditions First, a threat actor must be able to know or specify the ID of the target session. Next, there must be a gadget chain within the application reading the session. A gadget chain is a technique that links together pieces of code that automatically execute when an object is created or destroyed to produce the desired behavior. In fact, command execution was demonstrated using the Guzzle and Monolog libraries, which are frequently installed via Composer, a PHP package manager. Since these libraries are very common, this condition is met more easily than one might think. CVE-2026-126714: Vulnerability Reported to Allow Remote Code Execution Without Application Code Trigger Conditions The file-based method—PHP’s default session storage method—must be used, and the process must be forcibly terminated while overwriting an existing file with data of equal or greater length. A threat actor must be able to manipulate the session contents through features such as file upload progress or long user inputs stored in the session. The serialization methods used for writing and reading do not need to differ. As a method for forcing the process to terminate, the security advisory cited a scenario in PHP built with multithreading where another thread exceeds the memory limit, causing the entire process to terminate. The researcher who first discovered this vulnerability also reported other methods. By holding multiple requests to upload in queue to fill the web server’s available memory to its limit, a well-timed request caused the worker writing to the session to exceed that limit. The operating system then forcibly terminates that worker to prevent a memory shortage. Exploitation Conditions The threat actor must first be able to specify a session ID to which data will be written, and the application must later read from a session with that same session ID. In the researchers’ reproduction of the exploit, they used the “upload in progress” feature while logged out to upload data to a file with a session ID specified by the threat actor; subsequently, when the application initiated a session with that same session ID, the mixed data was read. Additionally, the layout must be designed so that the exact desired object is created when the old and new data are mixed, and the save operation must be made to stop at the desired point. Even in the researcher’s reproduction, it took approximately 10 attempts to achieve the desired state. The researcher reported demonstrating remote code execution by combining the injected object with a memory corruption vulnerability in a built-in PHP class. Therefore, the attack is possible even if the application lacks a gadget chain. However, the details of the built-in class used in the combination and its vulnerability have not been disclosed, so external verification is not possible. The security advisory describes this mechanism and lists remote code execution as the impact. CVE-2026-129496: A Vulnerability Where Process Termination is Easy but Code Execution is Difficult Trigger Conditions In a typical single-threaded PHP build, a startup-phase warning must be logged to PHP’s file-based error log. This warning must be logged after the initialization that clears the timezone reference—that is, during the latter part of the startup phase. Cases where the warning is logged only to PHP-FPM’s own log do not qualify. In that state, before a newly spawned worker completes its first request, a request that triggers a warning early in the request process must arrive. A typical example is a request that exceeds the upper limit on the number of input variables that can be contained in a single request. Since workers are spawned or restarted each time, such opportunities arise repeatedly. Exploitation Conditions The scope of proven damage from this vulnerability should be considered in two parts. First, stopping a worker is possible based solely on the conditions described above. The security advisory confirmed that, in a PHP-FPM instance meeting these conditions—with both the input variable limit and Nginx’s header size limit set to their default values—a single maliciously crafted remote HTTP request caused the worker to stop. Second, code execution was demonstrated in a test environment where the threat actor already knew the server’s memory addresses. To achieve code execution, the threat actor must know the memory addresses and arrange the memory layout as desired; additionally, the required configuration varies depending on the execution environment. The method reported for PHP-FPM requires configuring the system to pre-generate request parameters at the start of the request rather than when they are needed, as well as allowing cookie values to be included in the request parameters; it also requires allowing authentication headers larger than the default limit. Another method reported for Apache mod_php does not require changing these settings but instead requires allowing requests that transfer large amounts of data exceeding the memory limit and accepting large authentication headers. Operating systems have a protection mechanism that randomly changes memory addresses each time a program runs, making it difficult for threat actors to predict those addresses; however, no method for remotely bypassing this protection has yet been demonstrated. CVE-2026-129481: Vulnerability in Application Code Patterns Trigger Conditions A fatal error must occur in application code called during session cleanup. The demonstrated environment was PHP-FPM with the OPcache feature—which pre-compiles PHP code and stores it in memory—disabled, and the error occurred in the close function of a stream object stored in the session. If the file name of the script in question is stored in memory—where OPcache retains it for an extended period—it can bypass the Path by which memory allocated for the request is released. However, since uncached scripts can still be executed even when OPcache is enabled, it cannot be concluded that this vulnerability does not exist simply because OPcache is enabled. The security advisory also explains that OPcache alone cannot serve as a reliable countermeasure. Exploitation Conditions Subsequent requests must be routed to the same worker. The security advisory confirmed, through reproduction testing, only the phenomenon of reusing memory that had already been released. The worker freezing was described as a potential consequence of this, but no code execution demonstration was mentioned. CVE-2026-129182: Vulnerability Requiring a Specific Configuration Combination Trigger Conditions Two steps are required. First, a fatal error must occur while the settings are being restored to their original state at the end of a request. For example, this could happen if memory limit settings are configured differently for the entire server and for a specific path, or if output compression is enabled for the entire server but disabled for a specific path while a separate output handling function is specified for that path. Second, a warning must be triggered before the next request for the same worker is initialized. In Apache mod_php, this condition can arise due to directory-specific settings, but in PHP-FPM, it only applies when the web server is configured to pass PHP configuration values along with each request and those values trigger a warning. Since the bug requires the specific combination of settings described above to already exist on the server, it is unlikely to occur in typical configurations. Exploitation Conditions So far, the confirmed effects of this bug range from memory errors to process crashes. Although security advisories, such as CVE-2026-109619 from October, suggest it could lead to remote code execution, no code execution has been demonstrated using this vulnerability as an entry point, nor have the additional conditions required for such an exploit been disclosed. CVE-2026-129474: Vulnerability in PHP 8.5 Confirmed to Allow Remote Code Execution Trigger Conditions Call trace logging must be enabled in PHP 8.5; this feature is enabled by default. Additionally, call trace logging must be configured to log the values passed to functions. While PHP’s default setting logs passed values, the configuration file recommended by PHP for production environments is set not to log them. The application must be structured to pass calls via magic methods, and a fatal error must occur at that moment. In the demonstration, a request was sent to a page that receives JSON data and logs it via magic methods, with the request size adjusted so that the memory limit would be exceeded the moment the value to be logged was generated. Exploitation Conditions A threat actor must be able to manipulate memory usage patterns via request data and secure a memory address that can be written to even in environments where memory address randomization protection, as described earlier, is enabled. If the attempt fails, the worker will stop, or the request will terminate with a standard resource limit error. There is no need to upload a PHP file or specify a method name. The security advisory stated that remote code execution was confirmed in PHP 8.5 using this method. The fact that the attack could be carried out without logging in was specific to the path used in the demonstration; whether login is required may vary depending on the application path. Although Laravel’s facade functionality and some features of Magento were mentioned as relevant paths, it has not been proven that actual attacks are possible. Mitigation Measures 1. Patch The most reliable countermeasure is to upgrade to the latest version compatible with your current installation. This patch includes fundamental fixes for all seven vulnerabilities; the versions to upgrade to, depending on your branch, are listed in the table below. Current Version Target Upgrade PHP 8.5.x 8.5.13 or later PHP 8.4.x 8.4.28 or later PHP 8.3.x 8.3.37 or later PHP 8.2.x 8.2.36 or later PHP 8.1 or earlier No official patch → Must upgrade to a supported version [Table 2] Upgrade versions corresponding to the version series currently in use As shown in the table, no official patches are provided for PHP 8.1 and earlier versions. As explained earlier, some vulnerabilities exist even in older versions, so if you are using one of these versions, there is no fundamental solution other than migrating to a supported version series. Even if you are currently using 8.2, it is too early to rest easy. Since security support for PHP 8.2 is scheduled to end on December 31, 2026, even if you upgrade to 8.2.36 now, it’s a good idea to also make plans to migrate to a newer version series. During the upgrade process, you must also verify that the patches have actually been applied. Linux distributions such as Ubuntu and RHEL sometimes apply security fixes without changing the version number; this is known as a backport. Therefore, if you are using distribution packages, do not make assumptions based solely on the version number; instead, check the distribution’s security bulletins to confirm whether the relevant CVE has been fixed. If you’re running in a container environment like Docker, you’ll need to download a new base image and rebuild it for the patch to take effect. In any case, after completing the upgrade, you must restart the PHP-FPM master process and all workers—or Apache—for the new version to take effect. However, CVE-2026-115560 cannot be resolved by the patch alone. The patch changes the default setting for the upload progress feature to “off,” but if an administrator re-enables this feature and different serialization methods are used to share the same session store, the same inconsistency may still occur. Therefore, even after applying the patch, you must also verify the session settings as described in the mitigation steps below. 2. Mitigation Methods If upgrading immediately is difficult, you can reduce the risk by changing the settings. However, this is a temporary measure to hold off until the patch is available. Additionally, the method of application varies depending on where the changed settings are located. If you have changed PHP settings, you must restart PHP-FPM or Apache (if using mod_php); if you have changed the settings of a web server such as nginx or Apache, you must reload the configuration so that the web server can read the new settings. Below, we describe mitigation methods for each vulnerability, following the order discussed earlier. 1) Disable Connection Reuse Between the Web Server and PHP-FPM First, the PHP-FPM request smurfing vulnerability (CVE-2026-129289) can be prevented by ensuring the web server does not reuse connections with PHP-FPM. In nginx, disable `fastcgi_keep_conn`, and in Apache, disable `enablereuse` to ensure the connection is closed after each request. Since these are web server settings—not PHP settings—you must reapply the nginx or Apache configuration after making these changes. Since connection reuse is enabled by default in some container images, if you are running the application in a container, it is advisable to check the settings within the image directly. Additionally, you should verify that the port on which PHP-FPM listens for requests is not exposed to the outside or to untrusted networks. 2) Disable the Session Upload Progress Feature The session-related vulnerabilities CVE-2026-115560 and CVE-2026-126714 both use the upload progress Path as an attack path. Therefore, if you do not use this feature, you should disable it by setting `session.upload_progress.enabled=0` as a priority to prevent unauthenticated threat actors from writing data to the session. Since changing this via `ini_set()` within the code is already too late, you must modify it in `php.ini`, the FPM pool configuration, or the virtual host configuration. 3) Standardizing Session Serialization Methods and Inspecting Session Storage In addition to this common measure, each of these two session vulnerabilities requires a different response. Since CVE-2026-115560 arises from a mismatch in serialization methods, you must either set the `session.serialize_handler` value to the same value for all applications sharing the session store or completely separate the stores. As explained earlier, this measure remains necessary even after applying the patch if the upload progress feature has been manually enabled. In contrast, CVE-2026-126714 can occur even when the serialization method is the same, so standardizing the method alone is not sufficient to prevent it. To address this vulnerability, it is best to minimize the amount of user input stored in sessions and, whenever possible, use a session store that replaces the entire record when saving. 4) Summary of PHP Startup Phase Warnings CVE-2026-129496, a timezone cache vulnerability, occurs when startup warnings are logged to the error log; therefore, the most direct countermeasure is to eliminate those warnings. Clear all warnings logged in the error log during PHP startup—such as incorrectly set `date.timezone` values or deprecated session settings—and then restart the server. If it is difficult to eliminate all warnings immediately, you can also configure the system to send the error log to `syslog` instead of a file. 5) Check for Critical Errors During Session Cleanup Since the session termination vulnerability CVE-2026-129481 originates from critical errors in the application code, you must verify that no critical errors occur in code called during session cleanup—such as functions that close streams. As a quick fix, you can set `pm.max_requests=1` in PHP-FPM to launch a new worker for each request. This is because the worker will be terminated before any invalid references are passed on to the next request. However, this method results in significant performance degradation. 6) Disabling Call Stack Tracing for Fatal Errors in PHP8.5 Since CVE-2026-129182 and CVE-2026-129474, both specific to PHP 8.5, stem from the Path of fatal error call traces. Therefore, you can prevent both vulnerabilities by changing the setting to `fatal_error_backtraces = 0` in the administrator-level configuration to disable this logging entirely and then restarting all workers. This is also the temporary mitigation method recommended in the security advisory for CVE-2026-129182, and you must ensure that this feature is not re-enabled via request-level settings. 7) Excluding Values Passed to Functions from Logging In environments where call trace logging cannot be disabled, a workaround specific to CVE-2026-129474 is to set `zend.exception_ignore_args` to `On` to prevent values passed to functions from being logged. However, changing this setting only for command execution will not be effective; you must also verify the FPM pool configuration. However, since this setting only excludes passed values from the logs and does not prevent call stack logging itself, it does not serve as a mitigation for CVE-2026-129182. Additionally, note that simply setting `display_errors=0` to prevent errors from being displayed on the screen is not sufficient to prevent either vulnerability. Conclusion Although the seven critical vulnerabilities fixed in this PHP security update were all classified as “critical,” their actual risk levels vary significantly. The first vulnerability to examine is CVE-2026-129289, a PHP-FPM request smurfing vulnerability. This is because, if a web server is configured to reuse connections with PHP-FPM and the application contains a path that does not read the entire request body, a threat actor can perform remote code execution with a single manipulated upload request without needing to manipulate memory. CVE-2026-115560, a session serialization mismatch vulnerability, also warrants immediate attention. Since command execution has been demonstrated using common libraries such as Guzzle and Monolog, you must verify whether your application uses functionality for uploading files and whether session storage is shared. If you are running PHP 8.5, you should also prioritize CVE-2026-129474, a magic method vulnerability where remote code execution has been confirmed. The researcher also reported that CVE-2026-126714, a session file overwrite vulnerability, allowed for remote code execution without an application gadget chain. However, multiple attempts are required to force the process to terminate at the desired time, and the details of the built-in class flaw used in the attack have not yet been disclosed. The remaining vulnerabilities require complex configuration combinations or the discovery of memory addresses to achieve code execution, making them relatively difficult to exploit. However, as seen in the case where the October patch was incomplete and had to be fixed again just one month later, similar issues may continue to emerge. Therefore, the best course of action is simple: upgrade to the latest version immediately, and until then, apply the mitigation settings listed above. We also recommend taking this opportunity to review settings you might not normally pay attention to, such as FastCGI connection settings, session storage configuration, and startup warnings. Source Official PHP ChangeLog: https://www.php.net/ChangeLog-8.php Php-src Security Notice, GitHub Security Advisories: https://github.com/php/php-src/security/advisories GHSA-qc49-hpvq-g2w6: CVE-2026-129289 GHSA-658j-r8rw-q6mx: CVE-2026-115560 GHSA-fm2m-fjf5-v3cp: CVE-2026-126714 GHSA-gr4f-wgx5-jpfv: CVE-2026-129496 GHSA-g3vh-838c-65v7: CVE-2026-129481 GHSA-2fjv-p558-g82m: CVE-2026-129182 GHSA-8mjj-2r7p-4hg2: CVE-2026-129474 Php[architect], “PHP’s November security release: seven critical fixes, explained” : PHP Security Release Fixes Seven Critical Vulnerabilities | Exploitr Depthfirst, Original research on CVE-2026-126714: https://depthfirst.com/research/phpaftershell PHP 8.5.12 session file storage code: https://github.com/php/php-src/blob/php-8.5.12/ext/session/mod_files.c Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.
ASEC PHP Product Security Update Advisory 2026-11-19
Overview A security update addressing multiple vulnerabilities in PHP has been released. Affected Versions include PHP 8.2.0 through 8.2.35, 8.3.0 through 8.3.35, 8.4.0 through 8.4.27, and 8.5.0 through 8.5.12. Key Points The resolved vulnerabilities include a remote code execution vulnerability caused by a mismatch in PHP session serialization methods (CVE-2026-115560), a remote code execution vulnerability caused by partial overwriting of PHP session files (CVE-2026-126714), and a denial-of-service vulnerability (CVE-2026-127960) arising from the processing of PHP HTTP response headers. Additionally, a vulnerability involving the exposure of plaintext information during PHP’s processing of HTTPS and FTPS URLs (CVE-2026-128064), a vulnerability that allows signature verification to be bypassed due to a downgrade in the PHAR signing algorithm (CVE-2026-128090), and a use-after-free vulnerability occurring during the processing of PHP error trace information (CVE-2026-129182) have also been fixed. An HTTP request smuggling vulnerability (CVE-2026-129289) in PHP-FPM (High-Performance PHP Execution Environment), a local privilege escalation vulnerability caused by using the service after it has been disabled (CVE-2026-129291), and a cross-site scripting vulnerability occurring on the status page (CVE-2026-129292). In addition, there is an input validation vulnerability (CVE-2026-129438) occurring during PHP URI serialization processing, a remote code execution vulnerability (CVE-2026-129474) occurring during magic method error backtracing, a use-after-free vulnerability occurring during session termination processing (CVE-2026-129481), a remote code execution vulnerability caused by a use-after-free during time zone cache processing (CVE-2026-129496), a double-free vulnerability occurring during DOM XML serialization (CVE-2026-129501), a use-after-free vulnerability occurring in SOAP (Web Services Communication Specification) (CVE-2026-129506), an out-of-bounds memory read and write vulnerability occurring during PHP-CGI PATH_INFO processing (CVE-2026-129538), an information disclosure vulnerability in SOAP (CVE-2026-15353), and an integer overflow vulnerability in the uriparser library’s URI query processing (CVE-2026-48841) have been resolved. Response Updating to PHP 8.2.36 or later, 8.3.37 or later, 8.4.28 or later, or 8.5.13 or later will apply the Vulnerability Patch.
ASEC AI が狙うセキュリティの盲点:外部接点から侵害が相次いだ2026年10月 2026-10-29
AI が見つけたセキュリティの盲点 2026年10月、韓国と日本で相次いで公表された大規模なサイバー侵害事案の多くは、組織内部の基幹システムではなく、インターネットに公開された Web サービスやアプリのバックエンド API、外部委託先が提供する SaaS(メール配信やバックアップなど、外部事業者がクラウド経由で提供するサービス)など、組織の周辺にある接点が侵入の足掛かりとなっていた。同じ時期には、PHP や Node.js などの Web バックエンドランタイム、GitLab など広く利用されているソフトウェアで、認証なしにリモートコード実行が可能となる脆弱性が相次いで公開された。さらに、ARTEX などの AI エージェントが実際の攻撃に使われたとの報告も相次いだ。 韓国では9月末、大手銀行での被害を皮切りに、貯蓄銀行、信販・リース会社、相互金融機関、暗号資産事業者、保険会社へと被害が金融業界全体へと広がった。企業向け会計ソフトウェア事業者、大規模教会、大学、フランチャイズ企業など、金融業界以外でも情報漏えいが確認された。日本でも同時期に、数百万件から数千万件規模の個人情報漏えいが相次いで公表された。日本の関係機関も、公開されているアプリを解析し、接続先のバックエンドサーバーを狙う攻撃手法に警鐘を鳴らしている。 こうした傾向は、韓国と日本に限らない。同時期には米国、欧州、中南米でも、委託サービスや外部公開 Web サイトを経由した侵害、AI エージェントを利用した大規模な自動攻撃が報告されている。本稿では、報道、各機関の発表、セキュリティ企業のレポートを総合し、特に多くの事例が公表された韓国と日本を中心に共通する攻撃パターンを整理するとともに、同様の傾向が海外でも確認されていることを紹介する。そのうえで、企業が確認すべき予防策と対応策を提示する。なお、個々の事案の原因は現在も調査中である場合が多く、被害組織の名称は伏せ、報道で確認できる業種のみを記載した。 韓国の金融業界で相次いだ侵害 韓国の金融業界では9月末に大手銀行で被害が確認され、約1か月の間に業界全体へ広がった。金融当局によると、10月14日時点でサイバー攻撃の被害が確認された金融機関は、銀行、貯蓄銀行、信販・リース会社、相互金融機関、電子金融事業者、オンライン投資連携金融事業者、暗号資産事業者など計16社に上り、確認された個人情報の漏えい件数は約10万件だった。ただし、被害を受けた金融会社の数に比べると漏えい件数は比較的少なく、大規模なデータベース(DB)そのものが窃取されたのではなく、外部公開の照会サービスなどを介して個別の情報が不正に照会された可能性が考えられる。その後、10月26日には保険業界でも情報漏えいが報告された。 注目すべき点は、攻撃対象が預金や振込を処理する銀行の基幹システムではなかったことである。公開情報によると、融資仲介業者向けの専用照会サービス、従業員向け営業支援システム、共済関連の外部 Web ページなど、主要サービスを支える周辺システムが侵入経路となっていた。 区分 侵入経路・被害箇所 公表内容 金融機関 A 融資仲介業者向け専用照会サービス 認証を回避したうえで照会条件を繰り返し入力し、約2万5,000人分の融資関連情報が漏えい 金融機関 B 従業員向け営業支援システム(ODS) インターネットバンキングやモバイルバンキングとは分離されたシステムへの不正アクセスにより、89人分の情報が漏えい 金融機関 C 共済関連の外部 Web ページ 攻撃から2日後に被害を認識 [表1]韓国の金融機関で確認された主な侵害事例 金融当局が10月初旬に金融会社555社を対象に実施した緊急点検では、130社でセキュリティ対策の不備が報告された。主な問題は、最新のセキュリティパッチの未適用、サポートが終了したシステムの管理不備、24時間監視体制の未整備だった。攻撃者が新たな手法を用いたというよりも、管理の行き届いていない周辺システムが攻撃者に狙われたとみる方が実態に近い。 今回の金融業界への攻撃では、AI を利用した自律型ペネトレーションテストツール「ARTEX」の痕跡が確認された。韓国のセキュリティ業界は、攻撃に使われた Web サーバーから ARTEX に関連する文字列を確認した。また、CrowdStrike は、攻撃者のサーバー上で公開状態になっていたフォルダーから、ARTEX の設定ファイルと AI コーディングツールの作業記録を入手した。攻撃者は ARTEX に DeepSeek、GLM、Grok など複数の大規模言語モデル(LLM)を接続して使用していたと分析されている。ただし、攻撃者の身元や国籍は特定されていない。 金融業界以外にも広がる被害 同じ時期、金融業界以外でも情報漏えいが相次いだ。企業向け会計ソフトウェア事業者、大規模教会、コーヒーチェーン、大学、地方教育行政機関など、被害に遭った組織は多岐にわたるが、侵入経路・被害箇所はいずれも従業員の VPN アカウント、外部バックアップソリューション、クラウド上に残された一時ファイル、ポータルサイト、学習用クラウドアカウントなど、基幹業務システムの周辺にある接点だった。 区分 侵害箇所 公表内容 企業向け会計・ERP ソフトウェア事業者 従業員の VPN アカウント、外部バックアップソリューション VPN アカウントを使用して開発サーバーに不正アクセスし、バックアップソリューションの脆弱性を悪用して暗号化データの一部を持ち出した疑い 韓国政府は重大な事故と判断し、官民合同調査団を設置 大規模な教会 教会の情報システム 信徒約85万人の氏名や生年月日などを含む資料が漏えい コーヒーチェーン クラウドに残されていた一時データファイル 暗号資産のマイニングを目的とする不正アクセスの過程で約276万件が漏えい 過去のサービス改修時に作成された一時ファイルが原因 大学 ポータルサービス 在学生や卒業生など約1万人分の学籍番号、連絡先、メールアドレスが漏えい 教育庁 学習用クラウドアカウント 6つの地方教育行政機関で約11万のアカウントが不正アクセス被害 [表2]韓国の非金融分野で確認された主な侵害事例 このうち、企業向け会計・ERP ソフトウェア事業者の事例は、委託先を介して被害が広がるサプライチェーン上のリスクを示している。同社の会計プログラムは11万社以上の企業に利用されており、1件の侵害が顧客企業の従業員の給与情報や納税情報などに波及する懸念が指摘された。ただし、実際の漏えい範囲は現在も調査中である。コーヒーチェーンの事例では、以前のサービス改修用に作成された一時データファイルがクラウド上に残され、そこから情報が漏えいした。不要になったデータを削除せずに残しておくこと自体がリスクになることを示している。 10月下旬には、生成 AI を悪用したハッキング事件の容疑者が韓国で初めて摘発された。警察によると、犯行グループの首謀者は IT を専門に学んだ経歴はなくで、独学で技術を習得した後、セキュリティ企業でペネトレーションテスト業務に従事した経験があった。このグループは ARTEX と AI コーディングエージェントを組み合わせ、韓国企業約90社から個人情報など約820万件を窃取した。特に8月末からの44日間で60社を攻撃したという。警察は、この事件と金融業界の侵害事案との直接的な関連は確認されていないと説明した。 日本でも相次ぐ、周辺システムを狙った攻撃 日本でも同時期に、大規模な情報漏えいの公表が相次いだ。 日本のセキュリティ企業マクニカの集計によると 、日本国内で Web システムを通じた個人情報漏えいが公表された事例は、2026年10月6日までに119件に達し、2025年通年の84件、2024年の62件をすでに上回った。このうち81件は7月以降に発生している。 日本の関係機関は、アプリの解析を起点にバックエンドを狙う手法にも注意を促している。情報通信研究機構(NICT)は10月13日、公開されている Android アプリを解析し、接続先サーバーや API の構造を把握したうえでサーバー側の脆弱性を攻撃する手法を「A2B(App-to-Backend)攻撃」と呼んだ。主な標的となる脆弱性は、SSRF、リモートコード実行(RCE)、SQL インジェクション、IDOR/BOLA である。アプリ自体に欠陥がなくても、サーバー側の API に問題があれば情報漏えいにつながる。JPCERT/CC も10月8日、既知の脆弱性の探索、アプリ解析を通じた管理用 API の悪用、BI ツール「Metabase」の SQL インジェクション脆弱性(CVE-2026-72898)の悪用、Web シェルの設置を主な攻撃類型として挙げた。ただし、両機関とも個別の被害企業を特定していないため、特定の事案を A2B 攻撃と断定することはできない。 区分 侵入経路・被害箇所 公表内容 ソフトウェア販売事業者 会員情報照会 API API が4日間不正利用され、パスワードを含む会員情報が最大約2,252万件漏えいした可能性 大手ディスカウントストア アプリ、オンラインストアのサーバー サービスを構成するソフトウェア機能を不正利用して侵入され、最大約173万人分の情報が漏えい SaaS 企業 メール配信 SaaS の API サーバー 2台の API サーバーでコマンドが実行され、全契約者の情報と一部顧客の配信先リストが持ち出された 食品ブランドの日本法人 委託先の EC プラットフォーム 委託先サーバーのソフトウェア脆弱性が悪用され、約314万件が漏えい 百貨店グループ 予約サイト → 顧客管理システム 予約サイト経由で顧客管理システムにアクセスされ、グループ共通 ID の会員のほぼ全員に当たる約126万件が漏えい ニュースプラットフォーム 業務用管理ツール 管理ツールの脆弱性により、メールアドレスなど最大約32万3,000件が漏えいした可能性 電子書籍サービス システムログファイル 会員 DB の319件に加え、ログファイルに残っていた情報が最大約420万件漏えい 証券会社 委託先の FAQ システム 問い合わせ管理用の外部サービスが侵害され、約11万人分の情報が漏えいした可能性 クラウド事業者 クラウドインフラ ランサムウェア攻撃により、自治体や企業など495の顧客組織で障害が発生 [表3]日本における主な情報漏えい事例と侵入経路・被害箇所 日本の事例でも、多くは基幹システムではなく周辺システムが侵入口となっていた。特に百貨店グループの事例は、単一の予約サイトへの侵害がグループ共通 ID の会員全体に影響を及ぼしたケースである。電子書籍サービスの事例は、会員 DB を保護していてもログに同じ情報が残っていれば漏えいにつながり得ることを示している。 ARTEX の使用は日本でも確認されている。 日本のセキュリティ企業「GMO サイバーセキュリティ by イエラエ」は10月19日、日本国内の企業を攻撃したインフラから ARTEX の使用痕跡を確認したと発表した。 同社が攻撃対象として確認した企業のうち8社は、9月から10月にかけて情報漏えいを公表している。ただし、企業名は公開されておらず、韓国での攻撃と同じ攻撃者によるものだとする根拠もない。現段階では、韓国と日本の双方で同じツールが使われたことが確認されているにとどまる。 短期間に相次いで明らかになった重大な脆弱性 10月第3週には、Web やインフラを支える基盤ソフトウェアで、深刻な脆弱性が数日のうちに相次いで公表された。その多くがインターネットに直接公開される構成要素だったことから、外部に公開されたシステムのリスクを一層高めた。 分野 対象 CVE 影響 対策 Web ランタイム PHP CVE-2026-109618, CVE-2026-109619 (CVSS 9.2) 認証なしでのリモートコード実行(PHP2Shell) 8.5.12、8.4.27、8.3.36、8.2.35 以降にアップデート。8.1 以前はサポート対象バージョンへ移行 正式なパッチの適用までは session.upload_progress.enabled=0 を設定 Web ランタイム PHP CVE-2026-115560 (CVSS 未公表) 特定のセッション設定におけるリモートコード実行 正式なパッチの適用までは session.upload_progress.enabled=0 を設定 開発プラットフォーム GitLab CE/EE CVE-2026-110264 (CVSS 10.0) 正規表現コンパイラの整数オーバーフローにより、認証なしでリモートコード実行が可能 GitLab 7.0(2014年)以降に影響 19.5.1、19.4.3、19.3.6、19.2.9、19.1.9、19.0.10、18.11.13 以降 サーバーランタイム Node.js 22·24·26 CVE-2026-111497 (CVSS 9.2) Brotli デコーダーの境界外書き込みによりリモートコード実行が可能(Node2Shell) 22.23.4、24.22.1、26.12.1 以降 DNS Unbound 1.22.0~1.26.1 CVE-2026-97206 (CVSS 7.5) DNS-over-QUIC の使用時にリモートからサービス拒否(DoS)攻撃が可能 1.26.2 以降に更新、または DoQ を無効化 DNS ISC BIND 9 CVE-2026-19630 외 3건 (CVSS 7.5) サービス拒否(DoS)、GSS-TSIG のメモリ破損(CVE-2026-94300、リモートコード実行の可能性) 9.20.30、9.21.27 以降 PKI eMudhra の中間 CA 8件 該当なし 秘密鍵が容易に復元可能な状態で生成されており、証明書の偽造が可能 ブラウザー、OS、ランタイムの信頼ストアを更新 PKI Oracle Java JSSE CVE-2026-91403 (CVSS 9.1) eMudhra 関連の中間 CA を信頼対象から除外する Java アップデート Java SE、GraalVM の最新アップデートを適用 ファイル共有 Windows SMB Server CVE-2026-96325 (CVSS 7.5) 認証なしでリモートからサービス拒否(DoS)攻撃が可能 10月の月例セキュリティ更新プログラムを適用 [表4]2026年10月に公表された主な脆弱性 PHP2Shell の事例は、脆弱性が明らかになってから対処するまでの猶予が短くなっていることを浮き彫りにした。脆弱性情報はパッチの配布前に外部へ流出しており、Amazon の脅威インテリジェンス部門は、正式公表の4日前に当たる10月17日の時点ですでに攻撃の試みを検知していた。韓国でも政府が10月22日、民間分野のサイバー危機警報を「関心」から「注意」に引き上げた。このため、パッチ適用済みのサーバーであっても、情報公開の前後におけるアクセスログと Web シェルの設置有無を併せて確認する必要がある。 Oracle Java の CVE-2026-91403 は、コードの不具合を修正する一般的なパッチではなく、信頼性が損なわれた eMudhra の中間 CA 証明書を Java が信頼しないようにする更新である。ブラウザー側でブロックされていても、Java のように独自の信頼ストアを持つランタイムや旧式のクライアントは別途更新が必要となる。PKI に関する問題は、サーバーの更新だけで対処できるとは限らない。 脆弱性の発見においても、AI の役割が拡大している。BIND の CVE-2026-94300 は OpenAI に所属する研究者が報告し、Node.js の公式告知では CVE-2026-111497 が OpenAI Codex Security の成果として記録されている。これらは防御側による正当な脆弱性研究だが、同様の能力が攻撃側にも利用され得ることを踏まえると、脆弱性の公開からパッチ適用までに確保できる時間は、今後さらに短くなるおそれがある。 エージェンティック AI を悪用した攻撃、実証から実際の侵害へ AI エージェントが偵察から脆弱性の探索、侵入、Web シェルの設置までを自律的に進める攻撃が、実際の被害事例でも確認されるようになった。10月に公表された主な報告は次のとおりである。 報告元 ツール 公表内容 CrowdStrike (10月 7日) ARTEX 韓国の金融機関を攻撃した攻撃者のサーバーで、AI コーディングツールの作業記録と ARTEX の設定ファイルを確認 DeepSeek、GLM、Grok を使用した形跡 AhnLab ASEC (10月 15日) ARTEX および 亜種 インターネットに公開された ARTEX 運用システムの IP アドレス600件を追跡。10月14日時点で900件以上に増加 一部のホストのオープンディレクトリから、Web シェルへのコマンド送信、内部 RDP 中継、内部ネットワークのスキャン結果など、攻撃運用に関する資料51件を入手 元のリポジトリ削除後に名称や UI を変更して再配布された版と、韓国語にローカライズされた痕跡も確認 NorForge, Reuters (10月 19日) Cairn 外部に公開された Cairn の管理画面を調査した結果、最大規模のクラスターで1,100件以上の攻撃プロジェクトを確認 1,200件以上のサイトを攻撃し、100社以上の企業 Web サイトを侵害。トークン費用は合計約5,000米ドル GMO イエラエ(10月19日) ARTEX 日本企業への攻撃に使用されたインフラで ARTEX の使用を確認 Microsoft (10月 21日) ARTEX 中国との関連が指摘されるグループ「Storm-0940」が ARTEX を使用し、世界中の数百の組織を攻撃 米国の IT 管理サービス企業のクラウドバックアップアプリの ID を悪用して2,250以上の Microsoft 365 テナントへのログインを試み、一部では最初の標的設定から3時間以内にクラウドの特権アクセスを獲得 CrowdStrike (10月 21日) さまざまなエージェントハーネス 5~8月に観測された新たな脅威アクター4組を公表 アルゼンチンの医療機関少なくとも15施設への侵害を含む 4組とも商用 AI の安全対策を回避 [表5]エージェンティック AI を悪用した実際の侵害事例に関する報告 AhnLab では、ARTEX を独立したテスト環境で再現し、人の操作を介さずにどこまで侵入できるかを検証した。セキュリティの専門知識がないユーザーでも入力できる「対象のシステムに侵入して」といった短い指示を与えただけで、ARTEX は人間の介入なしに Web サーバーのファイルアップロード機能を見つけ、Web シェルを介してプログラムを実行した。Apache ActiveMQ が公開された環境では、既知の脆弱性(CVE-2023-46604)を利用して初期侵入を果たした後、内部ホスト4台でリモートコマンドを実行する段階にまで達した。どちらの実験でも、新しい攻撃手法ではなく、公開サービスの脆弱性や設定不備が悪用された。これは、AI エージェントがまず外部に公開された弱点を狙うという本稿の見方を裏付けている。 また、元の GitHub リポジトリが削除された後も、ARTEX は複数の運用者によって名前や画面を変えながら再利用されている。AhnLab が確認した再配布版には、DeepSeek、GLM、Kimi、Claude など複数の LLM に関する設定のほか、認証なしで悪用できる EC プラットフォームの脆弱性(CVE-2026-75650)の公開 PoC を実行し、IRC ベースの遠隔操作コードを仕込んだ痕跡が残されていた。開発者が公開を中止しても、ツールの拡散は止まらないことを意味している。 これらの報告から見えてくる変化は、攻撃の低コスト化である。Cairn の事例では、運用者は100文字にも満たない中国語の指示文を入力しただけで、その後はエージェントが人間の監督なしに各サイトでコードを実行する方法を探し、Web シェルを設置した。脆弱性の探索、攻撃経路の試行、ペイロードの修正、失敗後の再試行など、これまで熟練者が必要だった反復作業を、エージェントが何時間も連続して処理するようになっている。オープンウェイトの AI モデルと無償公開されたエージェントフレームワークを容易に組み合わせられるようになり、かつては高度な技術を要したサイバーサイバー攻撃を仕掛けるための技術的なハードルが大幅に下がった。韓国で逮捕された IT 非専攻者のハッカーの事例も、こうした変化を示している。攻撃作戦の実行コストも、それに伴って急速に下がっている。 Microsoft の事例は、この種の攻撃がどこに向かっているかを示している。Storm-0940 によるパスワード総当たり攻撃では、1分間に最大2,900回のログイン失敗が発生したものの、成功した試行は1件もなかった。実際の侵入は、顧客がすでにアクセス権限を許可していた委託サービスのアプリ ID を通じて行われた。認証そのものは突破されなかったが、すでに信頼されていた外部サービスとの接続が侵入口になったのである。 ARTEX のようなツールが韓国の金融業界の事案に実際にどの程度関与していたのかは、現在も調査中である。ただし、公開された報告だけを見ても、AI エージェントによる攻撃が仮説の段階を超え、実際の侵害に使われていることは明らかだ。また、公表された事例は全体の一部にすぎない可能性が高い。 共通するパターン:突破されたのは外部接点だった 韓国と日本の事例を比較すると、ほぼ同じパターンが見えてくる。厳重に保護された内部の基幹システムではなく、外部に公開されたアプリのバックエンド API、予約サイト、管理ツール、委託先の SaaS といった周辺の接点が侵入口になった。本稿でいう「外部接点」とは、外部に公開された攻撃対象領域(External Attack Surface)に加え、サプライチェーンや第三者との接点も含む概念である。 外部接点の種類 韓国の事例 日本の事例 共通する弱点 外部公開のアプリ・バックエンド API 融資仲介業者向け専用照会サービス 会員情報照会 API、アプリ・オンラインストアのサーバー 認証・認可の検証不足、反復的な照会の未検知 付随する Web サービス 共済関連の外部 Web ページ、大学のポータル 百貨店の予約サイト 本来のサービスより低いセキュリティ水準、基幹 DB との接続 管理・業務ツール 従業員向け営業支援システム 業務用管理ツール、BI ツール 外部からのアクセスが可能、パッチ適用の遅れ 委託先 SaaS・サプライチェーン 企業向け会計ソフトウェアのバックアップサービス メール配信 SaaS、委託先の EC プラットフォーム、委託先の FAQ システム 一度の侵害が多数の顧客企業に拡散 アカウント・認証情報 従業員の VPN アカウント、学習用クラウドアカウント 業務用クラウドアカウント、管理者アカウント 弱い認証、多要素認証の未導入 放置されたデータ クラウドに残った一時データファイル システムログファイル、退職者のデータ 保存期間を過ぎたデータの未削除 [表6]外部接点の種類別に見た韓国と日本の事例比較 この分析結果は、AI エージェントを使った攻撃の技術的特徴とも一致する。自律型の攻撃エージェントは、堅牢に防御された基幹システムを正面から突破するよりも、広範な外部攻撃対象領域を自動的に網羅してスキャンし、対策が手薄になりがちな周辺システムの弱点を繰り返し突く。公開から時間がたった N-day 脆弱性、設定ミス、弱い認証などが典型的な標的となる。人手では後回しにされがちな小さな付随サービスも、低コストで動く AI エージェントなら広く探索できてしまう。 さらに厄介なのは、侵害がその接点だけで終わらないことだ。予約サイトからグループ共通の会員 DB へ、委託先のバックアップサービスから数万社の顧客データへ、委託先アプリの ID から顧客のクラウドテナントへと被害が広がった事例が、それを示している。小規模に見える外部接点であっても、重要なデータへ到達する経路になり得る。 予防策:外部に公開された資産を洗い出す まず必要なのは、自社がインターネット上に公開しているシステムやサービスを正確に把握することだ。攻撃者は AI エージェントを用いて外部攻撃対象領域を網羅的に調査しているため、防御側も同じ視点から資産を把握し直す必要がある。特に、本来のサービスに付随するサービス、キャンペーンページ、管理ツール、アプリが呼び出す API など、これまで管理の優先順位が低かった資産から点検すべきである。 分野 確認事項 外部公開資産の管理 インターネットに公開されている Web サービス、API、管理ページ、リモートアクセスの接点を漏れなく一覧化し、管理責任者を指定する。 使用していないサービスやテストサーバーへの外部アクセスを遮断する。 アプリのバックエンド API アプリはいつでも解析され得ることを前提とする。すべての API リクエストについて、サーバー側での認証とオブジェクト単位の認可を検証し、アプリ内に API キーや認証情報を埋め込まない。 ユーザーごとの照会件数に制限を設け、異常な反復照会を検知する。 管理・業務ツール 管理ページ、BI ツール、営業支援システムには外部から直接アクセスできないようにする。やむを得ない場合は、接続元 IP アドレスの制限と多要素認証を適用する。 これらのツールから業務用 DB にアクセスできる範囲を最小限に抑える。 委託先 SaaS・サプライチェーン 委託先が保有するデータと接続権限を一覧化する。 委託先アプリに付与したクラウドの権限(OAuth による同意など)を定期的に確認し、侵害発生時の通知手順を委託契約に明記する。 アカウントと認証 VPN、リモートアクセス、業務用クラウドアカウントにはフィッシング耐性のある多要素認証を適用する。 外部で流出した認証情報を使う攻撃に備え、ログイン失敗の急増や通常とは異なる地域からのアクセスを検知する。 パッチ適用とサポート終了 インターネットに公開されている構成要素(PHP、GitLab、Node.js、DNS サーバーなど)には、脆弱性の公開当日に対応することを目標とした特別な手順を設ける。 サポートが終了したシステムは更新・置き換えの計画を立て、それまでの間は外部公開を減らす。 データの最小化 保存期間を過ぎた会員情報、退職者情報、開発用の一時ファイル、個人情報が残されたログを整理する。 保有していないデータが漏えいすることはない。 検知とセキュリティ監視 外部接点のログを基幹システムと同じ水準で収集し、24時間の監視対象に含める。 Web サーバーがシェルやダウンロードツールを実行するなど、侵入後の活動を検知するルールを運用する。 [表7]外部接点を中心とした予防点検項目 AI エージェントを利用した攻撃では、その速度の速さにも注意が必要である。最初の標的設定から特権アクセスの獲得まで3時間もかからなかった事例もある。手作業で点検し、数日以内にパッチを適用する従来のサイクルでは、対応が間に合わない可能性がある。Web アプリケーションファイアウォール(WAF)のルールを先行して適用したり、公開資産へのアクセスを直ちに遮断したりするなど、自動化された対応手段をあらかじめ整備しておく必要がある。一方、防御側も AI を用いた脆弱性点検を活用し、攻撃者に先んじて外部接点の弱点を見つけ出すことが望ましい。 対応:侵害が疑われる場合 サイバー侵害では、初動対応の速さによって被害規模が大きく変わる。今回の事例でも、攻撃から数日後になって初めて被害を認識したケースがあり、その間に情報漏えいが拡大した可能性もあった。 段階 対応内容 初 期対応 攻撃元 IP アドレスと悪用されたアクセス経路を遮断し、該当サービスを隔離する。 証拠を保全するため、サーバーを直ちに初期化せず、ログ、メモリ、ディスクイメージを先に取得する。 影響範囲の確認 侵害された外部接点から接続可能な DB、内部システム、委託先システムまで、アクセスの痕跡を追跡する。 脆弱性情報が正式公表前に流出した可能性も考慮し、公表日より前にさかのぼってログを確認する。 認証情報への対応 侵害経路に関係するアカウント、API キー、アクセストークンを失効させ、再発行する。 Web シェルなど、攻撃者がアクセスを維持するための仕組みが残されていないか確認する。 届出・報告 韓国では、情報通信網法に基づき、侵害を認知してから24時間以内に科学技術情報通信部または韓国インターネット振興院(KISA、電話118)へ届け出る。個人情報が漏えいした場合、個人情報保護法に基づき、原則として認知後72時間以内に本人へ通知するとともに、個人情報保護委員会または KISA へ報告する。金融会社は金融監督院に報告し、犯罪被害については警察庁のサイバー捜査部門に届け出る。 二次被害の防止 漏えい情報を悪用したフィッシング、スミッシング、認証情報の使い回しを狙う攻撃が続く可能性があるため、利用者にパスワードの変更やなりすまし連絡への注意を呼びかける。 攻撃者からの金銭要求には応じず、捜査機関と協議する。 [表8]侵害が疑われる場合の段階別対応手順 守るべき範囲を見直すとき この1か月の事例から見えてくるのは、守るべき範囲を見直す必要性だ。これまで多くの組織は基幹システムを中心に防御を設計してきたが、攻撃者はその外側にある小さな接点を見つけて侵入した。AI エージェントによって、その探索はより低コストかつ高速になり、規模が小さいために管理の優先順位が低かった資産が真っ先に標的となった。 これからのセキュリティ対策では、「何を最も厳重に守るべきか」だけでなく、「攻撃者はどこから侵入できるのか」を最初に問い直す必要がある。外部公開資産の管理、API の認証と認可、委託先との接続管理、多要素認証、迅速なパッチ適用、データの最小化は、決して新しい対策ではない。しかし、今回の事案は、こうした基本的な対策を外部接点まで漏れなく適用しなければ、AI を悪用する攻撃者にその隙を突かれかねないことを明確に示した。本稿が AI を利用した自動攻撃と外部接点からの侵害に焦点を当てた理由も、そこにある。 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム 「 AhnLab TIP 」 サブスクリプションサービスを通して確認できる。
ASEC The Weak Link Identified by AI: October 2026, When the Outer Contact Point Collapsed 2026-10-28
Security Blind Spots Identified by AI The large-scale data breaches disclosed in quick succession in South Korea and Japan in October 2026 mostly originated not from internal core systems, but from peripheral entry points such as externally exposed web services, app backend APIs, and outsourced SaaS (services provided by third-party vendors via the cloud, such as email delivery or backup). During the same period, vulnerabilities allowing unauthenticated remote code execution were disclosed one after another in widely used software such as web backend runtimes (e.G., PHP and Node.Js) and GitLab, and there were also numerous reports that AI agents, such as ARTEX, were used in actual breach operations. In South Korea, starting in late September, a series of breaches swept through the financial sector—beginning with commercial banks and extending to savings banks, finance companies, mutual financial institutions, virtual asset service providers, and insurance companies—while data breaches were also confirmed in the non-financial sector, including corporate accounting software providers, large churches, universities, and franchise chains. In Japan, announcements of personal data breaches ranging from several million to tens of millions of records were made during the same period, and Japanese government agencies identified a method involving the analysis of publicly available apps to attack backend servers as one of the primary causes. This trend is not limited to these two countries. During the same period, breaches involving outsourced services and publicly exposed websites, as well as large-scale automated attacks using AI agents, were reported in the US, Europe, and South America. This article synthesizes publicly available news reports, announcements from various agencies, and reports from security firms to identify common patterns in these incidents—with a focus on South Korea and Japan, where cases were most heavily publicized—and examines how these same patterns are being observed overseas. Based on this analysis, the article proposes preventive and response measures that companies should implement. The causes of individual incidents are mostly under investigation; organizations affected by damage are categorized by industry based on public reports. South Korean Financial Sector: The Start of a Chain of Breaches Breaches in the Korea financial sector began at commercial banks in late September and spread across the entire industry over the course of a month. As of October 14, financial authorities had identified 16 financial institutions affected by the breaches, including commercial banks, savings banks, finance companies, mutual financial institutions, electronic financial service providers, online investment-linked financial service providers, and virtual asset service providers; the confirmed scale of personal information leaks was approximately 100,000 records. However, considering the number of affected financial institutions, the scale of the leak is assessed as relatively limited; this suggests the possibility that the incident involved the retrieval of individual records through external access points—such as publicly exposed inquiry services—rather than the theft of a large-scale database (DB) itself. Subsequently, on October 26, a data leak was also reported in the insurance industry. It is noteworthy that the attack targets were not the banks’ core IT systems responsible for processing deposits and transfers. According to the disclosed information, the paths of entry were auxiliary systems attached to the main services—such as inquiry services exclusively for loan brokers, sales support systems for internal employees, and external webpages related to mutual aid programs. Category Point of Compromise Disclosed Information Commercial Bank A Inquiry service exclusively for loan brokers By bypassing standard authentication and repeatedly entering query values, loan-related information for approximately 25,000 people was leaked Commercial Bank B Employee Sales Support System (ODS) Unauthorized access to a system separate from internet and mobile banking led to the leak of information on 89 people Mutual Finance External webpage related to mutual aid Damage was not detected until two days after the attack [Table 1] Major Security Breaches in the Korean Financial Sector and Affected Institutions In an emergency inspection conducted by financial authorities in early October targeting 555 financial institutions, 130 reported deficiencies. The main deficiencies included failure to apply the latest security patches, poor management of systems no longer receiving technical support, and the lack of a 24-hour monitoring system. It is more accurate to say that the threat actors quickly identified poorly managed peripheral systems rather than employing new techniques. Traces of ARTEX, an AI-powered automated penetration testing tool, were identified in this attack on the financial sector. The Korean security industry first discovered ARTEX-related strings on the web server used in the attack, and CrowdStrike obtained ARTEX configuration files and work logs from AI coding tools found in an exposed folder on the threat actor’s server. Analysis indicates that the threat actors connected and used several large language models (LLMs), such as DeepSeek, GLM, and Grok, with ARTEX. However, the threat actors’ identities and nationalities have not been confirmed. Breaches Spreading Beyond the Financial Sector Data breaches also continued outside the financial sector during the same period. Although the affected organizations spanned diverse sectors—including enterprise accounting software providers, large churches, coffee franchises, universities, and education districts—the points of compromise were consistently access points outside core business systems, such as employee VPN accounts, external backup solutions, temporary files left in the cloud, portals, and cloud accounts used for training. Category Point of Breach Disclosed Details Enterprise accounting and ERP software providers Employee VPN accounts, external backup solutions Evidence suggests unauthorized access to development servers via VPN accounts and the partial exfiltration of encrypted data through a vulnerability in the backup solution The government has classified this as a major incident and formed a joint public-private investigation team Large Church Church information system Data breach involving the names and dates of birth of approximately 850,000 congregants Coffee franchise Temporary data files left on the cloud Approximately 2.76 Million records leaked during unauthorized access attempts aimed at cryptocurrency mining Caused by temporary files from a past Service overhaul University Portal Service Student ID numbers, contact information, and email addresses of approximately 10,000 current students and alumni were leaked Office of Education Cloud accounts for learning Over 110,000 accounts hacked across six education offices, causing damage [Table 2] Major Data Breach Cases and Points of Compromise in Korea’s Non-Financial Sector Among these, the case involving a corporate accounting and ERP software provider highlights supply chain risks stemming from third-party contractors. Since this company’s accounting software is used by more than 110,000 businesses, concerns have been raised that a single breach could spread to the payroll and tax information of employees at client companies. However, the actual scope of the data breach is still under investigation. The coffee franchise case involved temporary data files created for a past service overhaul that remained in the cloud and were subsequently leaked, illustrating that data past its retention period poses a risk if not properly disposed of. In late October, a suspect accused of hacking using generative AI was arrested in Korea for the first time. According to police, the ringleader had no formal IT background but taught himself the technology and had prior experience conducting penetration testing at a security firm. This group combined ARTEX with an AI coding agent to carry out Information Theft on approximately 8.2 Million records—including personal information—from about 90 companies in Korea; notably, they attacked 60 of these companies over a 44-day period starting in late August. Police stated that no direct link had been confirmed between this incident and the financial sector incident. The Same Pattern Repeated in Japan Japan also saw a concentration of announcements regarding large-scale data breaches during the same period. According to data compiled by the Japanese security firm Marknica , announcements of personal information leaks through web systems operated by Japanese organizations totaled 119 as of October 6, 2026, already surpassing the 84 cases reported for all of 2025 and the 62 cases in 2024; 81 of these occurred after July. Japanese authorities identified backend attacks through apps as one of the causes. On October 13, the National Institute of Information and Communications Technology (NICT) analyzed publicly available Android apps to identify the target servers and API structures, then named the method of exploiting server-side vulnerabilities “A2B (App-to-Backend) attacks.” The vulnerabilities primarily targeted include SSRF, RCE, SQL injection, and IDOR/BOLA; even if the app itself has no flaws, data leaks can occur if there are vulnerabilities in the server-side API. On October 8, JPCERT/CC also identified the following as major attack types: exploiting existing vulnerabilities, abusing administrative APIs through app analysis, exploiting an SQL injection vulnerability (CVE-2026-72898) in the BI tool Metabase, and installing web shells. However, since neither organization identified specific companies that suffered damage, it is not possible to definitively classify a particular incident as an A2B attack. Category Point of Compromise Disclosed Information Software Sales Member Information Query API The API was misused for four days, potentially leading to the leak of up to approximately 22.52 Million records of member information, including passwords Major Discount Store App and Online Store Servers Unauthorized access gained by exploiting software functions that make up the Service, resulting in the leak of information on up to approximately 1.73 Million people SaaS Company API servers for an email-sending SaaS service Command execution occurred on two API servers, resulting in the export of all subscriber information and the mailing lists of some customers Japanese subsidiary of a food brand Outsourced e-commerce platform A software vulnerability in the outsourced vendor’s server was exploited, resulting in the leakage of approximately 3.14 Million records Department store group Reservation Site → Customer Management System Access to the customer management system via the reservation site; approximately 1.26 Million records—nearly the entire membership base using the group’s common ID—were leaked News Platform Business Management Tool A vulnerability in the management tool could lead to the leak of approximately 323,000 records, including email addresses E-book Service System log files In addition to 319 records from the member database, up to approximately 4.2 Million records of information remaining in log files were leaked Securities Firm Outsourced FAQ System Possible leak of information on approximately 110,000 people due to a breach of an external Service used for managing inquiries Cloud Service Provider Cloud Infrastructure Ransomware attack caused service disruptions for 495 clients, including local governments and businesses [Table 3] Major Data Breach Cases in Japan and Points of Compromise In most Japanese cases as well, the point of origin was peripheral systems rather than core systems. In particular, the department store group case involved a single reservation site that led to the group’s entire shared ID database, while the e-book service case demonstrated that even if the member database was protected, information could still be leaked if the same data remained in the logs. ARTEX was also identified in Japan. On October 19, the Japanese security firm GMO Cyber Security by Iera announced that it had detected traces of ARTEX in the attack infrastructure used to attack companies in Korea. Eight of the companies identified by the firm as targets announced data breaches in September and October. However, the names of these companies were not disclosed, and there is no evidence to suggest they were the work of the same threat actors responsible for the attacks in South Korea. At this point, it has only been confirmed that the same tool was used in both countries. Simultaneous Revelations of Critical Vulnerabilities During the third week of October, serious vulnerabilities in foundational software for the web and infrastructure were disclosed in rapid succession over the course of approximately a few days. Since many of these were components directly exposed to the internet, this further heightened the risk at the perimeter. Scope Target CVE Impact Action Web Runtime PHP CVE-2026-109618, CVE-2026-109619 (CVSS 9.2) Unauthenticated Remote Code Execution (PHP2Shell) Update to version 8.5.12, 8.4.27, 8.3.36, 8.2.35, Or later. For versions 8.1 And earlier, switch to a supported version Set `session.Upload_progress.Enabled=0` until an official patch is released Web Runtime PHP CVE-2026-115560 (CVSS not disclosed) Remote code execution under specific session settings Set `session.Upload_progress.Enabled=0` until an official patch is released Development Platform GitLab CE/EE CVE-2026-110264 (CVSS 10.0) Unauthenticated remote code execution via a regular expression compiler integer overflow Affects versions starting with GitLab 7.0 (2014) 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13 And later Server Runtime Node.Js 22, 24, 26 CVE-2026-111497 (CVSS 9.2) Remote code execution via Brotli decoder buffer overflow (Node2Shell) 22.23.4, 24.22.1, 26.12.1 And later DNS Unbound 1.22.0–1.26.1 CVE-2026-97206 (CVSS 7.5) Remote Denial of Service when using DNS-over-QUIC Version 1.26.2 Or later, or disable DoQ DNS ISC BIND 9 CVE-2026-19630 and 3 others (CVSS 7.5) Denial of Service, GSS-TSIG memory corruption (CVE-2026-94300, potential remote code execution) 9.20.30, 9.21.27 And later PKI 8 EMudhra intermediate CAs N/A Private keys are generated in a state where they can be easily recovered, enabling certificate forgery Update the trust stores in browsers, operating systems, and runtimes PKI Oracle Java JSSE CVE-2026-91403 (CVSS 9.1) Java update that treats eMudhra-related intermediate CAs as untrusted Apply the latest updates for Java SE and GraalVM File Sharing Windows SMB Server CVE-2026-96325 (CVSS 7.5) Unauthenticated Remote Service Denial of Service October Regular Security Updates Applied [Table 4] Status of Major Vulnerability Disclosures in October 2026 PHP2Shell illustrates just how short the response time has become. Information about the vulnerability was leaked externally before the Vulnerability Patch was released, and Amazon Threat Intelligence had already detected attack attempts on October 17—four days before the official disclosure. In Korea, the government also raised the cyber threat alert level for the private sector from “Attention” to “Caution” on October 22. Therefore, even for servers that have been patched, it is necessary to check access logs from the period before and after the disclosure and verify whether a web shell has been installed. Oracle Java’s CVE-2026-91403 is not a general patch to fix a code flaw, but rather an update that prevents Java from trusting the compromised eMudhra intermediate CA certificate. Since runtimes that use their own trust stores—such as Java—and older clients must be updated separately even if browsers have blocked the certificate, PKI issues cannot be resolved by server patches alone. AI is also playing an increasingly significant role in the vulnerability discovery process. CVE-2026-94300 in BIND was reported by a researcher at OpenAI, and the official Node.Js announcement credited CVE-2026-111497 to OpenAI Codex Security. While this represents legitimate vulnerability research by the defense community, the fact that the same capabilities can be exploited by attackers suggests that patch cycles are likely to become even shorter in the future. Agentic AI Attacks: From Experimentation to Real-World Application Attacks in which AI agents autonomously carry out a sequence of actions—including reconnaissance, vulnerability scanning, penetration, and web shell installation—have begun to emerge as actual breach cases. Key reports released in October include the following as follows Reporting Entity Tools Details Disclosed CrowdStrike (October 7) ARTEX AI coding tool activity logs and ARTEX configuration files found on threat actors’ servers targeting South Korean financial institutions Evidence of DeepSeek, GLM, and Grok usage AhnLab ASEC (October 15) ARTEX and variants Tracked 600 IP addresses of ARTEX operational systems exposed to the internet; this number had increased to over 900 as of October 14 Secured 51 pieces of attack operation data—including web shell command transmissions, internal RDP relaying, and internal network scan results—from open directories on some hosts Traces of redistributed versions—which changed their names and user interfaces after the original repository was deleted—and Korean localization were also identified NorForge, Reuters (October 19) Cairn An investigation of exposed Cairn management screens revealed more than 1,100 attack projects in the largest cluster Over 1,200 sites were attacked, compromising more than 100 corporate websites. The total cost of the tokens was approximately $5,000 GMO Iera (October 19) ARTEX Confirmed use of ARTEX in attack infrastructure targeting Japanese companies Microsoft (October 21) ARTEX China-linked group Storm-0940 attacks hundreds of organizations worldwide using ARTEX The group exploited the credentials of a US IT managed services provider’s cloud backup app to attempt logins to more than 2,250 Microsoft 365 tenants; in some cases, they gained privileged access to the cloud within three hours of being targeted for the first time CrowdStrike (October 21) Various Harnesses Four new threat actors observed between May and August disclosed Includes breaches at at least 15 Argentine healthcare institutions All four bypassed the safety mechanisms of commercial AI [Table 5] Reported Real-World Infiltration Cases Using Agentic AI We also replicated ARTEX in a separate Test Environment to verify the extent of its autonomous penetration capabilities. We provided only a brief instruction—such as “Penetrate the Attack Target”—simple enough for even a user with no security knowledge to enter, yet ARTEX identified the file upload function on the web server and executed a program as a web shell without any human intervention. In an environment where Apache ActiveMQ was exposed, ARTEX gained initial access via a known vulnerability (CVE-2023-46604) and proceeded to perform remote command execution on four internal hosts. Since both experiments did not involve new techniques but instead exploited vulnerabilities and misconfigurations in publicly accessible services, they align with this article’s assessment that peripheral entry points are the primary targets for AI agents. Furthermore, even after the original GitHub repository was removed, ARTEX continues to be reused by various operators under different names and with modified interfaces. The redistributed versions verified by our company contained configurations for various LLMs—including DeepSeek, GLM, Kimi, and Claude—as well as traces of a publicly available PoC for an e-commerce platform vulnerability (CVE-2026-75650) exploitable without authentication and embedded IRC-based remote control code. This means that even if the developer stops releasing the tool, its spread does not stop. What these reports reveal is a shift toward the economics of attack. In the Cairn case, the operator entered only a Chinese command of less than 100 characters, after which the agent—without human supervision—figured out how to perform code execution on each site and installed a web shell. Repetitive tasks that once required skilled personnel—such as vulnerability scanning, testing attack paths, modifying payloads, and retrying after failures—are now being entrusted to agents that work nonstop for hours on end. As it has become easy to combine open-source AI models with freely available agent frameworks, cyberattacks that once required advanced technical skills are now within anyone’s reach. Cases of non-technical hackers apprehended in Korea illustrate this, and the cost of carrying out such operations is dropping just as rapidly. The Microsoft case also illustrates where these attacks are headed. Storm-0940’s brute-force password attack generated up to 2,900 failed login attempts per minute but did not result in a single successful login. The actual breach occurred through the app credentials of a third-party service to which the customer had already granted access. While direct authentication held up, a trusted external connection was breached. The extent to which tools like ARTEX were actually involved in incidents within the Korean financial sector is still under investigation. However, even based on publicly available reports alone, it is clear that attacks using AI agents have moved beyond the hypothetical stage and are being used in actual breaches, and the disclosed cases are likely only a fraction of the total. Common Pattern: The Breach Occurred at Peripheral Touchpoints When comparing cases in South Korea and Japan side by side, the patterns are nearly identical. It was not the internal core systems—where defenses are concentrated—that were breached, but rather peripheral touchpoints such as externally exposed app backend APIs, reservation sites, management tools, and outsourced SaaS services. The term “peripheral entry points” used in this article refers collectively to the externally exposed attack surface, as well as supply chain and third-party touchpoints. Types of Peripheral Touchpoints Cases in South Korea Japanese Cases Common Vulnerabilities Externally Exposed Application Backend APIs Inquiry Service Exclusively for Loan Brokers Member Information Lookup API, App and Online Store Servers Inadequate authentication and authorization verification; failure to detect repeated queries Additional Web Services External web pages related to mutual aid, university portals Department Store Reservation Sites Security level lower than this Service; connection to core databases Management and business tools Sales Support System for Employees Business management tools, BI tools Accessible from outside the organization; delayed patching Outsourced SaaS, supply chain Backup service for enterprise accounting software Email-Sending SaaS, Managed E-commerce Platforms, Managed FAQ Systems A single breach can spread to multiple clients Accounts, credentials Employee VPN accounts, cloud accounts for training Work-related cloud accounts, administrator accounts Weak authentication, lack of multi-factor authentication Neglected data Temporary data files left in the cloud System log files, data on former employees Data past its retention period that has not been deleted [Table 6] Comparison of South Korean and Japanese Cases for Each Type of Perimeter Access Point This assessment aligns precisely with the technical characteristics of AI-agent-based attacks. Rather than directly breaching highly fortified core systems, autonomous attack agents automatically scan the entire external attack surface and relentlessly exploit weak links on the periphery where security controls are relatively lax. Long-disclosed N-day vulnerabilities, configuration errors, and weak authentication are prime targets. Even minor ancillary services—which would likely be deprioritized by a human—become targets that an agent, operating at virtually no cost, will attempt to exploit without exception. Another characteristic of peripheral entry points is that the damage does not end at that point. This is illustrated by cases where attacks spread from a booking site to a shared member database, from a third-party backup service to the data of tens of thousands of client companies, and from a third-party app’s identity to a customer’s cloud tenant. Even if peripheral touchpoints appear small in scale, they can serve as gateways to core data. Prevention: We Must Redraw the Perimeter The starting point for prevention is knowing exactly what an organization is exposing to the internet. Since threat actors are using AI agents to conduct comprehensive scans of external attack surfaces, defenders must also reassess their assets from the same perspective. In particular, assets that have been pushed down the management priority list—such as ancillary services attached to the main service, event pages, management tools, and APIs called by apps—should be prioritized for inspection. Scope Inspection Items Asset Management for Externally Exposed Assets Compile a comprehensive list of web services, APIs, management pages, and remote access points exposed to the Internet, and assign responsible personnel. Block external access to unused services and test servers. App Backend APIs Assume that the app can be analyzed at any time. Verify server-side authentication and object-level authorization for all API requests, and do not embed API keys or authentication credentials within the app. Implement per-user query limits and detect abnormal repetitive queries. Management and Business Tools Ensure that management pages, BI tools, and sales support systems cannot be accessed directly from the outside; if unavoidable, apply IP restrictions and multi-factor authentication. Permissions for these tools to access the business database are minimized. Outsourced SaaS and Supply Chain Compile a list of data held by third-party providers and their access permissions. Regularly review the cloud permissions granted to third-party apps (such as OAuth consent), and specify the third-party provider’s breach notification procedures in the contract. Accounts and Authentication Implement phishing-resistant multi-factor authentication for VPNs, remote access, and business cloud accounts. Detect sudden spikes in failed login attempts and access from unusual locations to guard against attacks that use compromised account credentials obtained from external sources. Patches and End-of-Support Establish a separate procedure for components exposed to the internet (such as PHP, GitLab, Node.Js, and DNS servers) with the goal of responding on the same day a vulnerability is disclosed. Develop replacement plans for systems that have reached end-of-support, and minimize external exposure until then. Data Minimization We purge information on members whose retention period has expired, former employees, temporary development files, and logs containing personal information. Data that no longer exists cannot be leaked. Detection and Monitoring Collect logs from peripheral touchpoints at the same level as core systems and include them in 24-hour monitoring. Implement rules to detect post-compromise behavior, such as web servers executing shells or download tools. [Table 7] Preventive Inspection Items Focused on Perimeter Endpoints It is also important to consider that attacks using AI agents are fast. Given that there have been cases where it took less than three hours from initial targeting to privileged access, the traditional cycle of patching within a few days after a manual inspection may be too slow to respond. Automated response measures—such as the preemptive application of web firewall rules and the immediate blocking of exposed assets—must be prepared in advance. Conversely, it is advisable for the defense side to utilize AI-based vulnerability assessments to identify weak points in the perimeter before threat actors do. Response: When a Breach is Suspected The scale of damage from a breach incident varies significantly depending on the speed of the initial response. In this case as well, there were instances where the damage was not recognized until several days after the attack, during which time additional data leaks could have occurred. Multi-stage Response Details Initial Response Block the attacking IP addresses and exploited paths, and isolate the affected Service. To preserve evidence, do not immediately reset the server; instead, secure the logs, memory, and disk images first. Scope Verification Trace access trails from the compromised external endpoint to connected databases, internal systems, and third-party vendor systems. In the event that vulnerability information was leaked prior to public disclosure, review logs retroactively up to the date of disclosure. Credential Management Accounts, API keys, and access tokens associated with the breach path are revoked and reissued. Verify whether any persistence mechanisms, such as web shells, remain. Reporting In Korea, in accordance with the Information and Communications Network Act, report the breach to the Ministry of Science and ICT or the Korea Internet & Security Agency (KISA; dial 118 without an area code) within 24 hours of becoming aware of the incident. If personal information has been leaked, in accordance with the Personal Information Protection Act, notify the data subjects within 72 hours of becoming aware of the breach and report the incident to the Personal Information Protection Commission or KISA. Financial institutions must report to the Financial Supervisory Service, and cases of cybercrime must be reported to the Cyber Investigation Division of the National Police Agency. Preventing Secondary Damage Since phishing attacks, smishing, and brute-force attacks using the leaked information may follow, advise users to change their passwords and be wary of fraudulent contact attempts. Do not comply with any monetary demands from the threat actor; instead, consult with law enforcement agencies. [Table 8] Step-by-Step Response Procedures in Case of a Suspected Breach Time to Shift the Focus of Defense The incidents over the past month demonstrate that the center of gravity in security is shifting. Until now, many organizations have designed their defenses around core systems, but threat actors have found their way in through small entry points outside those systems. AI agents have made this exploration faster and more efficient, resulting in smaller assets—which had been neglected due to their scale—becoming the first targets. Therefore, future defense strategies must begin by asking where threat actors can enter, rather than focusing solely on what to protect most rigorously. Asset management of externally exposed assets, API authentication and authorization, controlling connections to third-party vendors, multi-factor authentication, prompt patching, and data minimization are not new measures. However, these incidents have clearly demonstrated that if these basic measures are not applied without exception to all perimeter touchpoints, AI will be the first to find those gaps—which is why this article focuses on AI-driven automated attacks and perimeter touchpoint breaches. Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.
ASEC Recommendation for a Temporary Workaround for a PHP Product Vulnerability (CVE-2026-115560) 2026-10-26
Overview The PHP development team has announced a temporary workaround for CVE-2026-115560 , a remote code execution vulnerability that occurs during the processing of session.Upload_progress . A security update addressing this vulnerability has not yet been released. Affected Environments PHP environments that meet all of the following conditions are affected: When the session.Serialize handler setting is set to php binary or php_serialize . When the session.Serialize handler value is changed to php through ini set() before calling session_start() . When the session.Upload_progress.Enabled setting is enabled. Vulnerability Details This vulnerability is a remote code execution vulnerability that occurs during the processing of PHP session upload progress. In other words, a threat actor could exploit a vulnerable environment to attempt to execute arbitrary code. Temporary Mitigation Until a security update is released, you must disable this feature by setting session.Upload_progress.Enabled=0 in php.Ini or the PHP-FPM pool configuration. After changing the setting, you must restart all PHP workers or related web server services. References The official PHP security advisory, the temporary mitigation recommendation from KISA’s “Bohwonara,” and the NVD entry for CVE-2026-115560 are provided as reference materials.
자동 추천 장비와 근거 참고용
분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.
| 장비 | 방법 | 근거 경로 |
|---|---|---|
| 서버 접근제어 ACCESS | attack | CWE-20 > CAPEC-31 > T1539 > Logon Session Creation |
| 애플리케이션 로그 APPLOG | attack | CWE-20 > CAPEC-31 > T1539 > Application Log Content |
| 엔드포인트 탐지·대응 EDR | attack | CWE-20 > CAPEC-13 > T1574.006 > File Creation |
| 계정·인증 (AD·LDAP·SSO) IAM | attack | CWE-20 > CAPEC-31 > T1539 > Logon Session Creation |
| 침입방지시스템 IPS | attack | CWE-20 > CAPEC-267 > T1027 > Network Traffic Content |
| 네트워크 탐지·대응 / 패킷 분석 NDR | attack | CWE-20 > CAPEC-267 > T1027 > Network Traffic Content |
| 서버 감사 로그 SYSAUDIT | attack | CWE-20 > CAPEC-13 > T1574.006 > File Creation |
| VPN VPN | attack | CWE-20 > CAPEC-31 > T1539 > Logon Session Creation |
| 웹 방화벽 WAF | attack | CWE-20 > CAPEC-31 > T1539 > Application Log Content |
| 웹서버·WAS 로그 WEBLOG | attack | CWE-20 > CAPEC-31 > T1539 > Application Log Content |
취약점 종류 CWE
참고 링크 4건
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
- CVE 취약점 번호
- 공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
- CVSS 위험도 점수
- 취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
- EPSS 악용 가능성
- 앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
- KEV 실제 악용 확인
- 미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
- 공격 코드 공개된 PoC
- NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
- NVD 미국 취약점 DB
- 미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
- 우선순위 이 사이트의 참고 점수
- CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
- ASEC 안랩 분석 글
- 안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
- CWE 취약점 종류
- 취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
- CPE 영향받는 제품
- 취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
- KB Microsoft 업데이트 번호
- Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
- 시나리오 · 번역
- '시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.