Laravel 13.36.0 업데이트
릴리스: 2026년 10월 13일
평가: 2026년 10월 20일
Laravel 13.36.0은 큐·메일·Eloquent·연결 복구 개선을 포함한 마이너 릴리스이며, 사용자 입력이 포함된 Markdown 메일의 이스케이프 보호 우회 수정도 포함합니다. 해당 메일 경로를 우선 점검하고 업데이트를 준비하세요. Mercure를 사용하는 애플리케이션은 기본 브로드캐스트가 동기로 바뀌므로 실행 시점과 큐 설정도 확인해야 합니다.
예상되는 하위 호환성 문제
- Mercure 전용 이벤트의 기본 전송이 동기로 변경심각도 보통
릴리스 노트 #61977 및 공식 PR 설명에 따르면 Mercure 연결만 대상으로 하는 이벤트는 기본적으로 즉시 전송되며 다른 연결도 함께 대상으로 하면 큐를 계속 사용합니다. 기존 큐 처리를 유지하려면 async 옵션(MERCURE_ASYNC=true)과 url 설정이 필요합니다. 전체 애플리케이션의 공개 API 제거가 아니라 해당 구성의 실행 방식 변화입니다.
영향 범위: Mercure 연결만 대상으로 브로드캐스트하고 큐 실행 시점에 의존하는 이벤트
패키지 관리자가 확인할 것
- Queue (illuminate/queue)위험도 보통
노트 #61915·#61940·#61974·#61965에 맞춰 sticky 연결을 사용하는 연속 Job, 워커 종료 콜백, 트랜잭션 롤백 시 유일 리스너 잠금 해제 및 Redis 큐 알림을 확인하세요. 패키지 자체의 비호환이나 필수 버전 제약이 확인된 것은 아닙니다.
- Http (illuminate/http)위험도 낮음
#61923의 eventStream() 줄바꿈 메시지 수정을 사용하는 경우 실제 클라이언트가 다중 행 메시지를 기대대로 수신하는지 회귀 테스트하세요.
- Octane (laravel/octane)위험도 보통
#61977 공식 PR이 FrankenPHP 내장 Mercure 허브 설정에서 octane:start를 포함한 CLI 초기화 실패를 설명합니다. 해당 조합에서 시작 명령과 브로드캐스트를 확인하세요. Octane 전체의 비호환을 뜻하지 않습니다.
대응 체크리스트
- 사용자 입력을 포함하는 Markdown 메일 우선 점검즉시
#61755는 Mail Markdown의 사용자 입력 이스케이프 문제를 수정합니다. 사용자 입력이 링크 텍스트 등에 포함된 템플릿을 찾아 역슬래시·대괄호 입력이 의도하지 않은 링크로 해석되지 않는지 업데이트 전후 비교하세요. 이 평가에서는 실제 재현 테스트를 수행하지 않았습니다.
- Mercure 전송 시점 확인가까운 시일
Mercure 사용 시 동기 실행에 따른 흐름을 확인하고 큐 전송을 유지해야 하면 #61977의 MERCURE_ASYNC=true와 MERCURE_URL 설정을 검토하세요. Mercure를 쓰지 않으면 이 대응은 해당 없습니다.
- 사용 중인 수정 경로에 회귀 테스트가까운 시일
큐 Job·유일 리스너 롤백, Notification::locale() 연속 발송, morph map 관계 로딩, Attribute 접근 후 JSON 경로 갱신, 메일 failover/roundrobin retry_after를 사용한다면 해당 경로의 기존 테스트를 실행하세요. 모든 기능에 별도 수정이 필수라는 의미는 아닙니다.
자동 생성상세 평가
요약
Laravel 13.36.0(13.x, minor)은 기능 추가와 여러 버그 수정을 포함합니다. 제공된 분류 기준상 보안 보호 우회 수정이 있어 영향도를 critical로 평가합니다. 이는 모든 설치의 악용 가능성이나 CVE 등급이 확인됐다는 뜻이 아닙니다. 사용자 입력을 넣는 Markdown 메일을 먼저 점검하세요.
근거: 공식 릴리스, 메일 보호 수정 PR.
주요 변경
- 메일 입력 보호: #61755는 사용자 입력의 인라인 Markdown 이스케이프 문제를 수정합니다. 공식 diff에서 역슬래시·대괄호 처리와 링크 텍스트 회귀 테스트 추가를 확인했습니다. 보호를 끄는 방식으로 대응하지 마세요.
- Mercure: #61977은 FrankenPHP 허브의 CLI 초기화를 수정하고 Mercure 전용 이벤트를 기본 동기 전송으로 바꿉니다.
- 큐: background 연결 기본 설정(#61917), Job 사이 sticky 연결 초기화 지원(#61915), 큐 메일의 DeleteWhenMissingModels·FailOnTimeout 지원(#61899), JSON 워커 출력 개선(#61896·#61858), 중복 종료 콜백 수정(#61940), 롤백 시 유일 리스너 잠금 해제(#61974), Redis 알림 일괄 처리(#61965)가 포함됩니다.
- 메일·알림: Notification::locale() 무시 및 이후 알림으로의 영향(#61904·#61959), failover/roundrobin의 retry_after 무시(#61927)를 수정합니다.
- 모델·DB: morph map 해석(#61898), HasOneOrManyThrough touch 쿼리(#61942), Attribute 접근 후 JSON 경로 갱신 유실(#61962), 증감 시 추가 속성 캐스트(#61991), PgBouncer 연결 상실 인식(#61918) 및 재연결 재귀 방지(#61995)를 다룹니다.
- 그 밖의 변경: eventStream() 줄바꿈(#61923), 숫자 키 번역(#61925), Number::pairs() 상한(#61921), Arr::first() 단락 평가(#61957), 예약 콜백의 이전 예외 재발생(#61973), 1초 미만 프로세스 타임아웃(#61979), 스키마 열 대소문자 처리(#61967), 검증 규칙 빌더(#61833), MySqlConnection 기능(#61932) 등이 있습니다. 테스트·타입·CI·스타일 변경도 포함됩니다.
하위 호환성
릴리스 노트만으로 공개 API 삭제나 전체 애플리케이션에 필요한 코드 수정을 단정할 수 없습니다. 다만 #61977의 공식 설명은 Mercure 전용 이벤트가 큐를 거치지 않고 즉시 전송되는 동작 변경을 명시합니다. 다른 연결도 대상으로 하는 이벤트는 계속 큐를 사용합니다. 기존 큐 전송을 유지하려면 MERCURE_ASYNC=true와 허브 URL이 필요합니다.
패키지 관리자가 확인할 것
Queue는 워커·잠금·Redis 알림 경로, Http는 eventStream() 메시지, Octane은 FrankenPHP/Mercure 조합의 CLI 시작을 확인하세요. 이 목록은 사용 경로에 따른 확인 대상이며 각 패키지의 비호환이 입증된 것은 아닙니다. 나머지 등록 패키지의 개별 장애나 버전 제약은 확인되지 않았습니다.
대응 체크리스트
- 사용자 입력을 삽입하는 Markdown 메일을 찾아 보호 수정 적용을 우선 검토합니다.
- Mercure 사용 여부와 동기/큐 실행 의존성을 점검합니다.
- 실제 사용하는 큐·알림·관계·JSON 갱신·메일 재시도 경로의 회귀 테스트를 실행합니다.
- 이 평가는 릴리스 노트와 명시한 공식 PR·diff 검토에 근거하며, 애플리케이션 테스트나 취약점 재현은 수행하지 않았습니다.
GitHub 릴리스 노트를 근거로 언어 모델 (external-agent)이 작성했으며, 사람이 검수하지 않았습니다. 실제 적용 전에는 공식 릴리스 노트와 업그레이드 가이드를 함께 확인하세요.
GitHub 원문 릴리스 노트 보기
- [12.x] Make the worker timed out exit code reachable by @kieranbrown in https://github.com/laravel/framework/pull/61623
- [12.x] Support named S3 credential providers and Cloud IAM disks by @kieranbrown in https://github.com/laravel/framework/pull/61757
- [12.x] Address query issues by @taylorotwell in https://github.com/laravel/framework/pull/61838
- [12.x] Backport EncodedParameter from #61610 by @mahdyaralipor in https://github.com/laravel/framework/pull/61871
- [12.x] Generate different cache file based on configured
$echoFormatby @crynobone in https://github.com/laravel/framework/pull/61822 - [13.x] Add background connection to the default queue config by @svidskiy in https://github.com/laravel/framework/pull/61917
- [13.x] Allow queue workers to flush sticky connections between jobs by @jackbayliss in https://github.com/laravel/framework/pull/61915
- [13.x] Allow null in TestResponse::$streamedContent docblock by @alies-dev in https://github.com/laravel/framework/pull/61914
- [13.x] Support
DeleteWhenMissingModelsandFailOnTimeouton queued mailables by @xurshudyan in https://github.com/laravel/framework/pull/61899 - [13.x] Rebuild the phpredis client when no cluster node is reachable by @cwang22 in https://github.com/laravel/framework/pull/61911
- [13.x] Include connection in queue:work --json paused and resumed output by @jackbayliss in https://github.com/laravel/framework/pull/61896
- Fix memory leak in test suites caused by Prompts by @timacdonald in https://github.com/laravel/framework/pull/61872
- [13.x] Fix Notification::locale() being ignored after a notification was sent by @Taldres in https://github.com/laravel/framework/pull/61904
- [13.x] Resolve morph map aliases in
constrain(),morphWith()andloadMorph()by @xurshudyan in https://github.com/laravel/framework/pull/61898 - [13.x] Recognize PgBouncer SSL EOF failover errors as lost connections by @0x15f in https://github.com/laravel/framework/pull/61918
- [13.x] Include queue and connection in queue:work --json stop output by @jackbayliss in https://github.com/laravel/framework/pull/61858
- [13.x] Keep the console kernel's own commands on the kernel instance by @bert-w in https://github.com/laravel/framework/pull/61931
- [13.x] Preserve numeric keys in JSON translation files loaded by
FileLoaderby @sajjadhossainshohag in https://github.com/laravel/framework/pull/61925 - Fix Number::pairs() dropping the upper bound when it starts a new pair by @abdulmajidcse in https://github.com/laravel/framework/pull/61921
- [13.x] Fix failover and roundrobin mailers ignoring
retry_afterby @xurshudyan in https://github.com/laravel/framework/pull/61927 - [13.x] Fix eventStream() messages containing line breaks by @sajjadhossainshohag in https://github.com/laravel/framework/pull/61923
- Prevent escaping from bypassing protection by @valorin in https://github.com/laravel/framework/pull/61755
- [13.x] add IsVitess() and olap() to MySqlConnection by @jackbayliss in https://github.com/laravel/framework/pull/61932
- [13.x] Add validation rule builders for remaining validation rules by @ericmp33 in https://github.com/laravel/framework/pull/61833
- [13.x] Release persistent phpredis socket before rebuilding client by @0x15f in https://github.com/laravel/framework/pull/61919
- [13.x] Supports
phpstan/phpstan:2.3.1by @SanderMuller in https://github.com/laravel/framework/pull/61939 - [13.x] Fix touch() query generation on HasOneOrManyThrough relations by @HamidRezaLS in https://github.com/laravel/framework/pull/61942
- [13.x] Fix reference cycle from MorphTo soft delete constraints by @babrmonta in https://github.com/laravel/framework/pull/61944
- [13.x] Adjust Worker to not call the killback twice by @jackbayliss in https://github.com/laravel/framework/pull/61940
- [13.x] Fix
Context::pop()throwing the wrong exception for missing keys by @xurshudyan in https://github.com/laravel/framework/pull/61936 - [13.x] Improve BelongsToMany collection return types by @axlon in https://github.com/laravel/framework/pull/61954
- [13.x] Make
Schema::getColumn()case insensitive by @svidskiy in https://github.com/laravel/framework/pull/61967 - [13.x] Fix JSON path updates being lost after reading an Attribute accessor by @xurshudyan in https://github.com/laravel/framework/pull/61962
- [13.x] Fix
Notification::locale()being applied to later notifications by @sumaiazaman in https://github.com/laravel/framework/pull/61959 - [13.x] Restore short-circuiting in Arr::first() for iterables by @DirkHoffman in https://github.com/laravel/framework/pull/61957
- [13.x] Batch Redis queue notification pushes by @hectorgrecco in https://github.com/laravel/framework/pull/61965
- [13.x] Repeat less in
setTrustedProxyIpAddresses()by @weshooper in https://github.com/laravel/framework/pull/61963 - Apply fixes from StyleCI by @taylorotwell in https://github.com/laravel/framework/pull/61969
- [13.x] Remove duplicate and unused code from the View tests by @xurshudyan in https://github.com/laravel/framework/pull/61976
- [13.x] Fix scheduled callbacks rethrowing a previous exception on later runs by @sumaiazaman in https://github.com/laravel/framework/pull/61973
- [13.x] Fix unique queued listener locks not being released when the transaction is rolled back by @sumaiazaman in https://github.com/laravel/framework/pull/61974
- Bump the github-actions group with 3 updates by @dependabot[bot] in https://github.com/laravel/framework/pull/61990
- [13.x] Adjust UniqueJobTest by @jackbayliss in https://github.com/laravel/framework/pull/61985
- [13.x] fix(broadcasting): recognize UniqueFor attributes on events by @calebdw in https://github.com/laravel/framework/pull/61981
- [13.x] Fix sub-second process timeouts given as a CarbonInterval by @xurshudyan in https://github.com/laravel/framework/pull/61979
- [13.x] Fix the FrankenPHP Mercure hub in the CLI and broadcast Mercure events synchronously by default by @dunglas in https://github.com/laravel/framework/pull/61977
- [13.x] Prevent recursive reconnects while a connection is reconnecting by @virtualtear in https://github.com/laravel/framework/pull/61995
- [13.x] Skip contextual binding lookup when none are registered by @xurshudyan in https://github.com/laravel/framework/pull/61993
- [13.x] Fix extra attributes skipping casts when incrementing or decrementing a model by @sumaiazaman in https://github.com/laravel/framework/pull/61991