目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-25129— PsySH 代码问题漏洞

一分钟漏洞结论

影响对象
bobthecow psysh
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

PsySH是Justin Hileman个人开发者的一个运行时控制台。 PsySH 0.11.23之前版本和0.12.19之前版本存在代码问题漏洞,该漏洞源于自动从当前工作目录加载.psysh.php文件,可能导致任意代码执行和权限提升。

CVSS 6.7 · Medium EPSS 0.33% · P24
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-25129 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
PsySH has Local Privilege Escalation via CWD .psysh.php auto-load
来源: CVE Program / CVE List V5
Vulnerability Description
PsySH is a runtime developer console, interactive debugger, and REPL for PHP. Prior to versions 0.11.23 and 0.12.19, PsySH automatically loads and executes a `.psysh.php` file from the Current Working Directory (CWD) on startup. If an attacker can write to a directory that a victim later uses as their CWD when launching PsySH, the attacker can trigger arbitrary code execution in the victim's context. When the victim runs PsySH with elevated privileges (e.g., root), this results in local privilege escalation. This is a CWD configuration poisoning issue leading to arbitrary code execution in the victim user’s context. If a privileged user (e.g., root, a CI runner, or an ops/debug account) launches PsySH with CWD set to an attacker-writable directory containing a malicious `.psysh.php`, the attacker can execute commands with that privileged user’s permissions, resulting in local privilege escalation. Downstream consumers that embed PsySH inherit this risk. For example, Laravel Tinker (`php artisan tinker`) uses PsySH. If a privileged user runs Tinker while their shell is in an attacker-writable directory, the `.psysh.php` auto-load behavior can be abused in the same way to execute attacker-controlled code under the victim’s privileges. Versions 0.11.23 and 0.12.19 patch the issue.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对搜索路径元素未加控制
来源: CVE Program / CVE List V5
Vulnerability Title
PsySH 代码问题漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
PsySH是Justin Hileman个人开发者的一个运行时控制台。 PsySH 0.11.23之前版本和0.12.19之前版本存在代码问题漏洞,该漏洞源于自动从当前工作目录加载.psysh.php文件,可能导致任意代码执行和权限提升。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
bobthecow psysh < 0.11.23 -

二、漏洞 CVE-2026-25129 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-25129 的情报信息

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-25129

暂无评论


发表评论