CVE-2026-0649 Details
Description
A security vulnerability has been detected in invoiceninja up to 5.12.38. The affected element is the function copy of the file /app/Jobs/Util/Import.php of the component Migration Import. The manipulation of the argument company_logo leads to server-side request forgery. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A server-side request forgery (SSRF) vulnerability exists in Invoice Ninja versions through 5.12.38. The issue is located in the migration import feature, specifically within the 'app/Jobs/Util/Import.php' file. The vulnerability arises because the 'company_logo' parameter in user-uploaded migration files is not properly validated before being passed to PHP's 'copy()' function. This lack of validation allows authenticated users to make the server send HTTP requests to arbitrary URLs. Exploitation of this vulnerability could access internal network services, cloud metadata endpoints (such as AWS, GCP, or Azure), and extract sensitive information like IAM credentials and internal API data.
It is recommended to validate the 'company_logo' URL before using it. This can be done by ensuring it uses HTTPS, parsing the URL to check its validity, blocking private or reserved IP addresses, and preventing access to cloud metadata endpoints. Alternatively, 'allow_url_fopen' can be disabled in 'php.ini', or 'copy()' can be replaced with a cURL-based solution that has restrictions on timeouts and redirects.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 7, 2026CISA-ADP
Assessed Jan 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://note-hxlab.wetolink.com/share/fWqEpn5fX4rH | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/?ctiid.339720 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.339720 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.721323 | [email protected] | Technical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Invoice Ninja | <= 5.12.38 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jan 7, 2026 | New CVE Received | [email protected] |
Volerion