CVE-2024-55555: Invoice Ninja pre-auth PHP deserialization RCE via APP_KEY exposure
Invoice Ninja before 5.10.43 is vulnerable to remote code execution through a pre-authentication route when an attacker knows the Laravel APP_KEY. The unauthenticated /route/{hash} endpoint defined in invoiceninja/routes/client.php passes the attacker-controlled {hash} parameter to Laravel's decrypt() function. In Laravel, decrypt() expects a valid encrypted value and, by default, unserializes the decrypted plaintext. If the attacker possesses the APP_KEY, they can forge a valid Laravel-encrypted payload containing a serialized PHP object. Where a usable gadget chain is present in the application’s loaded libraries, this unsafe deserialization can be turned into code execution. The issue is exacerbated by .env files distributed with default APP_KEY values that may be reused in production deployments.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can lead to unauthenticated remote code execution in the context of the Invoice Ninja application. An attacker able to supply a crafted encrypted payload and a valid APP_KEY can trigger PHP object deserialization and execute commands via available gadget chains. This can result in full compromise of the application, access to sensitive business and financial data handled by Invoice Ninja, modification of invoices and customer records, theft of credentials or secrets available to the application, and potential lateral movement from the affected host.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, rotate the APP_KEY at once and invalidate any encrypted application data or cookies that depend on the old key as operationally appropriate. Restrict or disable access to the vulnerable unauthenticated route where feasible. Ensure .env files are not exposed via the web server, repository contents, backups, or container images. Monitor for suspicious requests to /route/{hash}, anomalous Laravel-encrypted payloads, and signs of deserialization-based exploitation. Reducing available gadget chains by minimizing unnecessary PHP packages may lower exploitability, but this is not a substitute for patching and key rotation.
Remediation
Patch, then assume compromise.
Upgrade Invoice Ninja to version 5.10.43 or later, where the issue has been patched. Regenerate the Laravel APP_KEY using php artisan key:generate and ensure any previously exposed or default keys are replaced. Audit deployments for reuse of APP_KEY values from example files, repositories, images, or prior environments. Remove any .env files or configuration artifacts from public exposure, and rotate any credentials or secrets that may have been accessible to the compromised application environment.
Exploits
1 exploit validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
References
Frequently asked questions
- Is CVE-2024-55555 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2024-55555 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-55555?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-55555, the earliest disclosed Dec 13, 2024.
- Is there a patch for CVE-2024-55555?
- Upgrade Invoice Ninja to version 5.10.43 or later, where the issue has been patched. Regenerate the Laravel APP_KEY using php artisan key:generate and ensure any previously exposed or default keys are replaced.
- How severe is CVE-2024-55555?
- CVE-2024-55555 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 6.6% (94th percentile) as of Sep 25, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.