Session file
Japanese セッションファイル
A file where the server briefly notes a visitor's connection state. In the PHP2Shell attacks, attempts to plant a web shell here were reported.
A session is how a server briefly remembers a visitor. Information that has to carry over as you move from page to page, such as being logged in or the items in a shopping cart, is written by the server into a session file. It is like a cloakroom ticket: hand it over and you get back the coat you left. Session files are usually stored not in the public web folder but in a separate folder set aside on the server.
Watch out In the PHP2Shell attacks, the U.S. security company VulnCheck reported attempts to plant web shells in session files rather than in the web folder. That means checking only the web folder and calling it clean can miss something. On shared rental hosting, customers usually cannot look inside the session folder themselves, so if you suspect an intrusion, ask your hosting provider or an expert to check this part as well. Deleting files in the session folder can log out visitors who are signed in, so it is better to leave the checking to them than to touch it yourself.
Source: PHP Manual, “Sessions” · PHP Group, “Session Runtime Configuration” · VulnCheck, “PHP2Shell Vulnerabilities: CVE-2026-109618 and CVE-2026-109619” (checked 2026-10-26)