CVE Explorer
CVE-2026-54540
Pheditor is a single-file editor and file manager written in PHP. Prior to version 2.0.5, there is an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pheditor","vendor":"pheditor","versions":[{"status":"affected","version":"< 2.0.5"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/pheditor/pheditor/releases/tag/2.0.5","tags":["x_refsource_MISC"],"url":"https://github.com/pheditor/pheditor/releases/tag/2.0.5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/cna/references/1
{"name":"https://github.com/pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b11ecdf5651e30d85ce535113fd9aef6ab4c7caf1ee41526bd8080067c13679 · sha256:c719eb806a65b16b… · /containers/adp/0/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.