Home / bobthecow / psysh / CVE-2026-25129
CVE-2026-25129: is it exploited, and which versions of bobthecow psysh are affected and fixed?
CVE-2026-25129 is an uncontrolled search path (DLL or library hijacking) vulnerability in bobthecow psysh. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: psy/psysh from 0.12.0 before 0.12.19 and psy/psysh before 0.11.23 (GitHub advisory GHSA-4486-gxhx-5mg7). Fixed in 0.12.19 and 0.11.23 (GitHub advisory GHSA-4486-gxhx-5mg7). Severity: Medium (6.7, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-25129?
PsySH has Local Privilege Escalation via CWD .psysh.php auto-load
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.
From the CVE record by GitHub_M, last updated February 2, 2026, 15:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| bobthecow | psysh | < 0.11.23 >= 0.12.0, < 0.12.19 |
As the CVE record by GitHub_M states it, last updated February 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | psy/psysh | >= 0.12.0, < 0.12.19 | 0.12.19 | GHSA-4486-gxhx-5mg7 |
| Packagist | psy/psysh | < 0.11.23 | 0.11.23 | GHSA-4486-gxhx-5mg7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 31, 2026. Summary: PsySH has Local Privilege Escalation via CWD .psysh.php auto-load.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| psysh | psysh | before 0.11.23 | application |
| psysh | psysh | from 0.12.0 before 0.12.19 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:24 UTC.
How severe is CVE-2026-25129?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.7 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-25129 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, February 2, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-427 Uncontrolled Search Path Element
Where are the vendor advisories and references?
- https://github.com/bobthecow/psysh/security/advisories/GHSA-4486-gxhx-5mg7 x_refsource_CONFIRM
- https://github.com/bobthecow/psysh/releases/tag/v0.11.23 x_refsource_MISC
- https://github.com/bobthecow/psysh/releases/tag/v0.12.19 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 29, 2026
- Published
- January 30, 2026, 20:12 UTC
- CVE record updated
- February 2, 2026, 15:45 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:24 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-25129
Is CVE-2026-25129 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of bobthecow psysh are affected by CVE-2026-25129?
psy/psysh from 0.12.0 before 0.12.19 and psy/psysh before 0.11.23, per the GitHub advisory GHSA-4486-gxhx-5mg7. The tables above give every range the sources list.
Which version fixes CVE-2026-25129?
0.12.19 and 0.11.23, per the GitHub advisory GHSA-4486-gxhx-5mg7. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-25129?
Medium (6.7, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-25129?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.