{"id":"CVE-2023-45826","summary":"Authenticated SQL Injection in leantime","details":"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.","aliases":["GHSA-559g-3h98-g3fj"],"modified":"2026-08-12T03:30:12.398846912Z","published":"2023-10-19T18:28:54.167Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"fixed":"2.4-beta-4"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45826.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45826.json"},{"type":"ADVISORY","url":"https://github.com/Leantime/leantime/security/advisories/GHSA-559g-3h98-g3fj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45826"},{"type":"FIX","url":"https://github.com/Leantime/leantime/commit/be75f1e0f311d11c00a0bdc7079a62eef3594bf0"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/leantime/leantime","events":[{"introduced":"0"},{"fixed":"2746cfec0bf7ca6a5ff5e8b744bf8dbdee83b0e2"},{"introduced":"2746cfec0bf7ca6a5ff5e8b744bf8dbdee83b0e2"},{"fixed":"be75f1e0f311d11c00a0bdc7079a62eef3594bf0"}],"database_specific":{"cpe":["cpe:2.3:a:leantime:leantime:*:*:*:*:*:*:*:*","cpe:2.3:a:leantime:leantime:2.4:-:*:*:*:*:*:*","cpe:2.3:a:leantime:leantime:2.4:beta:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"2.4"},{"introduced":"2.4-NA"},{"last_affected":"2.4-NA"},{"introduced":"2.4-beta"},{"last_affected":"2.4-beta"}],"source":["CPE_RANGE","CPE_STRING","REFERENCES"]}}],"versions":["2.4-NA","2.4-beta","v2.4-beta-8","v2.4-beta-7","v2.4-beta","v2.3.27","v2.3.26","v2.3.24","v2.3.25","v2.3.23","v2.3.22","v2.3.21","v2.3.20","v2.3.19","v2.3.18","v2.3.17","v2.3.16","v2.3.15","v2.3.14","v2.3.13","v2.3.12","v2.3.11","v2.3.10","v2.3.9","v2.3.8","v2.3.7","v2.3.6","v2.3.5","v2.3.4","v2.3.3","v2.3.2","v2.3.1-beta","v2.3.0-beta","v2.3-beta","v2.2.11","v2.2.10","v2.2.9","v2.2.8","v2.2.7","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.0","v2.2.2","v2.2.1","v2.1.9","v2.1.8","v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1","v2.1-beta6","v2.1-beta5","v2.1-beta4b","v2.1-beta3","v2.0.14","v2.1-beta2","v2.1-beta","v2.0.13","v2.0.12","v2.0.11","v2.0.10","v2.0.9","v2.0.8","v2.0.7","v2.0.6","v2.0.5","v2.0.4","v2.0.3","v2.0.2","v2.0.1","v2.0","v0.9.5-alpha"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-45826.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}