{"id":"CVE-2026-48030","state":"PUBLISHED","title":"Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)","description":"Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.4, an OS Command Injection vulnerability in the terminal action handler allows any authenticated user to execute arbitrary OS commands by injecting shell metacharacters into the 'dir' POST parameter, completely bypassing the TERMINAL_COMMANDS whitelist and achieving full Remote Code Execution with web server privileges. This issue has been patched in version 2.0.4.","publishedAt":"2026-07-27T17:53:34.438Z","updatedAt":"2026-07-27T18:53:42.856Z","severity":{"score":9.9,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["pheditor pheditor"],"affected":[{"vendor":"pheditor","product":"pheditor","versions":[{"version":">= 2.0.1, < 2.0.4","status":"affected"}]}],"references":["https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843","https://github.com/pheditor/pheditor/releases/tag/2.0.4"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/48xxx/CVE-2026-48030.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-48030","state":"PUBLISHED","datePublished":"2026-07-27T17:53:34.438Z","dateUpdated":"2026-07-27T18:53:42.856Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-20T17:44:09.588Z"},"containers":{"cna":{"title":"Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)","descriptions":[{"lang":"en","value":"Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.4, an OS Command Injection vulnerability in the terminal action handler allows any authenticated user to execute arbitrary OS commands by injecting shell metacharacters into the 'dir' POST parameter, completely bypassing the TERMINAL_COMMANDS whitelist and achieving full Remote Code Execution with web server privileges. This issue has been patched in version 2.0.4."}],"affected":[{"vendor":"pheditor","product":"pheditor","versions":[{"version":">= 2.0.1, < 2.0.4","status":"affected"}]}],"references":[{"url":"https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843","name":"https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pheditor/pheditor/releases/tag/2.0.4","name":"https://github.com/pheditor/pheditor/releases/tag/2.0.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-27T17:53:34.438Z"},"source":{"advisory":"GHSA-jvc5-6g7q-c843","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T18:53:32.014022Z","id":"CVE-2026-48030","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-27T18:53:42.856Z"}}]}}}