CVE-2026-104867
Deferred Deferred - Pending Action

Unauthorized User Activity Heatmap Access in Immich

Vulnerability report for CVE-2026-104867, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-05

Assigner: GitHub, Inc.

Description

Immich is a high-performance self-hosted photo and video management solution. From 3.0.0 until 3.2.0, the GET /api/admin/users/{id}/calendar-heatmap route in server/src/controllers/user-admin.controller.ts uses the ordinary Permission.UserRead permission without an admin-route requirement, and UserAdminService.getCalendarHeatmap in server/src/services/user-admin.service.ts does not compare the authenticated user with the requested user identifier or perform a separate access check. Any authenticated non-admin user can therefore request another account's upload or capture-date activity heatmap for an arbitrary date range. AssetRepository.getCalendarHeatmap in server/src/repositories/asset.repository.ts filters by owner, date, and deletion state but not visibility, so the returned daily counts and total count include archived and locked assets. The route exposes counts and activity dates but does not return asset metadata or content, and it does not affect integrity or availability. This issue is fixed in version 3.2.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-05
Generated
2026-11-14
AI Q&A
2026-11-06
EPSS Evaluated
2026-11-13
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
immich-app immich >= 3.0.0, < 3.2.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1220 The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access controls lack required granularity, which renders the control policy too broad because it allows accesses from unauthorized agents to the security-sensitive assets.
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Immich (versions 3.0.0 to 3.2.0) is a broken access control issue where an authenticated non-admin user can access the GET /api/admin/users/{id}/calendar-heatmap endpoint. This endpoint should only be accessible to administrators but was incorrectly guarded with a non-admin permission. The flaw allows retrieval of sensitive data like total asset counts and per-day activity heatmaps (upload and capture dates) for any user, including archived or locked assets.

Detection Guidance

To detect this vulnerability, check if non-admin users can access the GET /api/admin/users/{id}/calendar-heatmap endpoint. Use curl commands to test access: curl -u <username>:<password> http://<immich-server>/api/admin/users/<target-user-id>/calendar-heatmap. If the response includes heatmap data without admin privileges, the system is vulnerable.

Impact Analysis

An attacker with basic user access could exploit this to gather activity patterns and asset counts of other users, including sensitive information like upload and capture dates. While it does not expose asset metadata or content, it could enable privacy violations by revealing user behavior and data presence without proper authorization.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection regulations like GDPR and HIPAA, which mandate strict access controls and protection of personal data. Unauthorized access to user activity data and asset counts could constitute a breach of confidentiality and privacy obligations under these standards.

Mitigation Strategies

Immediately update Immich to version 3.2.0 or later to apply the security fix. Alternatively, apply the patch from commit 6c86d39 or f68815e to enforce admin-only access to the calendar-heatmap endpoint. Ensure no unauthorized users have admin privileges.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-104867. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...