{"id":"CVE-2025-10009","state":"PUBLISHED","title":"Authenticated admin RCE in Invoice Ninja","description":"Incorrect handling of uploaded files in the admin \"Restore\" function in Invoice Ninja <= 5.11.72 allows attackers with admin credentials to execute arbitrary code on the server via uploaded .php files.","publishedAt":"2025-09-22T09:20:03.168Z","updatedAt":"2025-09-22T13:09:03.098Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","source":"NCSC-FI"},"assigner":"NCSC-FI","products":["Invoice Ninja Invoice Ninja 5"],"affected":[{"vendor":"Invoice Ninja","product":"Invoice Ninja 5","packageName":"invoiceninja","defaultStatus":"unaffected","versions":[{"version":"5.11.41","status":"affected","lessThanOrEqual":"5.11.72","versionType":"custom"},{"version":"5.11.73","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}],"collectionURL":"https://github.com/invoiceninja/invoiceninja","modules":["Admin \"Restore\" function"],"platforms":["Linux","Windows","64 bit"],"programFiles":["https://github.com/invoiceninja/invoiceninja/blob/v5.11.72/app/Http/Controllers/ImportJsonController.php"],"repo":"https://github.com/invoiceninja/invoiceninja"}],"references":["https://github.com/invoiceninja/invoiceninja/commit/02151b570b226b4584a8e61b06b10be9366da3de"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/10xxx/CVE-2025-10009.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-10009","state":"PUBLISHED","datePublished":"2025-09-22T09:20:03.168Z","dateUpdated":"2025-09-22T13:09:03.098Z","assignerShortName":"NCSC-FI","assignerOrgId":"db4dfee8-a97e-4877-bfae-eba6d14a2166","dateReserved":"2025-09-05T05:44:46.601Z"},"containers":{"cna":{"title":"Authenticated admin RCE in Invoice Ninja","descriptions":[{"lang":"en","value":"Incorrect handling of uploaded files in the admin \"Restore\" function in Invoice Ninja <= 5.11.72 allows attackers with admin credentials to execute arbitrary code on the server via uploaded .php files."}],"affected":[{"vendor":"Invoice Ninja","product":"Invoice Ninja 5","packageName":"invoiceninja","defaultStatus":"unaffected","versions":[{"version":"5.11.41","status":"affected","lessThanOrEqual":"5.11.72","versionType":"custom"},{"version":"5.11.73","status":"unaffected","lessThanOrEqual":"*","versionType":"custom"}],"collectionURL":"https://github.com/invoiceninja/invoiceninja","modules":["Admin \"Restore\" function"],"platforms":["Linux","Windows","64 bit"],"programFiles":["https://github.com/invoiceninja/invoiceninja/blob/v5.11.72/app/Http/Controllers/ImportJsonController.php"],"repo":"https://github.com/invoiceninja/invoiceninja"}],"references":[{"url":"https://github.com/invoiceninja/invoiceninja/commit/02151b570b226b4584a8e61b06b10be9366da3de"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","description":"CWE-434 Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"NCSC-FI","orgId":"db4dfee8-a97e-4877-bfae-eba6d14a2166","dateUpdated":"2025-09-22T09:20:03.168Z"},"credits":[{"lang":"en","type":"finder","value":"lassi"}],"impacts":[{"capecId":"CAPEC-175","descriptions":[{"lang":"en","value":"CAPEC-175 Code Inclusion"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Update Invoice Ninja to 5.11.73 or newer."}],"value":"Update Invoice Ninja to 5.11.73 or newer."}],"source":{"discovery":"UNKNOWN"},"tags":["x_open-source"],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-22T13:08:50.367291Z","id":"CVE-2025-10009","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-22T13:09:03.098Z"}}]}}}