jekkos
def0c27a0e
fix(security): Path traversal vulnerability in getPicThumb (#4545)
Security impact:
- Authenticated attackers could read arbitrary files on the server
- Path traversal via unsanitized pic_filename parameter
- Could read .env, config files, encryption keys
Fix:
- Apply basename() to strip directory components
- Validate file extension to allowlist image types only
- Add explicit error response for invalid file types
CVE: Pending
Affected: <= 3.4.2
Reported by: Kamran Saifullah (VulDB)
Co-authored-by: Ollama <ollama@steganos.dev>
2026-05-15 22:04:29 +02:00
..
2026-04-09 11:13:22 +04:00
2026-05-12 15:55:36 +02:00
2026-03-11 20:11:00 +01:00
2026-05-08 09:07:52 +02:00
2026-03-04 21:42:35 +01:00
2026-03-06 17:25:25 +01:00
2026-03-04 21:42:35 +01:00
2026-03-17 15:32:16 +00:00
2026-03-04 21:42:35 +01:00
2026-04-28 09:56:56 +02:00
2025-03-28 21:24:21 +04:00
2026-03-04 21:42:35 +01:00
2026-05-15 22:04:29 +02:00
2026-04-08 20:19:25 +00:00
2026-03-04 21:42:35 +01:00
2026-03-04 21:42:35 +01:00
2026-03-04 21:42:35 +01:00
2026-03-04 21:42:35 +01:00
2026-04-14 01:05:10 +04:00
2026-05-15 20:50:34 +02:00
2026-05-15 20:50:34 +02:00
2026-03-04 21:42:35 +01:00
2026-03-04 21:42:35 +01:00
2026-04-06 18:37:07 +00:00
2026-04-06 18:37:07 +00:00
2026-04-06 18:37:07 +00:00
2026-04-06 18:37:07 +00:00