Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as vendor-portal contact
-
ExploitEnumerate sequential Hashid document IDs
-
ExecutionRequest /vendor/documents/{hashid}/download
-
ImpactExfiltrate other vendors' and clients' documents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The attacker must be an authenticated vendor-portal contact (PR:L) within the target Invoice Ninja company; the company_id scope check means disclosure is limited to documents within that same company. Practical mass-enumeration depends on the deployment running with the default empty HASH_SALT, which makes the Hashid document identifiers predictable and sequential - if an operator has configured a non-empty HASH_SALT, identifiers are far harder to guess and large-scale enumeration is materially constrained (though the missing ownership check itself remains). The vulnerable endpoints are GET /vendor/documents/{hashid}/download and POST /vendor/documents/download_multiple. The flaw affects Invoice Ninja versions before 5.13.28; updating to 5.13.28 is the vendor fix. Limiting factors: a valid vendor-portal account is required, the exposure is read-only (confidentiality only), and it is bounded to a single company tenant. |
| Impact | This is a credible, moderately-high-priority confidentiality issue rather than an inflated high-CVSS score. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H) is internally consistent with the description: it is network-reachable, low-complexity, requires some privileges (PR:L - a valid authenticated vendor-portal contact), needs no user interaction, and yields high confidentiality impact with no integrity or availability effect, matching the read-only document-disclosure behavior. No EPSS score and no KEV status were provided in the input, so exploitation probability cannot be quantified from this data; it is not listed in CISA KEV. No working exploit is confirmed - the only VulnCheck reference is an advisory, not verified exploit code. The main factors elevating real-world risk are the default empty HASH_SALT (making the Hashid document identifiers predictable and sequentially enumerable) and the sensitivity of the exposed data (invoice PDFs, contracts, payment receipts, expense attachments). The main factor limiting it is the PR:L requirement: an attacker must already hold a legitimate vendor-portal contact account within the target company. The vuln.today decision label is 'this_week', consistent with a patched, authenticated confidentiality flaw that is not under confirmed active exploitation. |
| Exploit ScenarioDerived | An attacker who holds a legitimate vendor-portal contact account in an Invoice Ninja company logs in, then iterates over predictable sequential Hashid document identifiers (made guessable by the default empty HASH_SALT) and calls GET /vendor/documents/{hashid}/download or POST /vendor/documents/download_multiple. Because authorization validates only company_id scope and not vendor ownership, they retrieve invoice PDFs, contracts, payment receipts, and expense attachments belonging to other vendors and clients in the same company. No public exploit identified at time of analysis; the attack is network-based and low-complexity once a vendor account is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Invoice Ninja before 5.13.28 allows authenticated vendor-portal contacts to download invoice PDFs, contracts, payment receipts, and expense attachments belonging to other vendors and clients within the same company, because authorization checks scope document access only by company_id and not by vendor ownership. The affected endpoints are GET /vendor/documents/{hashid}/download and POST /vendor/documents/download_multiple, and practical enumeration of sequential Hashid identifiers is materially easier when the deployment uses the default empty HASH_SALT. No public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: 5.13.28 - upgrade Invoice Ninja to 5.13.28; release notes are at https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.28, the fixing commit is https://github.com/invoiceninja/invoiceninja/commit/4895dce820e37b849b34af46548afd8520bb81d1, and the vendor advisory is https://www.vulncheck.com/advisories/invoice-ninja-broken-access-control-via-vendor-portal. If the update cannot be applied immediately, set a non-empty HASH_SALT to make document hashids far harder to guess and materially constrain enumeration; this does not correct the underlying missing vendor-ownership check, so the vendor update remains the complete fix. Limiting vendor-portal access to trusted partners reduces the number of accounts that could exploit the flaw but does not remove the authorization gap for legitimate vendor users.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is CWE-639 (Authorization Bypass Through User-Controlled Key), an IDOR-style flaw in Invoice Ninja's vendor-portal document handling. Invoice Ninja uses Hashids to represent document identifiers; with HASH_SALT left at its default empty value, those identifiers are predictable and sequential, so an authenticated vendor-portal contact can enumerate document hashids and request GET /vendor/documents/{hashid}/download or POST /vendor/documents/download_multiple. The authorization check validates only company_id scope, so the missing vendor-ownership check lets the requester retrieve documents belonging to other vendors and clients in the same company. The CPE cpe:2.3:a:invoiceninja:invoiceninja:*:*:*:*:*:*:*:* covers releases before the 5.13.28 fix; exploitation is read-only (confidentiality only) and requires a valid vendor-portal account, with disclosure bounded to the same company tenant.
Know when Invoiceninja gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable endpoint, low complexity, but requires a valid authenticated vendor-portal contact (PR:L); read-only document disclosure gives C:H with no integrity or availability impact and unchanged scope.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Invoice Ninja before 5.13.28 contains a broken access control vulnerability that allows authenticated vendor-portal contacts to access documents belonging to other vendors and clients by exploiting authorization checks that validate only company_id scope instead of vendor ownership. Attackers can request GET /vendor/documents/{hashid}/download or POST /vendor/documents/download_multiple, enumerating predictable sequential Hashids document identifiers due to a default empty HASH_SALT, to read any invoice PDFs, contracts, payment receipts, and expense attachments within the company.
Executive ViewAI
Invoice Ninja versions before 5.13.28 contain a high-severity authorization flaw that enables authenticated vendor-portal users to access confidential documents belonging to other vendors and clients within the same company. This could lead to unauthorized disclosure of sensitive financial and contractual information, damaging client trust and potentially violating data protection regulations. Leadership should prioritize patching to prevent insider threats and reputational harm.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Invoiceninja
View allinvoiceninja is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rate
Open redirect in Invoice Ninja's client portal login (through version 5.13.26) enables unauthenticated attackers to craf
In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php
Invoice Ninja's Vendor Portal Profile Update endpoint (versions up to 5.13.26) contains an IDOR flaw in VendorContactCon
Server-side request forgery in Invoice Ninja up to version 5.13.26 allows authenticated remote attackers to coerce the a
Stored cross-site scripting (XSS) in Invoice Ninja v5.13.0 through v5.13.3 allows authenticated attackers with product n
EUVD-2026-117017
GHSA-35wr-7cjw-8mx6
NVD
CVE.org
EPSS
Exploit-DB