CVE Explorer
CVE-2026-25129
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 privileg
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"psysh","vendor":"bobthecow","versions":[{"status":"affected","version":"< 0.11.23"},{"status":"affected","version":">= 0.12.0, < 0.12.19"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-427","description":"CWE-427: Uncontrolled Search Path Element","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/bobthecow/psysh/releases/tag/v0.11.23","tags":["x_refsource_MISC"],"url":"https://github.com/bobthecow/psysh/releases/tag/v0.11.23"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/references/1
{"name":"https://github.com/bobthecow/psysh/releases/tag/v0.12.19","tags":["x_refsource_MISC"],"url":"https://github.com/bobthecow/psysh/releases/tag/v0.12.19"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/references/2
{"name":"https://github.com/bobthecow/psysh/security/advisories/GHSA-4486-gxhx-5mg7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/bobthecow/psysh/security/advisories/GHSA-4486-gxhx-5mg7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d057a9bc6045b076f00dc4e5105e9fede30100e31f35025f3ba0da13a25a1b8c · sha256:e1477815d66164e1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.