"AI discovered a security vulnerability" is no longer a distant story in the news. In October 2026, PHP2Shell, which shook the PHP ecosystem, and Node2Shell, which rocked the Node.js environment, starkly demonstrated how vital AI technology has become on the front lines of cybersecurity, and simultaneously, how dangerous a variable it can be. However, the truly important question is not awe that "AI found it well," but rather, "So, what should we be doing right now?"
This article looks behind the scenes of vulnerabilities discovered by AI, aiming to untangle the real concerns faced by developers and security professionals.
1. Why Are Vulnerabilities Found by AI Only Now Making the News?
On October 21, 2026, the security industry was swept up in turmoil. This was because CVE-2026-109618 and CVE-2026-109619, critical vulnerabilities discovered in PHP and collectively dubbed PHP2Shell, were disclosed. What is even more interesting is the fact that these vulnerabilities were not the products of simple bug hunters, but results pulled from years of legacy code with the help of AI.
Previously, subtle memory state errors that were difficult to find with the human eye or traditional static analysis tools have surfaced through AI's pattern recognition and large-scale code analysis capabilities. This signifies that the security paradigm is shifting from 'reactive response' to 'proactive prediction.'
Common Patterns Shown by PHP2Shell and Node2Shell
PHP2Shell was a critical RCE (Remote Code Execution) vulnerability that had existed for as long as 14 years, from PHP 5.4 to 8.5. Like its alarming CVSS v4.0 score of 9.2, the ability to be exploited without authentication was the biggest threat. Attackers could manipulate server out-of-memory conditions or access freed memory areas to execute arbitrary code.
And just days later, a vulnerability with a similar pattern appeared in the Node.js ecosystem. Node2Shell exploited an out-of-bounds write flaw in the Brotli decoder. This was also exploitable without authentication, and it resembled PHP2Shell in that servers were left defenseless when processing compressed data coming in via Content-Encoding: br.
| Vulnerability Name | Target Technology | Core Cause | Affected Versions (Major) | CVSS Score |
|---|---|---|---|---|
| PHP2Shell | PHP | Manipulation of out-of-memory state, Use-After-Free | 5.4 ~ 8.5.11 | 9.2 |
| Node2Shell | Node.js | Out-of-bounds write in Brotli decoder | 22.x, 24.x, 26.x | 9.2 |
| HTTP2Shell | Multiple HTTP libraries | Common design flaw in protocol stacks | Java, Python, Go, etc. | Information unavailable |
Comparison of major technical specifications of PHP2Shell and Node2Shell
2. AI Is Not a Solver, but Merely an 'Amplifier'
Many people mistake AI for a 'solver of security problems.' However, the reality is more cold. AI is merely a tool that 'amplifies' the scale of problems.
Microsoft Vice President Kim Tae-su's statement at SmartCloud Show 2026 that "more vulnerabilities will be discovered due to advances in AI" is based on this insight. AI digs into the corners that humans have given up on. 10-year-old PHP code, Node.js built-in modules untouched even once, and the edges of HTTP libraries that no one had verified. 'Lurking' bugs in such places are being found one by one by the microscope of AI.
The Flip Side of 'Proactive Administration': Patch Speed vs. System Stability
In line with this trend, the Ministry of the Interior and Safety is implementing a system that recognizes and grants immunity to public officials who quickly patch high-risk vulnerabilities discovered by AI as engaging in 'proactive administration.' This applies to vulnerabilities with a CVSS score of 7.0 or higher, or urgent recommendations from the National Intelligence Service and KISA. However, developers in the field may feel this policy as pressure instead.
Rushing to patch often leads to unpredictable system failures. As seen in the conflict between CrowdStrike and Windows, a single security patch can halt systems worldwide. AI only tells you, "Here is a bomb," but does not answer, "How do we safely remove this bomb?"
3. The Curse of Legacy Systems: AI Loves 'Abandoned Code' Most
The most painful lesson from the PHP2Shell incident is the danger of legacy systems. Versions of PHP 8.1 and below, which are out of official support, can hardly expect patches anymore. Many older servers still in operation by companies are inevitably helpless in the face of critical vulnerabilities found by AI.
AI models learn patterns from past vulnerabilities and excel at finding similar structural flaws in old servers currently in operation. Paradoxically, this suggests that companies with accumulated technical debt may be more heavily exposed to AI-based security threats.
The Unrealistic Nature of Migration
"It's fine, just switch to the latest version, right?" is easily said, but in actual enterprise environments, it is closer to "cannot do it" rather than "do not do it." With millions of lines of code intertwined, migrating to the latest version becomes a project in itself.
Useful in such cases are vendors' 'backports.' Debian, Red Hat, Ubuntu, etc., provide packages with the latest security patches applied even to older versions. If you are using PHP versions 8.1 or below, checking for distribution-specific backports may be the last bastion.
4. A Checklist for Practitioners: What to Check Right Now
Theoretical talk alone is not enough. Let's organize a practical guide to check if your server is safe at this very moment.
If You Are Using PHP
- Check Version: Immediately check the current version with
php -v. If it is below 8.2.35, 8.3.36, 8.4.27, or 8.5.12, it is an immediate update target. - Temporary Mitigation: If updating is difficult, change the
php.inisetting.memory_limit=-1session.upload_progress.enabled=0
- Log Review: Examine logs after October 17, 2026, for unusual POST requests containing
PHP_SESSION_UPLOAD_PROGRESS, or suspicious process creations that are not web shells.
If You Are Using Node.js
- Update Version: You must immediately update to Node.js 22.23.4 or higher, 24.22.1 or higher, and 26.12.1 or higher.
- Rebuild Containers: If you are using Docker images, rebuilding and redeploying the image is essential, not just changing the tag.
node:22.23.3-alpineremains vulnerable. - WAF Configuration: Until updating, the most certain defense is blocking inbound requests containing the
Content-Encoding: brheader.
5. Mindset for Developers in the Era of AI Security
Ultimately, the core of security in the AI era is not 'technology' but 'speed.' Within 48 hours, or even less, after a vulnerability is disclosed determines the success or failure of an attack. According to Zscaler's report, widespread exploitation attempts were observed just two days after the PHP2Shell vulnerability was disclosed.
Developers must now be not just people who write good code, but people who respond nimbly to change. Accepting vulnerabilities found by AI as one's own and applying them to one's system is a key competency for developers in the AI era.
Frequently Asked Questions
Q: If AI found the vulnerability, won't AI patch it automatically? A: At present, it is nearly impossible. AI is specialized in 'identifying' vulnerabilities, but judging what side effects a patch will have on the specific business logic of your application remains a human task. However, as patch automation tools develop in the future, the time required to reach the 'recommended patch' stage is expected to decrease.
Q: Our site has low traffic, so won't it be okay? A: That is a misconception. In the case of vulnerabilities requiring no authentication, bots sweep the entire web around the clock. Regardless of traffic volume, if it is vulnerable, it becomes a target for attacks.
Q: After PHP2Shell, are attacks really active on the dark web? A: Yes. Especially in Korea, discussions on attacks targeting government and financial institutions are actively taking place around the I2P network, and the possibility of involvement by sophisticated attack actors such as the Lazarus Group cannot be ruled out.
Conclusion
The phrase "vulnerability discovered by AI" may sound somewhat frightening, but in reality, it is closer to a blessing that allows us to discover risks we did not know about early. However, if we fail to turn that discovery into 'action,' it will only become an object of fear.
Is your server up to date right now? If not, start by checking the version before leaving work today. AI does not sleep, and our systems are at risk every day.
What security policies have you changed as a result of the PHP2Shell and Node2Shell incidents? Or are you still feeling the pressure from unresolved legacy systems? Please share your situation in the comments.
References
- [스마트클라우드쇼 2026] 김태수 마이크로소프트 부사장 "AI 발전으로 더 많은 취약점 발견될 것… .... · help.naver.com
- AI 기술 또 다른 혁명 전망 화제 - AI 코디드 뉴스 · codednews.com
- AI가 찾은 보안 취약점, 신속 패치하면 적극행정 인정…공무원 면책 적용 · newspim.com
- [보도자료] AI가 찾은 고위험 취약점, 신속 패치하면 적극행정 면책 적용 · techmarket.kr
- 에이전틱 AI 보안 2026: AI Agent 공격 벡터와 방어 아키텍처 완전 가이드 · tech.2twodragon.com
- LLM 보안, 1시간 안에 끝낸다! 취약점 공격 & 방어 완전 정복 | 모켓 · moket.kr
- PHP2Shell · ko.wikipedia.org
- PHPの重大な脆弱性「php2shell」(CVE-2026-109618... · blog.flatt.tech
- 파이오링크, PHP 취약점 ‘php2shell’ 긴급 점검 페이지 오픈 · digitaltoday.co.kr
- php2shell checker: is your site vulnerable to CVE-2026-109618... · php2shell.app
- 엔키화이트햇, 'PHP2Shell' 취약점 무료 진단 도구 공개 · etnews.com
- 엔키화이트햇, 'PHP2Shell’ 진단 스캐너 무료 공개 · epnc.co.kr
- 엠바고 어기고 일찍 공개된 PHP2Shell 취약점에 전세계 인터넷 비상 Page 1 · bodnara.co.kr
- 엔키화이트햇, ‘PHP2Shell’ 진단 스캐너·취약점 분석 보고서 배포 · datanet.co.kr
- 'PHP2Shell' 취약점에 "딥시크가 원격 패치" 주장 확산…근거는 확인 안 돼 · aimatters.co.kr
- 엔키화이트햇, 치명적 보안 취약점 'PHP2shell' 진단 스캐너 배포 · zdnet.co.kr
- [2026-10-25] 의료보안 뉴스클리핑 · hisc.or.kr
- Node2Shell에서 HTTP2Shell로 확대, 다수 HTTP 라이브러리와 앱에 영향 · news.hada.io
- Researchers Demonstrate Node2Shell RCE Exploit on Node.js Build... · thehackernews.com
- 자바스크립트 node2shell 흠... · okky.kr
- Node.js Releases Security Updates to Fix High-Severity TLS, DNS and... · cybersecuritynews.com
- PHP 이어 Node.js도 뚫렸다... 원격 코드 실행 PoC 공개 · boannews.com
- 노드 난리네 node2shell - Github 마이너 갤러리 · gall.dcinside.com
- PHP2Shell, the two PHP RCE flaws and what to do now · pasqualepillitteri.it
- PHP2Shell · namu.wiki




