CVE-2026-27771 exposes a fundamental architectural flaw in Gitea's Composer integration: the metadata endpoint returns source links without verifying that the requester has access to the underlying repository. For private Composer packages hosted on Gitea, this means anyone who can reach the API can enumerate internal package names and retrieve repository URLs — effectively mapping your entire internal package topology without authentication.
This is not merely an information disclosure. The exposed source links reveal internal repository URLs that often encode authentication patterns, project naming conventions that expose technology stacks, and the relationships between packages that attackers need to plan supply chain operations. The EPSS score of 0.43 signals that automated discovery of this exposure is straightforward — there's no complex chain required, just an unauthenticated API call that should have required the same permissions as the download itself.
The deeper problem is that Gitea's Composer integration was built on assumptions borrowed from public registries like Packagist, where metadata is intentionally public and protection applies only to the package archives. Private code hosting inverts this model: metadata is often more sensitive than the artifacts themselves because it reveals infrastructure topology. Gitea appears to have never audited whether this permission model transition was appropriate when Composer support was added.
Check your deployment immediately: any Gitea instance hosting private Composer packages should be considered affected until proven otherwise. Review your Composer repository configuration and monitor API logs for unexpected metadata requests. The fix likely adds a permission check to the metadata endpoint, but this should prompt a broader audit — other package ecosystems (npm, PyPI) integrated into Gitea may share the same architectural assumption about metadata access being lower-privilege than download. The blast radius of this vulnerability depends heavily on how tightly Gitea is integrated into your build pipelines: instances connected to CI/CD systems become reconnaissance platforms for artifact poisoning attacks, not just information leaks.