{"id":"CVE-2026-57863","summary":"Crater Invoice 6.0.6 Path Traversal RCE via update/unzip endpoint","details":"Crater Invoice through 6.0.6 contains a path traversal vulnerability in the self-update API that allows authenticated company owners to write arbitrary files outside the intended extraction directory by supplying crafted ZIP archives with ../ sequences to the unzip endpoint. Attackers can exploit unsanitized ZIP entry names passed to PHP's ZipArchive::extractTo() to write arbitrary PHP files into the web-accessible public directory and achieve remote code execution on the server.","modified":"2026-08-27T11:47:48.418397667Z","published":"2026-08-25T12:52:11.549Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57863.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57863.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57863"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/crater-invoice-path-traversal-rce-via-update-unzip-endpoint"},{"type":"PACKAGE","url":"https://github.com/crater-invoice-inc/crater"},{"type":"EVIDENCE","url":"https://gist.github.com/sermikr0/cc58727e6a777b6ea1104e923803a0ba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/crater-invoice-inc/crater","events":[{"introduced":"0"},{"last_affected":"18507ddb6f5881530ac78ba37b3d0b86c2e7e83f"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"6.0.6"}]}}],"versions":["6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","5.0.6","5.0.5","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0","4.2.0","4.1.0","4.0.4","4.0.3","4.0.2","4.0.1","4.0.0","3.1.1","3.1.0","3.0.0","2.1.0","2.0.2","2.0.1","2.0.0","1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57863.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}