Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-55555: Invoice Ninja pre-auth PHP deserialization RCE via APP_KEY exposure

Published Jan 7, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS6.6%94th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2024-55555CWE-502 · Deserialization of Untrusted Data

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.