Sync every week.
Find a file
Timon c0898b96ca
refactor(server)!: sanitize error messages to avoid leaking resource details (#28154)
* refactor(server)!: sanitize error messages to avoid leaking resource and permission details

* fix e2e tests

* fix(server): prevent login timing oracle by always running bcrypt

Always call compareBcrypt in the login path regardless of whether the
email is registered. When no user is found, a dummy hash is used so the
bcrypt KDF still runs and response latency is constant, making it
impossible to enumerate valid email addresses by measuring response time.

* fix(server): collapse OAuth callback messages to prevent email-existence oracle

Two distinct error messages in the OAuth callback endpoint revealed
whether an email address was already registered in the database.
An attacker controlling the OAuth provider's email claim could probe
the user table without authentication. Both cases now return the same
generic message.

* fix(server): replace email-in-use messages to prevent user-existence oracle

Error messages on registration and profile-update that named whether an
email address was already taken allowed callers to enumerate registered
accounts. All three sites now return the same generic message regardless
of whether the address is in use.

* fix(server): hide slug uniqueness constraint to prevent shared-link probe

Surfacing the Postgres unique-constraint name in the error response let
any authenticated user brute-force whether a custom slug was already in
use by another user's shared link, leaking the existence of other links.

* fix(server): unify profile image errors to prevent user-existence oracle via status code

GET /users/:id/profile-image returned HTTP 400 for an unknown user ID
but HTTP 404 when the user existed without a photo, letting callers
distinguish the two cases. Both now return 404 so the response is
identical regardless of whether the UUID maps to an account.

* fix(server): replace album user-not-found message to prevent UUID-existence oracle

Album owners could probe arbitrary UUIDs via the add-user endpoint and
determine whether they belonged to registered accounts by receiving
'User not found'. The message is now ambiguous about whether the ID was
unrecognised or the user is inactive.

* Revert "fix e2e tests"

This reverts commit c1bd7a116b3f0fccf3d2530c8e34b13c1d862989.

* Revert "refactor(server)!: sanitize error messages to avoid leaking resource and permission details"

This reverts commit b96421a08387340fbb77913ca89b0717bcd9945d.

* fix(server): use 403 instead of 400 for access-denied errors

requireAccess threw BadRequestException which is incorrect HTTP semantics.
Access denial is a client authorization problem (403 Forbidden), not a
malformed request (400 Bad Request). Keep the descriptive permission name
in the message since the full permission set is public API surface.

* Revert "fix(server): use 403 instead of 400 for access-denied errors"

This reverts commit bb069909571f4e514e7d050ddf588c017ee5a029.

* shorten comment

* add log messages

* format

* one more
2026-05-01 10:00:18 -04:00
.devcontainer fix: align devcontainers with standard development containers (#26321) 2026-02-20 09:37:07 -05:00
.github chore(deps): update github-actions (#28005) 2026-04-21 13:35:55 +02:00
.vscode chore: tailwind linting (#28165) 2026-05-01 00:18:03 -04:00
cli chore(deps): update node.js to v24.15.0 (#28006) 2026-04-21 09:47:32 +00:00
deployment chore(deps): update dependency terragrunt to v1.0.2 (#28125) 2026-04-28 12:00:44 +02:00
design chore: update readme screenshot (#8182) 2024-03-22 04:31:36 +00:00
docker chore(deps): update prom/prometheus docker digest to e425440 (#28120) 2026-04-28 12:00:11 +02:00
docs chore(server)!: drop pgvecto.rs support (#28159) 2026-04-30 09:40:38 -04:00
e2e refactor(server)!: sanitize error messages to avoid leaking resource details (#28154) 2026-05-01 10:00:18 -04:00
e2e-auth-server feat(server): added backchannel logout api endpoint (#26235) 2026-04-17 18:45:33 +00:00
fastlane Added required setup for f-droid (#88) 2022-03-29 14:13:47 -05:00
i18n feat(server): add OIDC logout URL override option (#27389) 2026-04-18 04:18:21 +00:00
machine-learning fix(ml): handle empty/corrupt images in face detection (#27391) 2026-04-27 11:14:34 -04:00
misc/release chore: update uv version setting command in release script (#25583) 2026-01-28 13:56:25 +00:00
mobile chore!: duration in milliseconds (#28003) 2026-04-30 09:44:27 -04:00
open-api chore!: duration in milliseconds (#28003) 2026-04-30 09:44:27 -04:00
plugins fix(deps): update typescript-projects (#28025) 2026-04-22 16:49:28 +02:00
readme_i18n docs: update README_de_DE.md (#25443) 2026-01-22 12:55:44 +01:00
server refactor(server)!: sanitize error messages to avoid leaking resource details (#28154) 2026-05-01 10:00:18 -04:00
web chore: tailwind linting (#28165) 2026-05-01 00:18:03 -04:00
.dockerignore chore: dockerfile layout changes (#19673) 2025-07-18 17:56:26 -04:00
.editorconfig chore: linting (#7532) 2026-01-04 16:05:56 +00:00
.gitattributes chore: pump auto_route (#27876) 2026-04-17 20:28:36 +00:00
.gitignore fix: server build (#27599) 2026-04-07 20:53:04 +00:00
.gitmodules chore: remove stale mobile/.isar submodule entry (#27913) 2026-04-18 04:29:13 +05:30
.pnpmfile.cjs fix: exiftool-vendored.exe (#26393) 2026-02-20 09:16:42 -05:00
CODE_OF_CONDUCT.md Added Code of conduct 2024-07-05 15:31:13 +00:00
CODEOWNERS chore: add mobile codeowner (#22130) 2025-09-17 14:08:35 +02:00
CONTRIBUTING.md fix(docs): we usually don't assign issues (#26691) 2026-03-04 09:43:19 -06:00
install.sh fix: bash install.sh script for mac os (#15874) 2025-02-03 16:41:42 -06:00
LICENSE Change license to AGPLv3 (#7046) 2024-02-12 15:31:59 +00:00
Makefile chore: replace remaining usages of npm with pnpm (#26411) 2026-02-21 08:44:33 -05:00
mise.toml chore(deps): update dependency flutter to v3.41.7 (#28124) 2026-04-29 10:15:40 -05:00
package.json fix(deps): update typescript-projects (#28132) 2026-04-28 13:18:29 +02:00
pnpm-lock.yaml chore: tailwind linting (#28165) 2026-05-01 00:18:03 -04:00
pnpm-workspace.yaml fix(deps): update typescript-projects (#28008) 2026-04-21 15:29:34 +02:00
README.md fix(docs): update Readme links (#23959) 2025-11-18 21:32:11 -06:00
renovate.json fix: let renovate update base images (#27272) 2026-03-25 18:00:40 +00:00
SECURITY.md chore: use immich.app email for security reports (#10594) 2024-06-24 07:25:48 -07:00


License: AGPLv3 Discord

High performance self-hosted photo and video management solution



Català Español Français Italiano 日本語 한국어 Deutsch Nederlands Türkçe 简体中文 正體中文 Українська Русский Português Brasileiro Svenska العربية Tiếng Việt ภาษาไทย

Warning

⚠️ Always follow 3-2-1 backup plan for your precious photos and videos!

Note

You can find the main documentation, including installation guides, at https://immich.app/.

Demo

Access the demo here. For the mobile app, you can use https://demo.immich.app for the Server Endpoint URL.

Login credentials

Email Password
demo@immich.app demo

Features

Features Mobile Web
Upload and view videos and photos Yes Yes
Auto backup when the app is opened Yes N/A
Prevent duplication of assets Yes Yes
Selective album(s) for backup Yes N/A
Download photos and videos to local device Yes Yes
Multi-user support Yes Yes
Album and Shared albums Yes Yes
Scrubbable/draggable scrollbar Yes Yes
Support raw formats Yes Yes
Metadata view (EXIF, map) Yes Yes
Search by metadata, objects, faces, and CLIP Yes Yes
Administrative functions (user management) No Yes
Background backup Yes N/A
Virtual scroll Yes Yes
OAuth support Yes Yes
API Keys N/A Yes
LivePhoto/MotionPhoto backup and playback Yes Yes
Support 360 degree image display No Yes
User-defined storage structure Yes Yes
Public Sharing Yes Yes
Archive and Favorites Yes Yes
Global Map Yes Yes
Partner Sharing Yes Yes
Facial recognition and clustering Yes Yes
Memories (x years ago) Yes Yes
Offline support Yes No
Read-only gallery Yes Yes
Stacked Photos Yes Yes
Tags No Yes
Folder View Yes Yes

Translations

Read more about translations here.

Translation status

Repository activity

Activities

Star history

Star History Chart

Contributors