PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-97859 Gitea CVE debrief

An authenticated user could read the followers, following list, starred and watched repositories and public SSH and GPG keys of a user with limited or private visibility, whom they could not otherwise see. This issue was caused by seven Gitea API routes under `/api/v1/users/{username}` being registered without the `individualPermsChecker` middleware that enforces the visibility of the target user. The affected routes include followers, following, following/{target}, starred, subscriptions, keys, and gpg_keys.

Vendor
Gitea
Product
Unknown
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-18
Original CVE updated
2026-10-19
Advisory published
2026-10-18
Advisory updated
2026-10-19

Who should care

Gitea administrators and users with limited or private visibility should assess exposure and potential unauthorized access. This includes reviewing the security of their Gitea instances, verifying the exposure of sensitive user data, and taking steps to prevent unauthorized access. Additionally, security teams and vulnerability management teams should be aware of the potential risks and take steps to mitigate them.

Why it matters

Defenders should prioritize verifying exposure of Gitea instances to authenticated users and assess the impact of potential unauthorized access to user social graphs, keys, and stars.

  • Potential unauthorized access to user social graphs
  • Exposure of private user keys and stars
  • Increased risk of targeted attacks on Gitea users
  • Need for verification of Gitea instance security

Technical summary

Seven Gitea API routes under `/api/v1/users/{username}` were registered without the `individualPermsChecker` middleware, allowing authenticated users to read private user social graphs, keys, and stars. The affected routes include followers, following, following/{target}, starred, subscriptions, keys, and gpg_keys. This issue was fixed in Gitea versions 1.27.3 and 28.0.0, and defenders should prioritize verifying exposure of Gitea instances to authenticated users and assess the impact of potential unauthorized access to user social graphs, keys, and stars.

Defensive priority

Defenders should prioritize verifying exposure of Gitea instances to authenticated users and assess the impact of potential unauthorized access to user social graphs, keys, and stars.

Recommended defensive actions

  • Verify Gitea instance exposure to authenticated users
  • Assess potential unauthorized access to user social graphs, keys, and stars
  • Update Gitea to version 1.27.3 or 28.0.0
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the affected Gitea API routes and the fixed versions. The issue was fixed in Gitea versions 1.27.3 and 28.0.0. The CVE record was published on 2026-10-18T19:01:04.328Z and has not been modified since then. There are references to vendor advisories and patch details on GitHub, which can provide additional context.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-97859 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-97859

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-97859 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-97859

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Gitea API disclosure of private user social graph, keys and stars

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/97xxx/CVE-2026-97859.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/security/advisories/GHSA-xvfh-qwmh-f92w

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/39004

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/pull/39039

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://blog.gitea.com/release-of-28.2.0/

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://github.com/go-gitea/gitea/releases/tag/v28.2.0

    Supplemental source - release-notes

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.