# CVE-2023-45826: Authenticated SQL Injection in leantime

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.12%, higher than 82% of CVEs (2026-12-01)
- Published: 2023-10-19T18:28:54.167Z
- Modified: 2026-06-17T06:29:36.320Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Leantime leantime: < 2.4-beta-4; before 2.4; 2.4

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj> (vendor-advisory)
- <https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0> (patch)

## Sources

- CVE List: [CVE-2023-45826](https://www.cve.org/CVERecord?id=CVE-2023-45826), CVE Terms of Use, modified 2024-09-12
- NVD: [CVE-2023-45826](https://nvd.nist.gov/vuln/detail/CVE-2023-45826), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-45826 · Whole record: https://cve.day/CVE-2023-45826.json · Rebuilt by cve.day 2026-11-25T22:58:28.943Z
