What’s Vulnerable › Vulnerabilities
CVE-2023-45826: Authenticated SQL Injection in leantime
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-10-19 · updated 2026-06-17
- Weakness: CWE-89
Description
Leantime is an open source project management system. A 'userId' variable in `app/domain/files/repositories/class.files.php` is not parameterized. An authenticated attacker can send a carefully crafted POST request to `/api/jsonrpc` to exploit an SQL injection vulnerability. Confidentiality is impacted as it allows for dumping information from the database. This issue has been addressed in version 2.4-beta-4. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected products
- Leantime: before 2.4; 2.4, 2.4-beta, 2.4-beta2, 2.4-beta3 — fixed in 2.4
How to fix
Upgrade to a fixed version: Leantime 2.4. Check the vendor advisory for mitigations.
References
- https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0
- https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj
- https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0
- https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj
Get alerted when CVE-2023-45826 or the next vulnerability affects your stack