Skip to content

Restricted users can access limited-visibility users' activity feeds and contribution heatmaps through the API

Moderate
bircni published GHSA-rfm6-r2x5-cg56 Aug 29, 2026

Package

Gitea

Affected versions

<= 1.27.2

Patched versions

1.27.3

Description

Summary

An authenticated account marked restricted can read the activity feed and contribution heatmap of a Limited-visibility user through GET /api/v1/users/{username}/activities/feeds and GET /api/v1/users/{username}/heatmap. The ordinary user-information endpoint and the web/RSS profile routes correctly return 404 to the same viewer.

Details

The feed and heatmap API handlers do not apply the profile-visibility check that treats a restricted viewer like an anonymous one for Limited owners.

Impact

Confidentiality only. Exposed data can include repository names, push and commit events, full commit-message content, issue and pull request events, and contribution timestamps for any Limited-visibility user with qualifying public-repository activity.

Affected versions

Gitea <= 1.27.2.

Patches

Fixed in Gitea 1.27.3 (#39004, #39039).

Workarounds

None. Upgrade to 1.27.3.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2026-67577

Weaknesses

No CWEs

Credits