An insufficient authorization issue exists in the LFS server where the system uses the `UserID` embedded in an LFS JWT to make cross-repository authorization decisions via the `LFSObjectAccessible()` function. When a deploy key is used for authentication, the system incorrectly sets the `UserID` to the repository owner's ID instead of an identity representing the deploy key. This allows an attacker with a write deploy key for any single repository owned by a victim to obtain a JWT that impersonates the victim. Consequently, the attacker can exfiltrate LFS objects from any private repository the victim owns, provided the attacker knows the SHA-256 OID of the target object. If the victim is a site administrator, all LFS objects on the Gitea instance may be accessible. The issue is reachable via the SSH `git-lfs-authenticate` command and the HTTP LFS batch API endpoint `/info/lfs/objects/batch` when `LFS START SERVER` is enabled.