{"items":[{"id":"NVI-00004982","kind":"vulnerability","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","revision":5,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-wg4w-wr5q-6vjc","CVE-2026-55578"],"plain_summary":"GitHub lists this reviewed advisory for pheditor/pheditor. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-178c67676ce321d0a8f4b915a2e1ce4a"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.0.6 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-16T20:10:48.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5cef5a5c2f5a4de40159275c555a74eb"},{"kind":"CVSS","as_of":"2026-07-28T15:17:19.233Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-b7e08773bf2af5e88521d7f46fab20e3"},{"kind":"EPSS","as_of":"2026-11-04T12:03:12.000Z","value":"0.667%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.51989. Missing scores are unknown.","source_id":"sr-178c67676ce321d0a8f4b915a2e1ce4a"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5cef5a5c2f5a4de40159275c555a74eb","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T09:59:26.779Z"},{"id":"sr-7bea13f941e30e53954006c963f348af","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.387Z"},{"id":"sr-b7e08773bf2af5e88521d7f46fab20e3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55578","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-55578","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:39.943Z"},{"id":"sr-178c67676ce321d0a8f4b915a2e1ce4a","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-55578","publisher":"FIRST EPSS","observed_at":"2026-11-04T23:33:33.049Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5cef5a5c2f5a4de40159275c555a74eb"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":[">= 2.0.1, < 2.0.6"]},{"certainty":"source_listed","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":["ECOSYSTEM: introduced 2.0.1; fixed 2.0.6"]}],"null_published_at":"2026-11-08T19:53:38.939Z","source_updated_at":"2026-07-16T20:10:48.000Z","source_disclosed_at":"2026-07-16T20:10:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:41.387Z"},{"id":"NVI-00004982","kind":"vulnerability","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-wg4w-wr5q-6vjc","CVE-2026-55578"],"plain_summary":"GitHub lists this reviewed advisory for pheditor/pheditor. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-a79e9ed1ce2fff80231ca6a29510c4c5"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.0.6 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-16T20:10:48.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5cef5a5c2f5a4de40159275c555a74eb"},{"kind":"CVSS","as_of":"2026-07-28T15:17:19.233Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-b7e08773bf2af5e88521d7f46fab20e3"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.667%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.51885. Missing scores are unknown.","source_id":"sr-a79e9ed1ce2fff80231ca6a29510c4c5"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5cef5a5c2f5a4de40159275c555a74eb","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T09:59:26.779Z"},{"id":"sr-7bea13f941e30e53954006c963f348af","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.387Z"},{"id":"sr-b7e08773bf2af5e88521d7f46fab20e3","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55578","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-55578","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:39.943Z"},{"id":"sr-a79e9ed1ce2fff80231ca6a29510c4c5","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-55578","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.383Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5cef5a5c2f5a4de40159275c555a74eb"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":[">= 2.0.1, < 2.0.6"]},{"certainty":"source_listed","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":["ECOSYSTEM: introduced 2.0.1; fixed 2.0.6"]}],"null_published_at":"2026-11-06T15:18:17.695Z","source_updated_at":"2026-07-16T20:10:48.000Z","source_disclosed_at":"2026-07-16T20:10:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.387Z"},{"id":"NVI-00004982","kind":"vulnerability","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-wg4w-wr5q-6vjc","CVE-2026-55578"],"plain_summary":"GitHub lists this reviewed advisory for pheditor/pheditor. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-a79e9ed1ce2fff80231ca6a29510c4c5"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.0.6 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-16T20:10:48.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5cef5a5c2f5a4de40159275c555a74eb"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.667%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.51885. Missing scores are unknown.","source_id":"sr-a79e9ed1ce2fff80231ca6a29510c4c5"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5cef5a5c2f5a4de40159275c555a74eb","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T09:59:26.779Z"},{"id":"sr-7bea13f941e30e53954006c963f348af","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.387Z"},{"id":"sr-a79e9ed1ce2fff80231ca6a29510c4c5","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-55578","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.383Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5cef5a5c2f5a4de40159275c555a74eb"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":[">= 2.0.1, < 2.0.6"]},{"certainty":"source_listed","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":["ECOSYSTEM: introduced 2.0.1; fixed 2.0.6"]}],"null_published_at":"2026-11-05T03:52:54.745Z","source_updated_at":"2026-07-16T20:10:48.000Z","source_disclosed_at":"2026-07-16T20:10:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:41.387Z"},{"id":"NVI-00004982","kind":"vulnerability","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-wg4w-wr5q-6vjc","CVE-2026-55578"],"plain_summary":"GitHub lists this reviewed advisory for pheditor/pheditor. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-5cef5a5c2f5a4de40159275c555a74eb"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2.0.6 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-16T20:10:48.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-5cef5a5c2f5a4de40159275c555a74eb"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-5cef5a5c2f5a4de40159275c555a74eb","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T09:59:26.779Z"},{"id":"sr-7bea13f941e30e53954006c963f348af","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.387Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-5cef5a5c2f5a4de40159275c555a74eb"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":[">= 2.0.1, < 2.0.6"]},{"certainty":"source_listed","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":["ECOSYSTEM: introduced 2.0.1; fixed 2.0.6"]}],"null_published_at":"2026-11-04T10:04:27.926Z","source_updated_at":"2026-07-16T20:10:48.000Z","source_disclosed_at":"2026-07-16T20:10:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:41.387Z"},{"id":"NVI-00004982","kind":"vulnerability","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-wg4w-wr5q-6vjc","CVE-2026-55578"],"plain_summary":"OSV carries this publisher advisory for pheditor/pheditor. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.6 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-7bea13f941e30e53954006c963f348af","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-wg4w-wr5q-6vjc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.387Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-7bea13f941e30e53954006c963f348af"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\nThe terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to `shell_exec()`. After the fix for GHSA-9643-6xjp-vx57 (which added `$` to the blocklist), the characters `|` (single pipe), `` ` `` (backtick), and the newline byte (`0x0A`) remain unblocked. An authenticated user with the `terminal` permission (enabled by default) can leverage any of these to bypass the `TERMINAL_COMMANDS` allowlist and execute arbitrary OS commands as the web server user.\n\n### Details\n\nTested repository: https://github.com/pheditor/pheditor\n\nTested commit: `e538f05b6faec99e5b23726bc9c17d6b57774297` (current HEAD on `main`)\n\nAffected version: Pheditor 2.0.1+\n\nThe terminal handler receives `$_POST['command']` and passes it to `shell_exec()` at `pheditor.php:586`:\n\n```php\n$output = shell_exec((empty($dir) ? null : 'cd ' . escapeshellarg($dir) . ' && ') . $command . ' && echo \\ ; pwd');\n```\n\nThe blocklist at `pheditor.php:557` checks for `&`, `;`, `||`, and `$`, but does not block `|`, `` ` ``, or newline (`0x0A`):\n\n```php\nif (strpos($command, '&') !== false || strpos($command, ';') !== false || strpos($command, '||') !== fals","public_affected_ranges":["ECOSYSTEM: introduced 2.0.1; fixed 2.0.6"]}],"null_published_at":"2026-10-31T22:12:57.150Z","source_updated_at":"2026-07-28T04:14:47.126Z","source_disclosed_at":"2026-07-16T20:10:47.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.387Z"}],"next_cursor":null,"snapshot_revision":"42594"}