{"items":[{"id":"NVI-00005488","kind":"vulnerability","title":"Pheditor: Terminal command-allowlist bypass via argument injection leads to RCE — surviving vector after the metacharacter-sanitization fixes","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-g3hq-hphg-8fhh"],"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-0f354b14b5e1e8c7e6608b38a5100a0e"],"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.7 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-91d8d83a9d2164a3793fa1eeb9cca1b3"],"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-24T21:45:45.000Z","value":"8.8 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-0f354b14b5e1e8c7e6608b38a5100a0e"}],"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-0f354b14b5e1e8c7e6608b38a5100a0e","url":"https://github.com/advisories/GHSA-g3hq-hphg-8fhh","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-g3hq-hphg-8fhh","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:13.529Z"},{"id":"sr-91d8d83a9d2164a3793fa1eeb9cca1b3","url":"https://github.com/advisories/GHSA-g3hq-hphg-8fhh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g3hq-hphg-8fhh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.410Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0f354b14b5e1e8c7e6608b38a5100a0e"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\npheditor's terminal feature restricts callers to an allowlist of commands (`TERMINAL_COMMANDS`) and rejects shell metacharacters. The allowlist is enforced as a PREFIX match with no argument validation, and the allowlist includes binaries that grant arbitrary command execution through their own options (`find`, `git`, `php`, `tar`, `grep`). A caller can therefore run any command using only allowlisted binaries and no rejected metacharacter, escaping the allowlist restriction the terminal feature relies on.\n\n### Relationship to the prior terminal advisories (this is a surviving, distinct vector)\n\nThe prior terminal advisories were all shell-metacharacter injections: GHSA-9643-6xjp-vx57 (`$()`), GHSA-wg4w-wr5q-6vjc (`|`, backtick, newline), GHSA-jvc5-58fv-w8cq (`;` via the dir field). The current code rejects those characters. This report is a different class — CWE-88 argument injection through an allowlisted binary's flags — which the metacharacter denylist does not address.\n\n### Root cause (HEAD, v2.0.6)\n\nIn the `terminal` action handler of `pheditor.php`:\n1. `:588` rejects `&`, `;`, `|`, `$`, backtick, `\\n`, `\\r`. It does NOT reject space, `-`, `{`, `}`, `+`, `/`, `.`","public_affected_ranges":["<= 2.0.6"]},{"certainty":"source_listed","source_ids":["sr-91d8d83a9d2164a3793fa1eeb9cca1b3"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\npheditor's terminal feature restricts callers to an allowlist of commands (`TERMINAL_COMMANDS`) and rejects shell metacharacters. The allowlist is enforced as a PREFIX match with no argument validation, and the allowlist includes binaries that grant arbitrary command execution through their own options (`find`, `git`, `php`, `tar`, `grep`). A caller can therefore run any command using only allowlisted binaries and no rejected metacharacter, escaping the allowlist restriction the terminal feature relies on.\n\n### Relationship to the prior terminal advisories (this is a surviving, distinct vector)\n\nThe prior terminal advisories were all shell-metacharacter injections: GHSA-9643-6xjp-vx57 (`$()`), GHSA-wg4w-wr5q-6vjc (`|`, backtick, newline), GHSA-jvc5-58fv-w8cq (`;` via the dir field). The current code rejects those characters. This report is a different class — CWE-88 argument injection through an allowlisted binary's flags — which the metacharacter denylist does not address.\n\n### Root cause (HEAD, v2.0.6)\n\nIn the `terminal` action handler of `pheditor.php`:\n1. `:588` rejects `&`, `;`, `|`, `$`, backtick, `\\n`, `\\r`. It does NOT reject space, `-`, `{`, `}`, `+`, `/`, `.`","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.7"]}],"null_published_at":"2026-11-03T10:03:26.539Z","source_updated_at":"2026-07-24T21:45:45.000Z","source_disclosed_at":"2026-07-24T21:45:40.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:20.410Z"},{"id":"NVI-00005488","kind":"vulnerability","title":"Pheditor: Terminal command-allowlist bypass via argument injection leads to RCE — surviving vector after the metacharacter-sanitization fixes","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-g3hq-hphg-8fhh"],"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.7 for pheditor/pheditor. Confirm the publisher’s latest guidance.","source_ids":["sr-91d8d83a9d2164a3793fa1eeb9cca1b3"],"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-91d8d83a9d2164a3793fa1eeb9cca1b3","url":"https://github.com/advisories/GHSA-g3hq-hphg-8fhh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g3hq-hphg-8fhh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.410Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-91d8d83a9d2164a3793fa1eeb9cca1b3"],"technology":"pheditor/pheditor","known_exclusions":[],"conditions_summary":"### Summary\n\npheditor's terminal feature restricts callers to an allowlist of commands (`TERMINAL_COMMANDS`) and rejects shell metacharacters. The allowlist is enforced as a PREFIX match with no argument validation, and the allowlist includes binaries that grant arbitrary command execution through their own options (`find`, `git`, `php`, `tar`, `grep`). A caller can therefore run any command using only allowlisted binaries and no rejected metacharacter, escaping the allowlist restriction the terminal feature relies on.\n\n### Relationship to the prior terminal advisories (this is a surviving, distinct vector)\n\nThe prior terminal advisories were all shell-metacharacter injections: GHSA-9643-6xjp-vx57 (`$()`), GHSA-wg4w-wr5q-6vjc (`|`, backtick, newline), GHSA-jvc5-58fv-w8cq (`;` via the dir field). The current code rejects those characters. This report is a different class — CWE-88 argument injection through an allowlisted binary's flags — which the metacharacter denylist does not address.\n\n### Root cause (HEAD, v2.0.6)\n\nIn the `terminal` action handler of `pheditor.php`:\n1. `:588` rejects `&`, `;`, `|`, `$`, backtick, `\\n`, `\\r`. It does NOT reject space, `-`, `{`, `}`, `+`, `/`, `.`","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.7"]}],"null_published_at":"2026-10-31T22:13:01.467Z","source_updated_at":"2026-07-24T22:00:28.100Z","source_disclosed_at":"2026-07-24T21:45:40.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:20.410Z"}],"next_cursor":null,"snapshot_revision":"42594"}